.consent-banner,
.consent-modal {
  font-family: "Mulish", sans-serif;
}

.consent-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 9999;
}

.consent-banner__inner {
  display: grid;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  background: rgba(12, 18, 27, 0.96);
  color: #f7f3ec;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.consent-banner__title,
.consent-modal__header h3 {
  margin: 0 0 0.4rem;
  font-family: "Chakra Petch", sans-serif;
}

.consent-banner__description,
.consent-option__description {
  color: rgba(247, 243, 236, 0.78);
}

.consent-banner__links,
.consent-modal__eyebrow {
  font-size: 0.9rem;
  color: #ffa559;
}

.consent-banner__links a {
  color: inherit;
}

.consent-banner__actions,
.consent-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.consent-button {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #f7f3ec;
  cursor: pointer;
}

.consent-button--primary {
  background: linear-gradient(135deg, #ff7f32, #ffb86d);
  color: #1d120a;
  border-color: transparent;
}

.consent-button--ghost {
  color: #ffb86d;
}

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.consent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 18, 0.68);
}

.consent-modal__dialog {
  position: relative;
  width: min(42rem, calc(100vw - 2rem));
  margin: 8vh auto;
  padding: 1.2rem;
  border-radius: 1.4rem;
  background: #101724;
  color: #f7f3ec;
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.42);
}

.consent-modal__header,
.consent-option {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.consent-modal__body {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 1.2rem;
}

.consent-option {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.consent-modal__close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.8rem;
  cursor: pointer;
}

.consent-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.consent-switch input {
  accent-color: #ff8b3d;
}

@media (max-width: 720px) {
  .consent-banner {
    inset: auto 0.75rem 0.75rem 0.75rem;
  }

  .consent-modal__dialog {
    margin: 5vh auto;
  }

  .consent-modal__header,
  .consent-option {
    flex-direction: column;
  }
}
