/*
 * CAPTCHA slot on the auth forms (js-wp/captcha.js): sits right above the submit
 * button, full width of the form; provider iframe never overflows on phones.
 */
.dha-captcha{display:grid;gap:.35rem;width:100%;margin:.25rem 0 .9rem;min-width:0}
.dha-captcha-box{display:flex;justify-content:center;width:100%;min-height:65px;overflow:hidden}
.dha-captcha-box>*{max-width:100%}
.dha-captcha-box iframe{max-width:100%}
.dha-captcha-msg{margin:0;font-size:.82rem;line-height:1.4;color:#5b6478;text-align:center}
.dha-captcha-msg:empty{display:none}
.dha-captcha[data-state="loading"] .dha-captcha-box{border-radius:.6rem;background:linear-gradient(90deg,#f1f4fb 25%,#e6ebf7 50%,#f1f4fb 75%);background-size:200% 100%;animation:dha-captcha-shimmer 1.2s linear infinite}
.dha-captcha[data-state="verified"] .dha-captcha-msg{color:#1c7a45}
.dha-captcha[data-state="required"] .dha-captcha-msg,
.dha-captcha[data-state="expired"] .dha-captcha-msg,
.dha-captcha[data-state="failed"] .dha-captcha-msg,
.dha-captcha[data-state="unavailable"] .dha-captcha-msg{color:#b42318;font-weight:600}
.dha-captcha[data-state="unavailable"] .dha-captcha-box{min-height:0}
@keyframes dha-captcha-shimmer{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.dha-captcha[data-state="loading"] .dha-captcha-box{animation:none}}
.dha-captcha-pow{width:100%;min-height:44px;padding:.55rem .9rem;border:1px solid #d5dbe8;border-radius:.6rem;background:#fff;color:#1f2a44;font:inherit;font-size:.92rem;cursor:pointer}
.dha-captcha-pow:disabled{cursor:default;opacity:.85}
.dha-captcha:has(.dha-captcha-pow) .dha-captcha-box{min-height:0}
