/* ============================================================
   FindUrCollege — GDPR/CCPA cookie consent banner
   v1.0 (2026-04-29)
   - Fixed bottom banner, two buttons (Accept / Reject)
   - Hidden once choice is recorded in localStorage
   - Pairs with consent-banner.js + the gtag('consent','default',…) snippet
   ============================================================ */

#fc-consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9990;
  max-width: 720px;
  margin: 0 auto;
  background: #0c1a3a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  padding: 1rem 1.1rem;
  display: none;
  flex-direction: column;
  gap: .75rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: .85rem;
  line-height: 1.5;
}
#fc-consent-banner.show { display: flex; }

#fc-consent-banner p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
}
#fc-consent-banner a {
  color: #fbbf24;
  text-decoration: underline;
}

#fc-consent-actions {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.fc-consent-btn {
  flex: 0 0 auto;
  padding: .55rem 1.1rem;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: background .15s, color .15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 40px;
}
.fc-consent-btn--reject {
  background: transparent;
  color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .35);
}
.fc-consent-btn--reject:hover,
.fc-consent-btn--reject:focus-visible {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  outline: none;
}
.fc-consent-btn--accept {
  background: #f59e0b;
  color: #0c1a3a;
}
.fc-consent-btn--accept:hover,
.fc-consent-btn--accept:focus-visible {
  background: #fbbf24;
  outline: none;
}

@media (min-width: 720px) {
  #fc-consent-banner {
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.4rem;
  }
  #fc-consent-banner p { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .fc-consent-btn { transition: none; }
}
