.cc-banner,
.cc-modal { font-family: 'Archivo', system-ui, sans-serif; }

/* ---------- Bottom banner ---------- */
.cc-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 120;
  width: min(720px, calc(100% - 32px));
  background: #0B1430;
  border: 1px solid rgba(44, 182, 245, 0.28);
  border-radius: 2px;
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.8);
  padding: 24px 24px 20px;
  color: #EAF1FC;
}
.cc-banner h2 { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.cc-banner p { font-size: 13.5px; line-height: 1.55; color: #B3C0DD; font-weight: 400; }
.cc-banner a { color: #9FD9F7; font-weight: 500; text-decoration: underline; }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cc-actions .cc-btn { flex: 1 1 auto; }

.cc-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 12px 18px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.cc-btn:hover { transform: translateY(-1px); }
.cc-btn--accept { background: #2CB6F5; color: #060A18; }
.cc-btn--reject { background: transparent; color: #EAF1FC; border-color: rgba(236, 242, 252, 0.28); }
.cc-btn--settings { background: transparent; color: #A9B6D6; border-color: rgba(236, 242, 252, 0.18); }
.cc-btn--reject:hover,
.cc-btn--settings:hover { border-color: #2CB6F5; color: #EAF1FC; }

/* ---------- Preferences modal ---------- */
.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  background: rgba(4, 7, 16, 0.86);
  backdrop-filter: blur(10px);
}
.cc-dialog {
  width: 100%;
  max-width: 560px;
  max-height: 86vh;
  overflow-y: auto;
  background: #0B1430;
  border: 1px solid rgba(44, 182, 245, 0.28);
  border-radius: 2px;
  padding: 30px 30px 26px;
  color: #EAF1FC;
}
.cc-dialog h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.cc-dialog .cc-intro { font-size: 13.5px; line-height: 1.55; color: #B3C0DD; margin-bottom: 22px; }

.cc-cat {
  border: 1px solid rgba(236, 242, 252, 0.1);
  border-radius: 2px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cc-cat-head h3 { font-size: 14px; font-weight: 600; }
.cc-cat p { font-size: 12.5px; line-height: 1.5; color: #8B98B8; margin-top: 8px; }

.cc-switch { position: relative; width: 44px; height: 24px; flex: 0 0 auto; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-track {
  position: absolute;
  inset: 0;
  background: rgba(236, 242, 252, 0.18);
  border-radius: 999px;
  transition: background .2s;
}
.cc-track::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #EAF1FC;
  border-radius: 50%;
  transition: transform .2s;
}
.cc-switch input:checked + .cc-track { background: #2CB6F5; }
.cc-switch input:checked + .cc-track::after { transform: translateX(20px); }
.cc-switch input:disabled + .cc-track { opacity: .55; cursor: not-allowed; }

.cc-dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.cc-dialog-actions .cc-btn { flex: 1 1 auto; }

@media (max-width: 520px) {
  .cc-banner { bottom: 0; border-radius: 2px 2px 0 0; width: 100%; }
  .cc-actions { flex-direction: column; }
  .cc-actions .cc-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-btn, .cc-track, .cc-track::after { transition: none; }
}
