/* Cookie Consent Banner — GDPR Compliance */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--color-bg-paper, #ffffff);
  border-top: 1px solid var(--color-border, #e5e7eb);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 16px 24px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.cookie-consent-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-consent-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-secondary, #6b7280);
  flex: 1 1 300px;
  text-align: center;
}

.cookie-consent-text a {
  color: var(--color-primary, #2563eb);
  text-decoration: underline;
}

.cookie-consent-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Equal visual prominence for Accept and Decline — GDPR/CNIL requirement */
/* Both buttons are intentionally identical in style; only the label text differs */
.cookie-consent-btn {
  padding: 8px 24px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid var(--color-primary, #2563eb);
  background: var(--color-primary, #2563eb);
  color: #ffffff;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1.4;
}

.cookie-consent-btn:hover {
  background: var(--color-primary-dark, #1e40af);
  border-color: var(--color-primary-dark, #1e40af);
}

/* Responsive: stack buttons on mobile */
@media (max-width: 480px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .cookie-consent-text {
    flex: none;
  }

  .cookie-consent-buttons {
    width: 100%;
    justify-content: center;
  }

  .cookie-consent-btn {
    flex: 1;
    min-width: 0;
  }
}
