.cookie-consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10050;
  display: none;
}

.cookie-consent-banner.is-visible {
  display: block;
}

.cookie-consent-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

body.dark .cookie-consent-card {
  background: rgba(17, 24, 39, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.cookie-consent-actions .btn {
  white-space: nowrap;
}

.cookie-consent-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 10060;
  padding: 20px;
}

.cookie-consent-modal.is-visible {
  display: block;
}

.cookie-consent-modal__dialog {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  max-width: 640px;
  margin: 6vh auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

body.dark .cookie-consent-modal__dialog {
  background: rgba(17, 24, 39, 0.98);
  color: #ffffff;
}

.cookie-consent-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.dark .cookie-consent-option {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.cookie-consent-option:last-child {
  border-bottom: 0;
}

.cookie-consent-hint {
  font-size: 0.9rem;
  opacity: 0.75;
}

@media (max-width: 640px) {
  .cookie-consent-card {
    padding: 14px;
  }

  .cookie-consent-modal__dialog {
    margin: 10vh auto;
    padding: 18px;
  }
}
