.cc-lock {
  overflow: hidden;
}

.cc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 17, 45, 0.55);
  z-index: 9997;
}

.cc-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
}

.cc-banner[hidden],
.cc-modal[hidden],
.cc-backdrop[hidden] {
  display: none !important;
}

.cc-banner-inner,
.cc-modal-box {
  background: #ffffff;
  border: 1px solid rgba(14, 31, 83, 0.14);
  box-shadow: 0 24px 60px rgba(14, 31, 83, 0.18);
}

.cc-banner-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.cc-banner-copy {
  max-width: 760px;
}

.cc-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4000;
}

.cc-banner h2,
.cc-modal h2 {
  margin: 0 0 12px;
  color: #0e1f53;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.cc-banner p,
.cc-modal p,
.cc-option small,
.cc-status {
  margin: 0;
  color: #334155;
  line-height: 1.65;
}

.cc-banner-note {
  margin-top: 12px !important;
}

.cc-banner-actions,
.cc-modal-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cc-banner-actions {
  justify-content: flex-start;
  padding-top: 6px;
  border-top: 1px solid rgba(14, 31, 83, 0.08);
}

.cc-banner-actions .btn,
.cc-modal-actions .btn {
  min-width: 190px;
  justify-content: center;
}

.cc-banner-actions .btn {
  min-width: 210px;
}

.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cc-modal-box {
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.cc-modal-head,
.cc-modal-actions {
  padding: 24px 28px;
}

.cc-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(14, 31, 83, 0.12);
}

.cc-modal-body {
  padding: 28px;
}

.cc-intro {
  margin-bottom: 20px !important;
}

.cc-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(14, 31, 83, 0.08);
}

.cc-option:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.cc-option-copy {
  display: grid;
  gap: 6px;
}

.cc-option-copy strong {
  color: #0e1f53;
  font-size: 18px;
}

.cc-status {
  font-weight: 700;
  color: #0e1f53;
}

.cc-switch {
  position: relative;
  width: 62px;
  height: 34px;
  display: inline-flex;
  align-items: center;
}

.cc-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.cc-switch span {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  transition: 0.2s ease;
}

.cc-switch span::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 26px;
  height: 26px;
  background: #ffffff;
  transition: 0.2s ease;
}

.cc-switch input:checked + span {
  background: #0e1f53;
}

.cc-switch input:checked + span::after {
  transform: translateX(28px);
}

.cc-legal {
  margin-top: 18px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(14, 31, 83, 0.08);
  font-size: 14px;
}

.cc-close {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(14, 31, 83, 0.12);
  background: #ffffff;
  color: #0e1f53;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .cc-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cc-banner-inner {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }

  .cc-banner-actions,
  .cc-modal-actions {
    justify-content: stretch;
  }

  .cc-banner-actions .btn,
  .cc-modal-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .cc-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .cc-modal-box {
    max-height: calc(100vh - 24px);
  }

  .cc-modal-head,
  .cc-modal-body,
  .cc-modal-actions {
    padding: 20px;
  }

  .cc-option {
    grid-template-columns: 1fr;
  }
}


.cc-banner-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cc-banner-inner,
.cc-modal-box {
  position: relative;
}

.cc-banner h2 {
  max-width: 720px;
}

.cc-banner p {
  max-width: 760px;
}

@media (max-width: 720px) {
  .cc-banner-inner {
    padding: 22px 18px;
    gap: 18px;
  }

  .cc-banner-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cc-banner-actions .btn {
    width: 100%;
    min-width: 0;
  }
}