:root {
  --consent-bg: rgba(15, 23, 42, 0.94);
  --consent-panel: #ffffff;
  --consent-text: #e5edf7;
  --consent-body: #1f2937;
  --consent-border: rgba(148, 163, 184, 0.26);
  --consent-accent: #c9a33a;
  --consent-accent-dark: #9d7a1f;
}
.af-consent-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(32rem, calc(100vw - 2rem));
  background: var(--consent-bg);
  color: var(--consent-text);
  border: 1px solid var(--consent-border);
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.32);
  padding: 1rem;
  z-index: 5000;
  font-family: Figtree, system-ui, sans-serif;
}
.af-consent-banner h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #fff;
}
.af-consent-banner p {
  margin: 0 0 0.85rem;
  line-height: 1.5;
  font-size: 0.95rem;
}
.af-consent-actions,
.af-consent-preferences-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.af-consent-button {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
  cursor: pointer;
}
.af-consent-button.primary {
  background: var(--consent-accent);
  color: #11213d;
  font-weight: 700;
}
.af-consent-button.secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.af-consent-button.link {
  background: transparent;
  color: #fff;
  text-decoration: underline;
  padding-left: 0;
}
.af-consent-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 5001;
}
.af-consent-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(40rem, calc(100vw - 2rem));
  background: var(--consent-panel);
  color: var(--consent-body);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
  padding: 1.25rem;
  z-index: 5002;
  font-family: Figtree, system-ui, sans-serif;
}
.af-consent-option {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}
.af-consent-option:first-of-type {
  border-top: 0;
}
.af-consent-option input {
  margin-top: 0.25rem;
}
.af-consent-option strong {
  display: block;
  margin-bottom: 0.15rem;
}
.af-consent-option p {
  margin: 0;
  color: #475569;
}
.af-consent-hidden {
  display: none !important;
}
@media (max-width: 640px) {
  .af-consent-banner {
    left: 1rem;
    right: 1rem;
    width: auto;
  }
}
