/* Cookie consent banner. Separate file because the support and privacy pages
   carry their own inline styles and do not load app.css. */

.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 80;
  width: min(100% - 40px, 380px);
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(12, 14, 18, .94);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  color: #eef2f4;
  font: 400 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.consent.show { opacity: 1; transform: none; pointer-events: auto; }
.consent p { margin: 0 0 16px; color: #a6b0b8; }
.consent a { color: #3ff0b2; }
.consent-actions { display: flex; gap: 10px; }
.consent-actions .btn { flex: 1; justify-content: center; padding: 10px 14px; font-size: 14px; }

/* The subpages do not load app.css, so the buttons need their own look here. */
.consent-actions button {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; font-family: inherit;
  transition: transform .18s ease, box-shadow .25s ease;
}
.consent-actions button:hover { transform: translateY(-1px); }
.consent-actions .btn-primary { background: linear-gradient(135deg, #3ff0b2, #16c98e); color: #04120d; }
.consent-actions .btn-ghost { border-color: rgba(255,255,255,.16); color: #eef2f4; background: rgba(255,255,255,.04); }

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