﻿/* Consent UI: scoped, equal-weight choices and native accessible modal. */
.cookie-banner[hidden] { display: none; }
.cookie-banner, .cookie-dialog {
  color: #e9edf7;
  background: linear-gradient(135deg, #101b30, #070a11);
  border: 1px solid rgba(0,207,255,.3);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 60px rgba(0,0,0,.55);
  font-family: "Segoe UI", Arial, sans-serif;
}
.cookie-banner {
  position: fixed;
  z-index: 2000;
  inset: auto 20px 20px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.cookie-banner h2, .cookie-dialog h2 { font-size: 22px; letter-spacing: -.4px; margin-bottom: 12px; }
.cookie-banner p, .cookie-dialog p { font-size: 14px; line-height: 1.7; color: #b3bfd2; }
.cookie-banner a, .cookie-dialog a { color: #62caff; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie-banner .cookie-actions { flex-shrink: 0; margin-top: 0; }
.cookie-actions button {
  border: 1px solid rgba(0,207,255,.45);
  border-radius: 8px;
  background: #0b1b34;
  color: white;
  font: inherit;
  font-size: 13px;
  padding: 12px 16px;
  min-height: 44px;
  transition: background 200ms ease, border-color 200ms ease;
}
.cookie-actions button:hover { background: #11366a; border-color: #00cfff; }
.cookie-dialog { margin: auto; width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; }
.cookie-dialog::backdrop { background: rgba(0,0,0,.75); }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid #23344e; }
.cookie-category small { display: block; color: #a9b6cc; font-size: 13px; margin-top: 6px; }
.cookie-category input { flex: 0 0 22px; width: 22px; height: 22px; accent-color: #00cfff; }
.cookie-settings-footer { padding: 24px; text-align: center; background: #080b12; }
.cookie-settings-footer a { color: #9aa6ba; font-size: 13px; }
@media (max-width: 1000px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 18px; }
  .cookie-banner .cookie-actions { flex-shrink: 1; }
}
@media (max-width: 600px) {
  .cookie-banner { inset: auto 12px 12px; padding: 20px; max-height: calc(100dvh - 24px); }
  .cookie-actions button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .cookie-actions button { transition: none; } }
