/**
 * HolDent — Consent Gate styles.
 */

.holdent-consent-gate {
  position: relative;
  width: 100%;
  min-height: var(--holdent-gate-height, 500px);
  border-radius: var(--holdent-radius-lg, 16px);
  overflow: hidden;
  background: var(--holdent-color-canvas-alt, #f4f4f0);
  border: 1px solid var(--holdent-color-border, rgba(0, 0, 0, 0.08));
}

.holdent-consent-gate__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--holdent-space-3, 12px);
  padding: var(--holdent-space-6, 24px);
  text-align: center;
}

.holdent-consent-gate__icon {
  color: var(--holdent-color-text-muted, #6c6c6c);
}

.holdent-consent-gate__label {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: var(--holdent-color-text, #111);
}

.holdent-consent-gate__copy {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--holdent-color-text-muted, #5a5a5a);
}

.holdent-consent-gate__accept {
  appearance: none;
  border: 0;
  margin-top: var(--holdent-space-2, 8px);
  padding: 12px 24px;
  min-height: 48px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: var(--holdent-color-primary, #1f6dc8);
  border-radius: var(--holdent-radius-pill, 999px);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.holdent-consent-gate__accept:hover,
.holdent-consent-gate__accept:focus-visible {
  outline: none;
  box-shadow: 0 8px 24px rgba(31, 109, 200, 0.3);
}

.holdent-consent-gate__accept:focus-visible {
  outline: 2px solid var(--holdent-color-primary, #1f6dc8);
  outline-offset: 3px;
}

.holdent-consent-gate.is-loaded {
  background: transparent;
  border-color: transparent;
}

.holdent-consent-gate.is-loaded iframe {
  display: block;
  width: 100%;
  border-radius: var(--holdent-radius-lg, 16px);
}

@media (prefers-reduced-motion: reduce) {
  .holdent-consent-gate__accept {
    transition: none;
  }
}
