/* ============================================================
   CONSENT.CSS — Cookie banner + "Cookie settings" footer link
   ============================================================ */

.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10000;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-secondary);
  color: var(--text-color);
  border: 1px solid rgba(6, 41, 67, 0.12);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(6, 41, 67, 0.18);
  font-family: var(--font-primary);
}

.consent-banner[hidden] {
  display: none;
}

.consent-text {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.consent-text a {
  color: var(--dark-blue);
  font-weight: 600;
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Both buttons share one style so neither choice is visually favoured */
.consent-btn {
  min-width: 110px;
  padding: 10px 20px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--bg-secondary);
  background: var(--dark-blue);
  border: 2px solid var(--dark-blue);
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.consent-btn:hover {
  opacity: 0.85;
}

.consent-btn:focus-visible {
  outline: 3px solid var(--confirm-green);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .consent-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 14px;
  }

  .consent-actions .consent-btn {
    flex: 1;
    min-width: 0;
  }
}

/* Footer "Cookie settings" — styled like the neighbouring .footer-links a */
.cookie-settings-link {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  color: rgba(245, 240, 221, 0.6);
  cursor: pointer;
  transition: color 0.3s ease;
}

.cookie-settings-link:hover {
  color: white;
}
