/* Cookie consent banner — necessary vs analytics */

.cookie-consent__banner,
.cookie-consent__settings {
  position: fixed;
  z-index: 1200;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(28, 28, 30, 0.96);
  color: #f5f5f7;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
}

.cookie-consent__inner {
  max-width: 56rem;
  margin: 0 auto;
}

.cookie-consent__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: inherit;
}

.cookie-consent__text {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(245, 245, 247, 0.92);
}

.cookie-consent__text a {
  color: #9ec5ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
  color: #c8dcff;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.cookie-consent__btn {
  min-width: 10.5rem;
  justify-content: center;
}

.cookie-consent__banner .btn-outline,
.cookie-consent__settings .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #f5f5f7;
  background: transparent;
}

.cookie-consent__banner .btn-outline:hover,
.cookie-consent__settings .btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cookie-consent__banner .btn:not(.btn-outline),
.cookie-consent__settings .btn:not(.btn-outline) {
  background: #f5f5f7;
  color: #1c1c1e;
  border-color: #f5f5f7;
}

@media (max-width: 640px) {
  .cookie-consent__btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
  }
}
