/* KartiTaro — cookie consent banner + privacy settings panel */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12000;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(12, 8, 24, 0.35));
  pointer-events: none;
}

.cookie-consent-inner {
  pointer-events: auto;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(28, 22, 48, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  color: #f4f0ff;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent-text {
  margin: 0 0 14px;
}

.cookie-consent-link {
  color: #c9b8ff;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.cookie-consent-btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
}

.cookie-consent-btn--primary {
  background: #8b5cf6;
  color: #fff;
}

.cookie-consent-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f4f0ff;
}

.cookie-consent-settings-link {
  appearance: none;
  background: none;
  border: none;
  color: #c9b8ff;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.cookie-consent-settings {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cookie-consent-settings[hidden] {
  display: none !important;
}

.cookie-consent-settings-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 16, 0.55);
}

.cookie-consent-settings-dialog {
  position: relative;
  width: min(100%, 420px);
  padding: 22px 20px;
  border-radius: 16px;
  background: #1c1630;
  color: #f4f0ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-consent-settings-title {
  margin: 0 0 16px;
  font-size: 18px;
}

.cookie-consent-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  cursor: pointer;
}

.cookie-consent-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

body.cookie-consent-visible {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Inline consent gate (chat / booking) */
.consent-inline-gate {
  margin: 12px 0;
  padding: 14px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  font-size: 14px;
  line-height: 1.45;
}

.consent-inline-gate .consent-inline-policy {
  margin: 0 0 10px;
}

.consent-inline-gate .consent-inline-policy a {
  font-size: 13px;
}

.consent-inline-gate label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}

.consent-inline-gate .consent-inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
