/* Compatibility URL; visual ownership stays aligned with Core Auth primitives. */
@import url("/assets/core-auth-embedded.css?v=1.23.17");
/* MOFA Auth 1.4.33 — site-theme aligned OTP/CAPTCHA polish. */
.mofa-auth-embedded .auth-entry-card[data-auth-flow],
.auth-root .auth-entry-card[data-auth-flow],
.mofa-auth-embedded .auth-otp-panel,
.auth-root .auth-otp-panel{min-width:0}

.mofa-auth-embedded .auth-entry-copy p,
.auth-root .auth-entry-copy p,
.mofa-auth-embedded .auth-otp-intro p,
.auth-root .auth-otp-intro p{margin:0;color:var(--mofa-core-color-text-muted,#64717a);line-height:1.7;font-size:14px;overflow-wrap:anywhere}
.mofa-auth-embedded .auth-otp-panel,.auth-root .auth-otp-panel{display:grid;gap:20px;text-align:start}
.mofa-auth-embedded .auth-otp-intro,.auth-root .auth-otp-intro{margin:0;display:grid;gap:10px}
.mofa-auth-embedded .auth-otp-intro h1,.auth-root .auth-otp-intro h1{margin:0;font-size:clamp(25px,4vw,32px);line-height:1.2;letter-spacing:-.03em}
.mofa-auth-embedded .auth-otp-intro strong,.auth-root .auth-otp-intro strong{font-weight:700;color:var(--mofa-core-color-text,#253441)}
.mofa-auth-embedded .auth-otp-form,.auth-root .auth-otp-form{display:grid;gap:14px;margin:0}
.mofa-auth-embedded .auth-otp,.auth-root .auth-otp{display:grid;grid-template-columns:repeat(var(--otp-length,5),minmax(0,1fr));gap:10px;direction:ltr}
.mofa-auth-embedded .auth-otp .auth-otp-input,.auth-root .auth-otp .auth-otp-input{box-sizing:border-box;width:100%;height:56px;min-width:0;border:1px solid var(--mofa-core-color-border-strong,#ced7df);border-radius:14px;background:var(--mofa-core-color-surface,#fff);color:var(--mofa-core-color-text,#162631);font-size:24px;line-height:1;text-align:center;font-weight:700;direction:ltr;font-variant-numeric:tabular-nums;letter-spacing:0;padding:0;transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease}
.mofa-auth-embedded .auth-otp .auth-otp-input:focus-visible,.auth-root .auth-otp .auth-otp-input:focus-visible{outline:3px solid var(--mofa-core-color-focus,rgba(98,56,209,.22));outline-offset:1px;border-color:var(--mofa-core-color-primary,#6845cb);transform:translateY(-1px)}

.mofa-auth-embedded .auth-otp-actions,.auth-root .auth-otp-actions{display:flex;align-items:center;justify-content:space-between;gap:12px 16px;flex-wrap:wrap;border-top:1px solid var(--mofa-core-color-border,#e6e9ec);padding-top:16px}
.mofa-auth-embedded .auth-otp-actions form,.auth-root .auth-otp-actions form{margin:0}
.mofa-auth-embedded .auth-flow-back.auth-action-button,.auth-root .auth-flow-back.auth-action-button,.mofa-auth-embedded .auth-resend-button,.auth-root .auth-resend-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border-radius:12px;font:inherit;font-size:13px;font-weight:700;text-decoration:none;transition:background .2s ease,border-color .2s ease,color .2s ease,opacity .2s ease;white-space:nowrap}
.mofa-auth-embedded .auth-flow-back.auth-action-button,.auth-root .auth-flow-back.auth-action-button{border:1px solid var(--mofa-core-color-border,#d8dde4);background:var(--mofa-core-color-surface,#fff);color:var(--mofa-core-color-text,#344653)}
.mofa-auth-embedded .auth-flow-back.auth-action-button:hover,.auth-root .auth-flow-back.auth-action-button:hover{background:var(--mofa-core-color-surface-soft,#f4f6f8);border-color:color-mix(in srgb,var(--mofa-core-color-primary,#5b36d6) 16%,var(--mofa-core-color-border,#d8dde4))}
.mofa-auth-embedded .auth-resend-button,.auth-root .auth-resend-button{appearance:none;background:color-mix(in srgb,var(--mofa-core-color-primary,#5b36d6) 8%,var(--mofa-core-color-surface,#fff));border:1px solid color-mix(in srgb,var(--mofa-core-color-primary,#5b36d6) 22%,var(--mofa-core-color-border,#d8dde4));color:var(--mofa-core-color-primary,#3b2fa0);cursor:pointer;font-variant-numeric:tabular-nums}
.mofa-auth-embedded .auth-resend-button:hover:not(:disabled),.auth-root .auth-resend-button:hover:not(:disabled){background:color-mix(in srgb,var(--mofa-core-color-primary,#5b36d6) 12%,var(--mofa-core-color-surface,#fff));border-color:color-mix(in srgb,var(--mofa-core-color-primary,#5b36d6) 36%,var(--mofa-core-color-border,#d8dde4))}
.mofa-auth-embedded .auth-resend-button:disabled,.auth-root .auth-resend-button:disabled{cursor:not-allowed;color:var(--mofa-core-color-text-muted,#76818a);background:var(--mofa-core-color-surface-soft,#f5f6f7);border-color:var(--mofa-core-color-border,#e5e8eb)}
.mofa-auth-embedded .auth-otp-wait,.auth-root .auth-otp-wait{font-size:12px;color:inherit;font-variant-numeric:tabular-nums;opacity:.9}
.mofa-auth-embedded .auth-flow-back:focus-visible,.auth-root .auth-flow-back:focus-visible,.mofa-auth-embedded .auth-resend-button:focus-visible,.auth-root .auth-resend-button:focus-visible{outline:3px solid var(--mofa-core-color-focus,rgba(98,56,209,.25));outline-offset:2px}

.mofa-auth-embedded .auth-captcha,.auth-root .auth-captcha{display:grid;gap:12px}
.mofa-auth-embedded .auth-captcha-row,.auth-root .auth-captcha-row{display:flex;align-items:center;justify-content:space-between;gap:12px 16px;flex-wrap:wrap}
.mofa-auth-embedded .auth-captcha-preview,.auth-root .auth-captcha-preview{display:grid;gap:8px;min-width:0}
.mofa-auth-embedded .auth-captcha-caption,.auth-root .auth-captcha-caption{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mofa-auth-embedded .auth-captcha-label,.auth-root .auth-captcha-label{font-size:13px;font-weight:700;color:var(--mofa-core-color-text,#293d4a)}
.mofa-auth-embedded .auth-captcha-refresh,.auth-root .auth-captcha-refresh{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 12px;border:1px solid var(--mofa-core-color-border,#d7dfe5);border-radius:11px;background:var(--mofa-core-color-surface,#fff);color:var(--mofa-core-color-text,#293d4a);font:inherit;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;transition:background .2s ease,border-color .2s ease}
.mofa-auth-embedded .auth-captcha-refresh:hover,.auth-root .auth-captcha-refresh:hover{background:var(--mofa-core-color-surface-soft,#f4f6f8);border-color:color-mix(in srgb,var(--mofa-core-color-primary,#5b36d6) 18%,var(--mofa-core-color-border,#d7dfe5))}
.mofa-auth-embedded .auth-captcha-refresh:disabled,.auth-root .auth-captcha-refresh:disabled{opacity:.55;cursor:wait}
.mofa-auth-embedded .auth-captcha img,.auth-root .auth-captcha img{display:block;max-width:min(210px,100%);height:auto;min-height:54px;border-radius:12px;background:var(--mofa-core-color-surface-soft,#f4f5f9)}
.mofa-auth-embedded .auth-captcha-input,.auth-root .auth-captcha-input{margin:0}
.mofa-auth-embedded .auth-captcha-input .mofa-ds-input,.auth-root .auth-captcha-input .mofa-ds-input{text-align:start}
.mofa-auth-embedded .auth-captcha-message:empty,.auth-root .auth-captcha-message:empty{display:none}
.mofa-auth-embedded .auth-captcha-message,.auth-root .auth-captcha-message{color:var(--mofa-core-color-danger,#a83243);font-size:12px}

.mofa-auth-embedded .auth-google-button,.auth-root .auth-google-button{justify-content:center;gap:10px;background:#fff;border-color:#dadce0;color:#1f1f1f;box-shadow:none}
.mofa-auth-embedded .auth-google-button:hover,.auth-root .auth-google-button:hover{background:#f8f9fa;border-color:#c4c7cc}
.mofa-auth-embedded .auth-google-icon,.auth-root .auth-google-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px}
.mofa-auth-embedded .auth-google-icon svg,.auth-root .auth-google-icon svg{display:block;width:18px;height:18px}

.mofa-auth-embedded .auth-alert[data-auth-ajax-error],.auth-root .auth-alert[data-auth-ajax-error]{line-height:1.6;font-size:13px}

@media(max-width:560px){
  .mofa-auth-embedded .auth-otp .auth-otp-input,.auth-root .auth-otp .auth-otp-input{height:52px;border-radius:12px;font-size:22px}
  .mofa-auth-embedded .auth-otp,.auth-root .auth-otp{gap:7px}
  .mofa-auth-embedded .auth-otp-actions,.auth-root .auth-otp-actions,.mofa-auth-embedded .auth-captcha-row,.auth-root .auth-captcha-row{align-items:stretch}
  .mofa-auth-embedded .auth-otp-actions>a,.auth-root .auth-otp-actions>a,.mofa-auth-embedded .auth-otp-actions form,.auth-root .auth-otp-actions form{width:100%}
  .mofa-auth-embedded .auth-flow-back.auth-action-button,.auth-root .auth-flow-back.auth-action-button,.mofa-auth-embedded .auth-resend-button,.auth-root .auth-resend-button{width:100%}
}
