/* Cookie consent banner — brand tokens from site.css (Deep Teal structure, equal Accept/Decline buttons). */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: none;
  max-width: 960px;
  margin: 0 auto;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #E9ECEF);
  border-top: 4px solid var(--teal, #005B6A);
  border-radius: var(--radius-card, 12px);
  box-shadow: 0 12px 40px rgba(0, 70, 82, 0.18);
  padding: 20px 24px;
  animation: cc-up 0.25s ease-out;
}
.cookie-consent.show { display: block; }

@keyframes cc-up {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.cookie-consent-content {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cookie-consent-text {
  flex: 1;
  font: 400 15px/1.55 var(--font-body, "Inter", sans-serif);
  color: var(--charcoal, #333);
}
.cookie-consent-text strong {
  font-family: var(--font-head, "Poppins", sans-serif);
  font-weight: 600;
  color: var(--charcoal, #333);
}
.cookie-consent-text a { color: var(--teal, #005B6A); white-space: nowrap; }

.cookie-consent-buttons { display: flex; gap: 12px; flex: none; }

/* Accept and Decline look the same on purpose: refusing must be as easy as accepting (GDPR). */
.cookie-btn {
  min-width: 120px;
  background: var(--teal, #005B6A);
  color: #fff;
}
.cookie-btn:hover { background: var(--teal-hover, #1A6B79); }
.cookie-btn:active { background: var(--teal-dark, #004652); }

@media (max-width: 767px) {
  .cookie-consent { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .cookie-consent-content { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-consent-buttons .cookie-btn { flex: 1; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent { animation: none; }
}
