/* Cookie consent banner — relies on color tokens defined in styles.css */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding: 18px clamp(20px, 5vw, 48px);
  background: var(--navy-deep);
  color: rgba(244, 241, 236, 0.92);
  border-top: 1px solid rgba(244, 241, 236, 0.14);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.22);
  transform: translateY(100%);
  transition: transform 0.28s ease;
}

.cookie-banner[aria-hidden="false"] {
  transform: translateY(0);
}

.cookie-banner__title {
  margin: 0;
  flex: 0 0 100%;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 420px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(244, 241, 236, 0.82);
}

.cookie-banner__text a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-button {
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid rgba(244, 241, 236, 0.4);
  background: transparent;
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cookie-button:hover {
  border-color: rgba(244, 241, 236, 0.75);
}

.cookie-button--primary {
  border-color: var(--coral);
  background: var(--coral);
}

.cookie-button--primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 16px 20px 20px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-button {
    flex: 1 1 auto;
    text-align: center;
  }
}
