#cookie-consent-root {
  position: relative;
  z-index: 60;
}

.cc-banner,
.cc-modal {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
}

.cc-banner__content {
  width: min(100%, 1120px);
  margin: 0 auto;
  background: #0f1b34;
  color: #d7deea;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(12, 18, 32, 0.35);
  padding: 18px;
}

.cc-title {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1.1rem;
}

.cc-copy {
  margin: 0;
  color: #d7deea;
  line-height: 1.5;
  font-size: 0.95rem;
}

.cc-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.cc-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cc-btn:hover {
  transform: translateY(-1px);
}

.cc-btn--primary {
  background: linear-gradient(120deg, #6b5bff, #7d6bff);
  color: #0b0f1a;
}

.cc-btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.cc-btn--ghost {
  background: transparent;
  color: #d7deea;
  border-color: rgba(255, 255, 255, 0.2);
}

.cc-modal {
  position: fixed;
  inset: 0;
}

.cc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 20, 0.65);
}

.cc-modal__dialog {
  position: relative;
  width: min(94vw, 600px);
  margin: 8vh auto 0;
  background: #111d38;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(5, 10, 24, 0.45);
  color: #d7deea;
  padding: 20px;
}

.cc-modal__title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.25rem;
}

.cc-modal__copy {
  margin: 0 0 14px;
  line-height: 1.55;
  font-size: 0.95rem;
}

.cc-modal__copy a {
  color: #c8c2ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.cc-toggle-row strong {
  color: #ffffff;
}

.cc-toggle-row p {
  margin: 4px 0 0;
  font-size: 0.9rem;
}

.cc-switch {
  position: relative;
  width: 52px;
  height: 30px;
  flex: 0 0 auto;
}

.cc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cc-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.2s ease;
}

.cc-slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s ease;
}

.cc-switch input:checked + .cc-slider {
  background: #7d6bff;
}

.cc-switch input:checked + .cc-slider::before {
  transform: translateX(22px);
}

.cc-switch input:disabled + .cc-slider {
  opacity: 0.75;
}

.cc-modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.cc-modal-open {
  overflow: hidden;
}

a[data-cookie-settings] {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 680px) {
  .cc-banner {
    padding: 12px;
  }

  .cc-banner__content {
    border-radius: 16px;
    padding: 14px;
  }

  .cc-actions,
  .cc-modal__actions {
    flex-direction: column;
  }

  .cc-btn {
    width: 100%;
    text-align: center;
  }

  .cc-modal__dialog {
    margin-top: 4vh;
    padding: 16px;
  }

  .cc-toggle-row {
    align-items: flex-start;
  }
}
