/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #111827;
  color: #fff;
  padding: 1rem;
  display: none;
}

.cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.cookie-banner__text {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.cookie-modal__dialog {
  background: #fff;
  color: #111827;
  width: 100%;
  max-width: 520px;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cookie-modal__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.cookie-modal__section {
  margin-bottom: 0.75rem;
}

.cookie-modal__desc {
  margin: 0.25rem 0 0.5rem;
  color: #4b5563;
}

.cookie-modal__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-toggle.disabled {
  opacity: 0.7;
}

.cookie-banner .btn {
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
}

.cookie-banner .btn-secondary {
  background: #ffffff;
  color: #374151;
  border-color: #d1d5db;
}

.cookie-banner .btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: #e5e7eb;
}

.cookie-banner .btn-link {
  background: transparent;
  color: #9ca3af;
  text-decoration: underline;
}

/* Use default button styles from app.css inside modal; no overrides */

@media (max-width: 640px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
  }
}