/* BAVS v0.22.39 — Smart Auth / Registration UX */
.bavs-authx{--ax-primary:#4f46e5;--ax-primary2:#7c3aed;--ax-cyan:#06b6d4;--ax-green:#0f9f75;--ax-red:#e5484d;--ax-amber:#d97706;--ax-ink:#14213d;--ax-muted:#6b7892;--ax-line:#dfe7f2;--ax-soft:#f5f8fd;--ax-card:#fff;position:relative;overflow:hidden;padding:28px 14px 46px;min-height:70vh;isolation:isolate}
.bavs-authx *{box-sizing:border-box}
.authx-orb{position:absolute;border-radius:999px;filter:blur(18px);opacity:.45;z-index:-1;pointer-events:none;animation:authx-float 9s ease-in-out infinite}
.authx-orb-a{width:280px;height:280px;background:rgba(79,70,229,.18);top:2%;right:-70px}.authx-orb-b{width:240px;height:240px;background:rgba(6,182,212,.14);bottom:5%;left:-60px;animation-delay:-3s}.authx-orb-c{width:260px;height:260px;background:rgba(15,159,117,.12);bottom:8%;left:-60px;animation-delay:-5s}
.authx-shell{width:min(1040px,100%);margin:0 auto;display:grid;grid-template-columns:1fr;gap:18px;align-items:stretch;animation:authx-enter .55s ease both}
.authx-visual,.authx-card{border:1px solid rgba(216,226,239,.9);border-radius:28px;box-shadow:0 18px 60px rgba(22,38,74,.09)}
.authx-visual{position:relative;overflow:hidden;padding:24px;background:linear-gradient(145deg,#111d38 0%,#162b51 58%,#183b58 100%);color:#fff;min-height:260px}
.authx-visual:before{content:"";position:absolute;inset:auto -60px -90px auto;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(67,214,224,.26),rgba(79,70,229,.02) 70%)}
.authx-visual:after{content:"";position:absolute;inset:-80px auto auto -100px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(124,58,237,.24),transparent 70%)}
.authx-visual>*{position:relative;z-index:1}.authx-visual-top{display:flex;align-items:center;gap:14px}.authx-brandmark{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#635bff,#18b6d9);box-shadow:0 12px 28px rgba(36,99,235,.28);flex:0 0 auto}.authx-brandmark svg{width:28px;height:28px;color:#fff}.authx-kicker{display:block;font-size:12px;color:#b9c9e7;margin-bottom:5px}.authx-visual h1{margin:0;font-size:clamp(24px,4vw,38px);line-height:1.35;letter-spacing:-.6px}.authx-lead{font-size:14px;line-height:2;color:#d3deef;margin:20px 0 18px;max-width:620px}.authx-benefits{display:grid;gap:10px}.authx-benefits>div{display:flex;align-items:flex-start;gap:11px;padding:12px 13px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.055);border-radius:17px;backdrop-filter:blur(6px)}.authx-benefits>div>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.11);flex:0 0 auto}.authx-benefits svg{width:19px;height:19px}.authx-benefits strong{display:block;font-size:13px;margin-bottom:4px}.authx-benefits small{display:block;font-size:11px;line-height:1.8;color:#b9c9df}.authx-visual-foot{display:flex;align-items:center;gap:8px;margin-top:18px;color:#a9b8d2;font-size:11px}.authx-visual-foot i{width:8px;height:8px;border-radius:50%;background:#24d19c;box-shadow:0 0 0 5px rgba(36,209,156,.12)}
.authx-card{background:rgba(255,255,255,.96);padding:22px}.authx-card-head{margin-bottom:18px}.authx-card-head h2{font-size:24px;line-height:1.45;color:var(--ax-ink);margin:8px 0 5px}.authx-card-head p{margin:0;color:var(--ax-muted);font-size:12px;line-height:1.9}.authx-chip{display:inline-flex;align-items:center;gap:7px;background:#eef2ff;color:#4f46e5;border:1px solid #dbe3ff;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800}.authx-chip svg{width:15px;height:15px}
.authx-form{display:grid;gap:15px}.authx-field{display:block}.authx-label{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:800;color:#33415d;margin:0 1px 7px}.authx-label b{color:#e5484d}.authx-input-wrap{position:relative;display:flex;align-items:center;gap:8px;min-height:54px;border:1px solid #dbe4f0;background:#fbfdff;border-radius:16px;padding:0 12px;transition:.22s ease;box-shadow:0 2px 0 rgba(17,24,39,.015)}.authx-input-wrap:focus-within{border-color:#8f86ff;background:#fff;box-shadow:0 0 0 4px rgba(79,70,229,.08),0 8px 24px rgba(49,46,129,.06)}.authx-input-wrap.is-error{border-color:#f3a7aa;background:#fffafa;box-shadow:0 0 0 4px rgba(229,72,77,.06)}.authx-input-wrap.is-ok{border-color:#8fdcc4;background:#fbfffd}.authx-input-wrap input{width:100%;height:52px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#17233f;font:inherit;font-size:14px;padding:0!important;min-width:0}.authx-input-wrap.is-ltr input,.authx-input-wrap input[dir=ltr]{direction:ltr;text-align:left}.authx-input-icon{display:grid;place-items:center;width:26px;color:#6a78a0}.authx-input-icon svg{width:17px;height:17px}.authx-field-state{width:10px;height:10px;border-radius:50%;background:#d6deea;transition:.2s}.authx-field-state.is-checking{background:#f0a33b;box-shadow:0 0 0 5px rgba(240,163,59,.10)}.authx-field-state.is-ok{background:#11a879;box-shadow:0 0 0 5px rgba(17,168,121,.10)}.authx-field-state.is-new{background:#635bff;box-shadow:0 0 0 5px rgba(99,91,255,.10)}.authx-help{display:block;margin:6px 3px 0;color:#8490a8;font-size:10px;line-height:1.7}.authx-validation{display:block;min-height:17px;margin:5px 3px 0;font-size:10px;line-height:1.6;color:var(--ax-red)}.authx-validation.is-ok{color:var(--ax-green)}.authx-validation.is-neutral{color:#7d889e}.authx-field-badge{white-space:nowrap;font-size:9px;font-weight:800;color:#4f46e5;background:#eef2ff;border-radius:999px;padding:5px 7px}
.authx-eye{width:34px;height:34px;border:0;border-radius:10px;background:#eef3fb;color:#596985;cursor:pointer;transition:.2s;flex:0 0 auto}.authx-eye:hover{background:#e3e9f7;color:#3e4c68}.authx-password-step{max-height:0;opacity:0;transform:translateY(-6px);overflow:hidden;pointer-events:none;transition:max-height .35s ease,opacity .25s ease,transform .25s ease}.authx-password-step.is-open{max-height:180px;opacity:1;transform:none;pointer-events:auto}.authx-password-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:8px;font-size:10px}.authx-password-meta a,.authx-password-meta button{color:#4f46e5;text-decoration:none;background:none;border:0;padding:0;font:inherit;cursor:pointer}.authx-password-meta button{color:#6d7890}
.authx-status{display:none;border-radius:13px;padding:10px 12px;font-size:11px;line-height:1.8}.authx-status.is-show{display:block;animation:authx-pop .2s ease}.authx-status.is-info{display:block;background:#eff6ff;color:#28528f;border:1px solid #d5e8ff}.authx-status.is-success{background:#edfcf6;color:#117354;border:1px solid #caefdf}.authx-status.is-error{background:#fff1f2;color:#a8333a;border:1px solid #ffdadd}
.authx-primary,.authx-secondary{width:100%;min-height:52px;border-radius:15px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:900;font-size:13px;text-decoration:none;transition:.22s ease}.authx-primary{position:relative;border:0;color:#fff;background:linear-gradient(110deg,#4f46e5,#7255e8 55%,#5c42dc);box-shadow:0 11px 25px rgba(79,70,229,.22);cursor:pointer;overflow:hidden}.authx-primary:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(79,70,229,.28)}.authx-primary:disabled{opacity:.72;cursor:wait;transform:none}.authx-btn-icon svg{width:16px;height:16px}.authx-spinner{display:none;width:18px;height:18px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:authx-spin .7s linear infinite}.authx-primary.is-loading .authx-spinner{display:block}.authx-primary.is-loading .authx-btn-icon{display:none}.authx-secondary{border:1px solid #dce4f1;background:#fff;color:#41506e}.authx-secondary:hover{background:#f7f9fe;border-color:#cfd8e9}.authx-secondary svg{width:17px;height:17px}.authx-divider{display:flex;align-items:center;gap:10px;margin:16px 0;color:#99a4b8;font-size:10px}.authx-divider:before,.authx-divider:after{content:"";height:1px;background:#e8edf4;flex:1}.authx-privacy{display:flex;align-items:center;justify-content:center;gap:6px;color:#8c97aa;font-size:9px;line-height:1.7;margin:13px 0 0}.authx-privacy svg{width:13px;height:13px}.authx-switch{text-align:center;font-size:11px;color:#778399;margin:4px 0 0}.authx-switch a{color:#4f46e5;font-weight:800;text-decoration:none}
.authx-stepper{display:flex;align-items:center;justify-content:center;margin-bottom:19px}.authx-stepper span{display:flex;align-items:center;gap:5px;color:#9aa5b6;font-size:9px;white-space:nowrap}.authx-stepper span b{width:25px;height:25px;border-radius:9px;background:#edf1f7;display:grid;place-items:center;font-size:10px;font-style:normal}.authx-stepper span em{font-style:normal;font-weight:800}.authx-stepper span.is-active{color:#4f46e5}.authx-stepper span.is-active b{background:#4f46e5;color:#fff;box-shadow:0 7px 16px rgba(79,70,229,.2)}.authx-stepper span.is-done{color:#14976e}.authx-stepper span.is-done b{background:#dcf8ed;color:#0b8b63}.authx-stepper>i{height:1px;background:#dfe5ee;width:28px;margin:0 7px}.authx-stepper>i.is-done{background:#8bd4bc}
.authx-smart-banner{display:flex;gap:10px;align-items:flex-start;background:linear-gradient(100deg,#eefbf6,#f2f5ff);border:1px solid #caecdf;border-radius:16px;padding:12px 13px;margin-bottom:16px;color:#24654f;animation:authx-pop .35s ease}.authx-smart-banner>span{width:37px;height:37px;border-radius:12px;background:#d9f5e9;display:grid;place-items:center;flex:0 0 auto}.authx-smart-banner svg{width:18px;height:18px}.authx-smart-banner strong{display:block;font-size:11px;margin-bottom:3px}.authx-smart-banner small{display:block;font-size:10px;line-height:1.7;color:#5d7b70}
.authx-section{border:1px solid #e5eaf2;background:#fbfcff;border-radius:19px;padding:14px}.authx-section-password{background:linear-gradient(180deg,#fbfbff,#f8f7ff)}.authx-section-head{display:flex;gap:9px;align-items:center;margin-bottom:13px}.authx-section-head>span{width:35px;height:35px;border-radius:11px;background:#eef2ff;color:#4f46e5;display:grid;place-items:center}.authx-section-head svg{width:17px;height:17px}.authx-section-head strong{display:block;font-size:11px;color:#263451;margin-bottom:2px}.authx-section-head small{display:block;font-size:9px;color:#8b96aa}.authx-grid{display:grid;grid-template-columns:1fr;gap:12px}.authx-field-full{grid-column:1/-1}.authx-security-note{display:flex;gap:10px;align-items:flex-start;background:#f3f8ff;border:1px solid #dce9f7;border-radius:16px;padding:12px;color:#486078}.authx-security-note>svg{width:19px;height:19px;color:#4f46e5;flex:0 0 auto}.authx-security-note strong{display:block;font-size:10px;color:#31445f;margin-bottom:3px}.authx-security-note p{margin:0;font-size:9px;line-height:1.8}.authx-password-rules{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.authx-password-rules span{font-size:9px;color:#7c879b;background:#eef2f7;border-radius:999px;padding:5px 8px;border:1px solid #e2e8f0;transition:.2s}.authx-password-rules span.is-ok{background:#eafaf4;border-color:#c7eadf;color:#0d805d}.authx-meter{height:5px;background:#e6ebf2;border-radius:999px;overflow:hidden;margin-top:7px}.authx-meter i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ef4444,#f59e0b,#22c55e);transition:width .25s ease}
.authx-otp-field input{height:auto!important;min-height:76px!important;text-align:center!important;direction:ltr!important;font-size:34px!important;letter-spacing:14px!important;font-weight:900;color:#27365a!important;border:1px solid #dce3ef!important;border-radius:18px!important;background:#fbfcff!important;padding:8px 14px!important}.authx-ltr{direction:ltr;unicode-bidi:embed}.authx-dev-note{margin-top:12px;padding:10px 12px;border-radius:12px;background:#fff7e8;color:#8b611d;border:1px solid #f5e1bb;font-size:9px;line-height:1.7}
@media(min-width:720px){.bavs-authx{padding:38px 22px 60px}.authx-card{padding:28px}.authx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.authx-benefits{grid-template-columns:repeat(3,minmax(0,1fr))}.authx-visual{padding:28px}.authx-visual-register .authx-benefits{grid-template-columns:1fr}}
@media(min-width:920px){.authx-shell{grid-template-columns:minmax(0,.95fr) minmax(380px,.72fr);gap:22px}.authx-shell-register{grid-template-columns:minmax(0,.72fr) minmax(540px,1.08fr)}.authx-shell-verify{grid-template-columns:minmax(0,.88fr) minmax(390px,.7fr)}.authx-visual{min-height:600px;display:flex;flex-direction:column;justify-content:center}.authx-visual-foot{margin-top:auto;padding-top:22px}.authx-visual-register{min-height:720px}.authx-card{align-self:center}.authx-register-card{align-self:stretch}.authx-benefits{grid-template-columns:1fr}.authx-visual .authx-benefits>div{padding:14px}.authx-card-head h2{font-size:27px}}
@media(max-width:520px){.bavs-authx{padding-inline:10px}.authx-visual,.authx-card{border-radius:22px}.authx-visual{padding:19px}.authx-card{padding:17px}.authx-brandmark{width:50px;height:50px}.authx-visual h1{font-size:24px}.authx-input-wrap{min-height:52px}.authx-stepper span em{display:none}.authx-stepper>i{width:22px}.authx-password-meta{align-items:flex-start;flex-direction:column}.authx-otp-field input{font-size:29px!important;letter-spacing:10px!important}}
@media(prefers-reduced-motion:reduce){.bavs-authx *,.bavs-authx *:before,.bavs-authx *:after{animation:none!important;transition:none!important}}
@keyframes authx-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes authx-pop{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}@keyframes authx-float{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(12px,-12px,0)}}@keyframes authx-spin{to{transform:rotate(360deg)}}
/* v0.22.40 — editable transferred mobile / loop prevention */
.authx-smart-banner{position:relative;padding-inline-end:118px}.authx-banner-action{position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);border:1px solid #bcded1;background:#fff;color:#14785a;border-radius:10px;padding:7px 10px;font:inherit;font-size:9px;font-weight:900;cursor:pointer;transition:.2s}.authx-banner-action:hover{background:#e9faf3;transform:translateY(-50%) scale(1.02)}.authx-smart-banner.is-edited{background:linear-gradient(100deg,#fff8e9,#f7f7ff);border-color:#f0d9a7;color:#775018}.authx-smart-banner.is-edited>span{background:#fff0ca}.authx-smart-banner.is-edited small{color:#826b45}.authx-field-badge.is-edited{background:#fff4d9;color:#946200}.authx-register-actions{display:grid;gap:9px}.authx-inline-action{justify-self:center;display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#5c59d8;font:inherit;font-size:10px;font-weight:900;cursor:pointer;padding:4px 8px;border-radius:9px}.authx-inline-action:hover{background:#f0efff}.authx-inline-action svg{width:14px;height:14px}.authx-edit-hint{display:flex;align-items:center;gap:9px;margin-top:9px;padding:9px 10px;border:1px solid #dbe5fb;background:#f6f8ff;border-radius:12px;color:#465777}.authx-edit-hint>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#e9edff;color:#5148df;flex:0 0 auto}.authx-edit-hint svg{width:14px;height:14px}.authx-edit-hint div{min-width:0;flex:1}.authx-edit-hint strong{display:block;font-size:9px;color:#34435f}.authx-edit-hint small{display:block;font-size:8px;color:#8390a6;margin-top:2px;line-height:1.6}.authx-edit-hint button{border:0;background:#fff;color:#4f46e5;border-radius:9px;padding:6px 8px;font:inherit;font-size:8px;font-weight:900;cursor:pointer;box-shadow:0 2px 8px rgba(67,56,202,.08)}
@media(max-width:520px){.authx-smart-banner{padding-inline-end:13px;padding-bottom:52px}.authx-banner-action{top:auto;bottom:10px;inset-inline:13px;transform:none;width:calc(100% - 26px)}.authx-banner-action:hover{transform:none}}
