/* Regional privacy / consent UI — compact bottom bar */

.consent-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 10030;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

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

.consent-banner-inner {
  pointer-events: auto;
  max-width: 560px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(11, 18, 21, 0.16);
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: space-between;
}

.consent-banner-copy {
  flex: 1 1 220px;
  min-width: 0;
}

.consent-banner-title {
  margin: 0 0 2px;
  font-weight: 650;
  color: #0B1215;
  font-size: 0.875rem;
  line-height: 1.3;
}

.consent-banner-body {
  margin: 0;
  color: #2a3f46;
  font-size: 0.75rem;
  line-height: 1.4;
  max-width: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.consent-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex: 0 1 auto;
}

.consent-banner-actions .button {
  min-height: 36px;
  padding: 6px 12px !important;
  font-size: 0.8125rem !important;
  margin: 0 !important;
  border-radius: 8px;
}

.consent-banner-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #000055;
  text-decoration: underline;
  white-space: nowrap;
}

.consent-checks {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.consent-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  color: #1c2e34;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8fafc;
  color: #013e37;
  border: 1px solid #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.legal-callout {
  background: #f8fafc;
  border-left: 4px solid #000055;
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin: 16px 0;
  color: #1c2e34;
  font-size: 0.95rem;
  line-height: 1.55;
}

.legal-callout.legal-callout-warn {
  border-left-color: #013e37;
  background: rgba(1, 62, 55, 0.08);
}

@media (max-width: 900px) {
  .consent-banner {
    left: 10px;
    right: 10px;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .consent-banner-inner {
    max-width: none;
    padding: 10px 12px;
    gap: 8px 10px;
  }

  .consent-banner-actions {
    width: 100%;
  }

  .consent-banner-actions .button {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .consent-banner-body {
    -webkit-line-clamp: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner {
    backdrop-filter: none;
  }
}
