/* Cookie consent banner */
.cookie-consent-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
  animation: cookieConsentFadeIn 0.24s ease-out;
}

@keyframes cookieConsentFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-consent-content {
  width: min(720px, 100%);
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3);
  padding: 18px 20px;
  pointer-events: auto;
  backdrop-filter: blur(16px);
}

.cookie-consent-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.cookie-consent-description {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.92);
}

.cookie-consent-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}

.cookie-consent-btn-primary,
.cookie-consent-btn-secondary {
  appearance: none;
  border: none;
  border-radius: 9999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease,
    background-color 0.15s ease;
}

.cookie-consent-btn-primary {
  background: #38bdf8;
  color: #082f49;
}

.cookie-consent-btn-primary:hover {
  transform: translateY(-1px);
  background: #67e8f9;
}

.cookie-consent-btn-secondary {
  background: rgba(51, 65, 85, 0.9);
  color: #e2e8f0;
}

.cookie-consent-btn-secondary:hover {
  transform: translateY(-1px);
  background: rgba(71, 85, 105, 0.95);
}

@media (max-width: 640px) {
  .cookie-consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-consent-buttons {
    flex-direction: column-reverse;
  }
}
