.marketing-consent {
  position: relative;
  z-index: 2147483000;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

.marketing-consent__gtm-frame {
  display: none;
  visibility: hidden;
  width: 0;
  height: 0;
  border: 0;
}

.marketing-consent__panel,
.marketing-consent__settings,
.marketing-consent__no-script {
  box-sizing: border-box;
  color: #f8fafc;
  background: #0f172a;
  border: 1px solid #475569;
  box-shadow: 0 16px 40px rgb(15 23 42 / 35%);
}

.marketing-consent__panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 44rem;
  margin-inline: auto;
  padding: 1.1rem;
  border-radius: 1rem;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.marketing-consent__panel[hidden],
.marketing-consent__settings[hidden] {
  display: none;
}

.marketing-consent__panel strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.marketing-consent__panel p {
  margin: 0.4rem 0;
  color: #e2e8f0;
  line-height: 1.5;
}

.marketing-consent__status {
  font-size: 0.875rem;
}

.marketing-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.9rem 0 0.7rem;
}

.marketing-consent__actions button,
.marketing-consent__settings {
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.7rem;
  color: #f8fafc;
  background: #1e293b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.marketing-consent__actions button:hover,
.marketing-consent__actions button:focus-visible,
.marketing-consent__settings:hover,
.marketing-consent__settings:focus-visible {
  color: #0f172a;
  background: #f8fafc;
  outline: 3px solid #38bdf8;
  outline-offset: 2px;
}

.marketing-consent__actions button[aria-pressed='true'] {
  border-color: #38bdf8;
  box-shadow: inset 0 0 0 2px #38bdf8;
}

.marketing-consent__panel a,
.marketing-consent__no-script a {
  color: #7dd3fc;
  font-weight: 700;
}

.marketing-consent__settings {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  box-shadow: 0 8px 24px rgb(15 23 42 / 30%);
}

.marketing-consent__no-script {
  position: relative;
  margin: 0;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.875rem;
}

@media (max-width: 36rem) {
  .marketing-consent__actions {
    grid-template-columns: 1fr;
  }

  .marketing-consent__panel {
    bottom: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-consent__panel {
    transition: none;
  }
}
