/* cc-consent banner — first-party, self-contained. No @import, no external refs. */

/* Full-viewport backdrop that centers the dialog and blocks the page until the
   visitor chooses. */
#cc-consent-banner {
  position: fixed;
  inset: 0;
  z-index: 2147483000; /* above almost everything */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 10, 14, 0.62);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#cc-consent-banner * { box-sizing: border-box; }

/* The centered card. */
#cc-consent-banner .cc-inner {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 26px 24px;
  border-radius: 16px;
  color: #f5f5f5;
  background: #16181d;
  border: 1px solid #2c313b;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
#cc-consent-banner .cc-copy { }
#cc-consent-banner .cc-title { margin: 0 0 6px; font-weight: 600; font-size: 17px; }
#cc-consent-banner .cc-body { margin: 0; color: #c7ccd6; }
#cc-consent-banner .cc-link { color: #7ab8ff; text-decoration: underline; }

#cc-consent-banner .cc-actions {
  display: flex;
  gap: 12px;
}
#cc-consent-banner .cc-btn {
  flex: 1 1 0;
  cursor: pointer;
  border-radius: 9px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.1;
  text-align: center;
  /* Accept and reject share one neutral treatment so neither is a dark-pattern
     "preferred" button. Accept sits first (left). */
  color: #e9ecf2;
  background: #262b33;
  border: 1px solid #3a414c;
}
#cc-consent-banner .cc-accept { background: #2f353f; border-color: #4b5563; }
#cc-consent-banner .cc-accept:hover { background: #363d48; }
#cc-consent-banner .cc-reject { background: #21262e; border-color: #3a414c; }
#cc-consent-banner .cc-reject:hover { background: #272d36; }

@media (prefers-color-scheme: light) {
  #cc-consent-banner .cc-inner {
    color: #1a1d23;
    background: #ffffff;
    border: 1px solid #e2e5ea;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  }
  #cc-consent-banner .cc-body { color: #444a54; }
  #cc-consent-banner .cc-link { color: #1a5fd0; }
  #cc-consent-banner .cc-btn { color: #1f2430; background: #eef0f3; border-color: #cfd3da; }
  #cc-consent-banner .cc-accept { background: #e4e7ec; border-color: #b9bfc9; }
  #cc-consent-banner .cc-accept:hover { background: #d9dde3; }
  #cc-consent-banner .cc-reject { background: #f2f4f6; border-color: #d3d7de; }
  #cc-consent-banner .cc-reject:hover { background: #e9ebef; }
}

@media (max-width: 480px) {
  #cc-consent-banner .cc-actions { flex-direction: column; }
}

/* persistent "Your Privacy Choices" control (CCPA Do-Not-Share) — shown
   after a choice has been made so it can be revisited. */
#cc-choices-fab {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 2147482000;
  cursor: pointer;
  border: 1px solid rgba(120, 128, 140, 0.5);
  border-radius: 6px;
  padding: 6px 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
  color: #cfd3da;
  background: rgba(22, 24, 29, 0.85);
  opacity: 0.7;
}
#cc-choices-fab:hover { opacity: 1; }
@media (prefers-color-scheme: light) {
  #cc-choices-fab { color: #33373f; background: rgba(255, 255, 255, 0.9); }
}
