/* Cookie consent banner + settings dialog, and the signup / consent-page checkboxes. */
.cc[hidden], .cc-modal[hidden] { display: none !important; }

.cc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000;
  background: #fff; color: var(--navy, #0B0B0C);
  border-top: 1px solid var(--line, #EAEAE7); box-shadow: 0 -8px 30px rgba(11,11,12,.12);
  padding: 18px clamp(16px, 3vw, 32px);
}
.cc-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1400px; margin: 0 auto; }
.cc-text { flex: 1 1 auto; min-width: 0; max-width: 980px; }
.cc-title { font-size: 20px; font-weight: 700; margin: 0 0 6px; line-height: 1.2; }
.cc-text p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text, #0B0B0C); }
.cc-text a { color: var(--gold, #E8336E); font-weight: 600; }
.cc-actions { display: flex; gap: 10px; flex: none; }
.cc-actions .btn { min-width: 124px; justify-content: center; }
/* Reject All and Accept All are deliberately the same size and weight. */
.cc-actions .btn-navy { background: var(--navy, #0B0B0C); border-color: var(--navy, #0B0B0C); }
.cc-actions .btn-navy:hover { background: var(--gold, #E8336E); border-color: var(--gold, #E8336E); }

body.cc-open { padding-bottom: var(--cc-h, 0px); }

.cc-modal {
  position: fixed; inset: 0; z-index: 10001; background: rgba(11,11,12,.55);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.cc-dialog {
  background: #fff; color: var(--navy, #0B0B0C); border-radius: 16px; max-width: 560px; width: 100%;
  max-height: calc(100vh - 32px); overflow: auto; padding: 24px; box-shadow: 0 20px 60px rgba(11,11,12,.3);
}
.cc-dialog h2 { font-size: 22px; margin: 0 0 6px; outline: none; }
.cc-dialog > p { margin: 0 0 16px; font-size: 14px; color: var(--muted, #6E6E74); line-height: 1.5; }
.cc-cat { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line, #EAEAE7); }
.cc-cat b { display: block; font-size: 15px; margin-bottom: 3px; }
.cc-cat span.d { font-size: 13px; color: var(--muted, #6E6E74); line-height: 1.45; display: block; }
.cc-switch { position: relative; flex: none; width: 46px; height: 26px; margin-top: 2px; }
.cc-switch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-switch i { position: absolute; inset: 0; border-radius: 26px; background: #C9C9CE; transition: background .15s; pointer-events: none; }
.cc-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.cc-switch input:checked + i { background: var(--ok, #27AE60); }
.cc-switch input:checked + i::after { transform: translateX(20px); }
.cc-switch input:disabled { cursor: not-allowed; }
.cc-switch input:disabled + i { opacity: .6; }
.cc-switch input:focus-visible + i { outline: 2px solid var(--gold, #E8336E); outline-offset: 2px; }
.cc-dialog .cc-foot { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line, #EAEAE7); }
body.cc-modal-open { overflow: hidden; }

.cc-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

@media (max-width: 820px) {
  .cc-in { flex-direction: column; align-items: stretch; gap: 14px; }
  .cc-actions { width: 100%; }
  .cc-actions .btn { flex: 1 1 0; min-width: 0; padding-left: 8px; padding-right: 8px; }
  .cc-title { font-size: 18px; }
  .cc-text p { font-size: 13.5px; }
}

/* ── Consent checkboxes (signup and the "we updated our terms" page) ── */
.consentbox { border: 1px solid var(--line, #EAEAE7); border-radius: 12px; padding: 14px 16px; margin: 18px 0 0; background: var(--cream, #FAFAF9); }
.consentbox legend { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #6E6E74); padding: 0 6px; font-weight: 700; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; padding: 7px 0; cursor: pointer; }
.consent-row input[type=checkbox] { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy, #0B0B0C); }
.consent-row a { color: var(--gold, #E8336E); font-weight: 600; }
.consent-row .opt { color: var(--muted, #6E6E74); font-weight: 400; }
.consent-card { max-width: 640px; margin: 48px auto; padding: 0 16px; }

@media print { .cc, .cc-modal { display: none !important; } body.cc-open { padding-bottom: 0 !important; } }
