/**
 * COOKIE CONSENT BANNER — the small floating box that asks visitors to
 * accept/decline analytics cookies, bottom-left of the page. Used on
 * index.html and partner-program.html. Requires base.css (tokens, .btn)
 * to be linked first.
 *
 * This file only controls how the banner LOOKS. Its show/hide logic and
 * what happens when Accept/Decline is clicked lives in
 * public/js/marketing/cookie-consent.js.
 *
 * EDIT THIS FILE WHEN YOU WANT TO:
 *   - move the banner to a different corner — .cookie-banner's
 *     `left`/`bottom` (on mobile it stretches full-width — see the
 *     @media block below);
 *   - change its background/blur/shadow — .cookie-banner;
 *   - change the Accept/Decline button row — .cookie-actions.
 */

.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 300;
  max-width: 420px;
  background: rgba(10,10,10,.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
[data-theme="light"] .cookie-banner { background: rgba(247,245,242,.96); }
.cookie-banner-in {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
}
.cookie-text-row { display: flex; align-items: flex-start; gap: 12px; }
.cookie-icon { flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.cookie-text { font-size: .86rem; color: var(--text-2); line-height: 1.6; }
.cookie-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; width: 100%; }
.cookie-actions .btn { border: none; cursor: pointer; flex: 1; justify-content: center; }

@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .cookie-banner-in { padding: 18px 20px; }
}
