/* ============================================================
   OneTrust consent-gated iframe prompt. Matches the markup/classes
   from the old site's gulp_script.min.uglify.js so behaviour stays
   consistent, styled with Main.css tokens (same convention as
   content-gate.css's __cta). Fills whatever positioned frame the
   consuming component wraps it in (e.g. .vimeo-video__frame).
   See wwwroot/scripts/shared/onetrust-iframe-gate.js.
   ============================================================ */

.c-prompt-box {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xl);
  padding: var(--spacing-2xl);
  text-align: center;
  background-color: var(--surface-inverse);
  color: var(--text-on-dark);
}

.c-prompt-box .align-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xl);
  width: 100%;
}

.c-prompt-box .c-prompt {
  display: block;
  color: var(--text-on-dark);
}

.c-prompt-box .ot-consent-gate__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--spacing-2xl);
  height: 48px;
  border: none;
  border-radius: var(--radius-xl);
  background: var(--interactive-primary-bg);
  color: var(--interactive-primary-text);
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    filter 0.15s,
    transform 0.1s;
}

.c-prompt-box .ot-consent-gate__cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.c-prompt-box .ot-consent-gate__cta:focus-visible {
  outline: 2px solid var(--text-brand);
  outline-offset: 2px;
}
