/* Shared by WordPress, EDD and embedded password forms. The vendor iframe is never restyled. */
html body [data-auth-turnstile],html body.login #login .ev-password-challenge[data-auth-turnstile],html body.evelode-connect #edd_login_form .ev-password-challenge[data-auth-turnstile]{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;max-width:100%;min-width:0;min-height:0;box-sizing:border-box;justify-content:normal;align-items:stretch}
[data-auth-turnstile] [data-auth-widget]{display:flex;justify-content:center;width:100%;min-width:0;line-height:0}
[data-auth-turnstile] [data-auth-feedback]{font:inherit;font-size:13px;line-height:1.5;color:#63766b;min-width:0;text-align:left}
[data-auth-turnstile] [data-auth-message]{display:grid;gap:4px}
html body [data-auth-turnstile] [data-auth-message] strong{font-size:13px;font-weight:650;line-height:1.5;color:inherit}
[data-auth-turnstile] [data-auth-message] small{font-size:11px;line-height:1.5;opacity:.8}
html body [data-auth-turnstile]:is([data-challenge-state=error],[data-challenge-state=unavailable],[data-challenge-state=expired]) [data-auth-feedback]{display:grid;gap:12px;padding:12px;border:1px solid #ecc8bf;border-radius:11px;background:#fff5f1;color:#793c2c}
html body [data-auth-turnstile][data-challenge-state=expired] [data-auth-feedback]{border-color:#e4d2a4;background:#fff9eb;color:#705620}
html body [data-auth-turnstile] button.ev-auth-retry{appearance:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;width:100%;box-sizing:border-box;margin:0;padding:10px 14px;border:1px solid #cbdad1;border-radius:10px;background:#fff;color:#244b36;font:inherit;font-size:13px;font-weight:650;line-height:1.4;text-decoration:none;box-shadow:0 1px 2px #173b2610;cursor:pointer;transition:background-color .15s,border-color .15s}
html body [data-auth-turnstile] button.ev-auth-retry:hover{background:#edf5f0;border-color:#91b39d}
html body [data-auth-turnstile] button.ev-auth-retry:focus-visible{outline:2px solid #008b49;outline-offset:3px}
html body.login #login #wp-submit[data-auth-blocked]:disabled,html body #edd_login_form #edd_login_submit[data-auth-blocked],html body .edd-login-submit [data-auth-blocked],html body [data-auth-password-submit][data-auth-blocked]{background:#e2e9e5!important;color:#63756a!important;border-color:#e2e9e5!important;box-shadow:none!important;text-shadow:none!important;opacity:1!important;cursor:not-allowed!important;transition:none!important;transform:none!important}
html:is([data-ev-theme=dark],[data-store-theme=dark]) body [data-auth-turnstile] [data-auth-feedback]{color:#a7b9ad}
html:is([data-ev-theme=dark],[data-store-theme=dark]) body [data-auth-turnstile]:is([data-challenge-state=error],[data-challenge-state=unavailable]) [data-auth-feedback]{background:#372923;border-color:#775245;color:#ffd1bd}
html:is([data-ev-theme=dark],[data-store-theme=dark]) body [data-auth-turnstile][data-challenge-state=expired] [data-auth-feedback]{background:#352f22;border-color:#6b5e3b;color:#f3d89c}
html:is([data-ev-theme=dark],[data-store-theme=dark]) body [data-auth-turnstile] button.ev-auth-retry{background:#263c31;border-color:#486451;color:#d8eddf}
html:is([data-ev-theme=dark],[data-store-theme=dark]) body [data-auth-turnstile] button.ev-auth-retry:hover{background:#314d3e;border-color:#739681}
html:is([data-ev-theme=dark],[data-store-theme=dark]) body.login #login #wp-submit[data-auth-blocked]:disabled,html:is([data-ev-theme=dark],[data-store-theme=dark]) body :is(#edd_login_form #edd_login_submit,.edd-login-submit input)[data-auth-blocked]{background:#34433b!important;border-color:#34433b!important;color:#a3b4aa!important}
/* Preserve mobile geometry; align the vendor widget with desktop form fields. */
@media(min-width:768px){[data-auth-turnstile] [data-auth-widget]{justify-content:flex-start}}
@media(max-width:420px){html body.login.ev-wp-login #login{padding-inline:16px!important}html body.login.ev-wp-login #login .ev-wp-password-body{padding-inline:10px!important}}
html body [data-auth-turnstile] [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){html body [data-auth-turnstile] button.ev-auth-retry{transition:none}}
