/* =============================================================================
   COOKIE BANNER
   GDPR / UK PECR compliant: appears until the user accepts or declines, both
   choices remembered via a first-party cookie + localStorage.
   ============================================================================= */

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: #0a1f44;
  color: #fff;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 8px 32px rgba(10, 31, 68, 0.32);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  z-index: 9000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  transform: translateY(120%);
  transition: transform 0.28s ease;
}
.cookie-banner.cookie-banner-visible { transform: translateY(0); }

.cookie-banner__copy {
  flex: 1 1 280px;
  min-width: 0;
}
.cookie-banner__copy strong { color: #c9a961; }
.cookie-banner__copy a {
  color: #e0c47f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
.cookie-banner__btn {
  padding: 9px 18px;
  border-radius: 7px;
  font: inherit;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease;
}
.cookie-banner__btn--accept {
  background: #c9a961;
  color: #0a1f44;
}
.cookie-banner__btn--accept:hover { background: #e0c47f; }
.cookie-banner__btn--decline {
  background: transparent;
  color: rgba(255,255,255,0.78);
  border-color: rgba(255,255,255,0.28);
}
.cookie-banner__btn--decline:hover { background: rgba(255,255,255,0.06); }

@media (max-width: 540px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 14px 14px 0 0;
    padding: 16px;
  }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { flex: 1 1 auto; }
}
