:root{--brand:#4f46e5;--brand-2:#7c3aed;--brand-soft:#f1efff;--a-bg:#f8f7ff;--a-surface:#fff;--a-border:#e4e2f1;--a-text:#201d45;--a-muted:#74728e;--a-input:#fbfaff;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
[data-bs-theme=dark]{--brand:#938dff;--brand-2:#b28bff;--brand-soft:#282349;--a-bg:#100e20;--a-surface:#1a172d;--a-border:#342e50;--a-text:#f1efff;--a-muted:#b3aec9;--a-input:#211d37;--bs-body-bg:var(--a-bg);--bs-body-color:var(--a-text)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body.auth-body{margin:0;min-height:100vh;min-height:100dvh;color:var(--a-text);background:var(--a-bg);font-family:var(--font);-webkit-font-smoothing:antialiased}.auth-shell{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(430px,.8fr);min-height:100vh;min-height:100dvh}
.auth-hero{position:relative;display:flex;overflow:hidden;padding:clamp(42px,6vw,88px);background:linear-gradient(140deg,#eeecff 0%,#faf9ff 54%,#e9e5ff 100%)}.auth-hero:after{content:"";position:absolute;inset:auto -12% -32% -12%;height:42%;background:radial-gradient(ellipse at 50% 0,rgba(124,58,237,.15),transparent 66%)}.hero-orb{position:absolute;border-radius:50%;pointer-events:none}.hero-orb-one{width:360px;height:360px;right:-145px;top:-130px;background:rgba(99,102,241,.12)}.hero-orb-two{width:270px;height:270px;left:-150px;bottom:-110px;background:rgba(124,58,237,.1)}.hero-content{position:relative;z-index:1;display:flex;flex-direction:column;max-width:640px;width:100%;justify-content:center}.hero-brand{display:flex;align-items:center;gap:13px;margin-bottom:clamp(42px,9vh,105px)}.hero-brand strong{display:block;color:#282052;font-size:1rem;letter-spacing:.07em}.hero-brand small{display:block;margin-top:3px;color:#777393;font-size:.75rem;letter-spacing:.08em}.hero-logo{width:54px;height:54px;display:grid;place-items:center;flex:0 0 auto;border-radius:17px;color:#fff;background:linear-gradient(145deg,var(--brand),var(--brand-2));box-shadow:0 10px 24px rgba(92,60,205,.28);font-size:1.55rem;object-fit:cover}.hero-kicker{margin:0 0 15px;color:var(--brand);font-size:.71rem;font-weight:800;letter-spacing:.18em}.hero-copy h1{max-width:570px;margin:0;color:#211b4d;font-size:clamp(2.45rem,4.2vw,4.25rem);font-weight:800;letter-spacing:-.055em;line-height:1.08}.hero-copy h1 em{font-style:normal;color:var(--brand-2)}.hero-copy>p:last-child{max-width:500px;margin:20px 0 0;color:#6d6989;font-size:1.05rem;line-height:1.65}.hero-features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:48px}.hero-features>div{display:flex;align-items:flex-start;gap:10px}.hero-features i{display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border-radius:13px;background:#fff;color:var(--brand);box-shadow:0 8px 20px rgba(79,70,229,.1);font-size:1.15rem}.hero-features>div:nth-child(2) i{color:#d68b00;background:#fff8e8}.hero-features>div:nth-child(3) i{color:#7c3aed;background:#f4efff}.hero-features b,.hero-features small{display:block}.hero-features b{margin-top:1px;color:#2a254f;font-size:.88rem}.hero-features small{margin-top:3px;color:#817d9b;font-size:.75rem;line-height:1.35}.hero-footer{margin:42px 0 0;color:#8b87a2;font-size:.78rem}.hero-footer i{color:var(--brand);margin-right:5px}
.auth-panel{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:64px 30px 28px;background:color-mix(in srgb,var(--a-surface) 90%,#f5f2ff)}.theme-btn{position:absolute;right:24px;top:22px;display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--a-border);border-radius:14px;background:var(--a-surface);color:var(--a-text);cursor:pointer;font-size:1rem;transition:transform .15s}.theme-btn:hover{transform:rotate(10deg)}.auth-card{width:100%;max-width:410px;padding:42px 36px 34px;border:1px solid var(--a-border);border-radius:28px;background:var(--a-surface);box-shadow:0 24px 60px -28px rgba(48,35,112,.32);animation:rise .45s ease both}.auth-logo{display:none}.auth-card h1{margin:0 0 7px;font-size:2rem;font-weight:800;letter-spacing:-.04em}.auth-card .lead-s{margin:0 0 29px;color:var(--a-muted);font-size:.95rem}.auth-alert{border-radius:14px;font-size:.87rem}.fld{margin-bottom:17px}.inp{position:relative}.inp>i.lead-i{position:absolute;z-index:1;top:50%;left:15px;transform:translateY(-50%);color:var(--a-muted);font-size:1rem;pointer-events:none}.inp input{width:100%;height:54px;padding:0 45px;border:1.5px solid var(--a-border);border-radius:14px;outline:0;background:var(--a-input);color:var(--a-text);font-size:.95rem;transition:border-color .15s,box-shadow .15s,background .15s}.inp input::placeholder{color:var(--a-muted);opacity:.75}.inp input:focus{border-color:var(--brand);background:var(--a-surface);box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 14%,transparent)}.inp:focus-within>.lead-i{color:var(--brand)}.eye{position:absolute;right:5px;top:50%;width:40px;height:40px;transform:translateY(-50%);border:0;border-radius:10px;background:transparent;color:var(--a-muted);cursor:pointer}.eye:hover{color:var(--brand);background:var(--brand-soft)}.caps{display:none;margin-top:6px;color:#c76c00;font-size:.77rem}.caps.show{display:block}.row-s{display:flex;justify-content:flex-end;margin:1px 0 23px;font-size:.86rem}.auth-card a{color:var(--brand);font-weight:700;text-decoration:none}.auth-card a:hover{text-decoration:underline}.btn-go{display:flex;align-items:center;justify-content:center;width:100%;height:54px;gap:8px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--brand),var(--brand-2));box-shadow:0 12px 24px color-mix(in srgb,var(--brand) 32%,transparent);color:#fff;cursor:pointer;font-size:1rem;font-weight:800;transition:transform .15s,filter .15s}.btn-go:after{content:"\F138";font-family:"bootstrap-icons";font-size:1.05rem}.btn-go:hover{transform:translateY(-1px);filter:brightness(1.06)}.btn-go:active{transform:translateY(0)}.btn-go.busy{opacity:.75;pointer-events:none}.btn-go.busy:after{content:"";width:17px;height:17px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}.invalid-s{margin-top:5px;color:#c82043;font-size:.82rem}.auth-support{display:flex;justify-content:center;gap:6px 10px;flex-wrap:wrap;margin-top:18px;color:var(--a-muted);font-size:.8rem;text-align:center}.auth-copy{margin-top:23px;color:var(--a-muted);font-size:.76rem}.back-link{display:inline-flex;align-items:center;gap:6px;margin-bottom:22px;font-size:.9rem}@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.auth-shell{grid-template-columns:minmax(0,1fr) minmax(390px,.85fr)}.auth-hero{padding:42px}.hero-copy h1{font-size:3.1rem}.hero-features{grid-template-columns:1fr;gap:12px;margin-top:34px}.hero-footer{margin-top:28px}}@media(max-width:820px){.auth-shell{display:block}.auth-hero{min-height:255px;padding:30px 26px 28px}.hero-content{max-width:none}.hero-brand{margin-bottom:26px}.hero-copy h1{max-width:550px;font-size:2.15rem}.hero-copy>p:last-child{margin-top:10px;font-size:.91rem;line-height:1.45}.hero-features,.hero-footer{display:none}.auth-panel{min-height:auto;padding:32px 20px 26px}.theme-btn{top:17px;right:18px}.auth-card{max-width:500px}.auth-copy{margin-top:18px}}@media(max-width:480px){.auth-hero{min-height:224px;padding:25px 20px}.hero-brand{margin-bottom:21px}.hero-logo{width:42px;height:42px;border-radius:13px;font-size:1.2rem}.hero-brand strong{font-size:.82rem}.hero-brand small{font-size:.66rem}.hero-copy h1{font-size:1.82rem}.hero-copy>p:last-child{font-size:.83rem}.auth-panel{padding:23px 14px 22px}.theme-btn{top:14px;right:15px;width:38px;height:38px}.auth-card{padding:32px 22px 26px;border-radius:24px}.auth-card h1{font-size:1.7rem}.auth-card .lead-s{margin-bottom:24px}.inp input,.btn-go{height:52px}.auth-support{font-size:.76rem}}@media(prefers-reduced-motion:reduce){.auth-card{animation:none}.btn-go,.theme-btn{transition:none}}
