.awthy-consent-banner {
  box-sizing: border-box;
  color: var(--awthy-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.awthy-consent-banner *,
.awthy-consent-banner *::before,
.awthy-consent-banner *::after {
  box-sizing: border-box;
}

.awthy-consent-banner[data-display-style="banner"] {
  position: fixed;
  right: var(--awthy-space-4);
  bottom: var(--awthy-space-4);
  left: var(--awthy-space-4);
  z-index: 9999;
  margin: 0 auto;
  max-width: var(--awthy-content-max);
}

.awthy-consent-banner[data-display-style="modal"] {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: var(--awthy-space-4);
  background: color-mix(in srgb, var(--awthy-ink) 24%, transparent);
}

.awthy-consent-banner[data-display-style="inline"] {
  margin: var(--awthy-space-4) auto;
  max-width: var(--awthy-content-max);
  padding: 0 var(--awthy-space-4);
}

.awthy-consent-banner section {
  max-width: var(--awthy-content-max);
  border: 1px solid var(--awthy-line);
  border-radius: var(--awthy-radius-panel);
  background: var(--awthy-surface);
  padding: var(--awthy-space-4);
}

.awthy-consent-banner h2 {
  margin: 0 0 var(--awthy-space-2);
  color: var(--awthy-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.awthy-consent-banner p {
  margin: 0 0 var(--awthy-space-3);
  color: var(--awthy-muted);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

.awthy-consent-banner a {
  color: var(--awthy-green-dark);
}

.awthy-consent-banner fieldset {
  display: grid;
  gap: var(--awthy-space-3);
  margin: var(--awthy-space-4) 0;
  border: 1px solid var(--awthy-line-subtle);
  border-radius: var(--awthy-radius-row);
  padding: var(--awthy-space-3);
}

.awthy-consent-banner legend {
  padding: 0 var(--awthy-space-1);
  color: var(--awthy-ink);
  font-size: 14px;
  font-weight: 650;
}

.awthy-consent-banner label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--awthy-space-1) var(--awthy-space-2);
  align-items: start;
  color: var(--awthy-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.awthy-consent-banner input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
}

.awthy-consent-banner label span {
  grid-column: 2;
  color: var(--awthy-muted);
  font-size: 13px;
  font-weight: 400;
}

.awthy-consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--awthy-space-2);
  align-items: center;
}

.awthy-consent-banner > .components-button {
  border: 1px solid var(--awthy-line);
  border-radius: var(--awthy-radius-control);
  background: var(--awthy-surface);
  color: var(--awthy-green-dark);
}

@media (max-width: 600px) {
  .awthy-consent-banner[data-display-style="banner"] {
    right: var(--awthy-space-2);
    bottom: var(--awthy-space-2);
    left: var(--awthy-space-2);
  }

  .awthy-consent-banner section {
    padding: var(--awthy-space-3);
  }

  .awthy-consent-banner__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .awthy-consent-banner__actions .components-button {
    justify-content: center;
    width: 100%;
    min-height: 40px;
    white-space: normal;
  }
}
