:root{--primary: #4f46e5;--primary-hover: #4338ca;--bg-color: #f3f4f6;--card-bg: #ffffff;--text-dark: #111827;--text-muted: #6b7280;--border-color: #e5e7eb;--input-bg: #f9fafb;--error: #ef4444;--success: #10b981}*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html,body{width:100%;min-height:100%;font-family:Inter,sans-serif;overflow-x:hidden}body.auth-body{display:flex;flex-direction:row;align-items:stretch;min-height:100vh;min-height:100dvh;background:#0f172a;overflow-x:hidden}.auth-split{display:flex;flex-direction:row;width:100%;min-height:100vh;min-height:100dvh;overflow-x:hidden}.auth-left{flex:1;min-width:0;background:linear-gradient(145deg,#1e1b4b,#312e81,#4338ca);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(20px,4.5vh,52px) clamp(24px,3.8vw,48px);position:relative;overflow:hidden}.auth-left:before{content:"";position:absolute;width:400px;height:400px;background:#818cf826;border-radius:50%;top:-100px;left:-100px;pointer-events:none}.auth-left:after{content:"";position:absolute;width:300px;height:300px;background:#6366f11f;border-radius:50%;bottom:-80px;right:-80px;pointer-events:none}.auth-left-inner{position:relative;z-index:1;text-align:center;max-width:380px;width:100%}.auth-logo-icon{width:clamp(56px,8.5vh,78px);height:clamp(56px,8.5vh,78px);background:#ffffff1f;border:2px solid rgba(255,255,255,.2);border-radius:20px;display:flex;align-items:center;justify-content:center;margin:0 auto clamp(14px,2.8vh,26px);font-size:clamp(24px,3.6vh,34px);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 8px 32px #0000004d}.auth-left-inner h1{font-family:Outfit,sans-serif;font-size:clamp(24px,3vw,30px);font-weight:800;color:#fff;margin-bottom:clamp(6px,1.2vh,10px);letter-spacing:-.3px}.auth-tagline{font-size:clamp(13px,1.35vw,14px);color:#ffffffa6;line-height:1.55;margin-bottom:clamp(18px,3.8vh,36px)}.auth-features{display:flex;flex-direction:column;gap:clamp(8px,1.4vh,12px);text-align:left}.auth-feature-item{display:flex;align-items:center;gap:12px;background:#ffffff14;border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:clamp(9px,1.4vh,12px) 15px}.auth-feature-item .feat-icon{width:32px;height:32px;background:#6366f159;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:14px;color:#a5b4fc;flex-shrink:0}.auth-feature-item span{font-size:13px;font-weight:500;color:#ffffffd9}.auth-right{width:clamp(360px,40vw,480px);flex-shrink:0;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(58px,6.5vh,72px) clamp(24px,3vw,40px) clamp(24px,4vh,48px);position:relative}.auth-right-inner{width:100%;max-width:360px}.auth-mobile-brand{display:none;align-items:center;gap:10px;min-width:0}.auth-mobile-logo{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#312e81,#4f46e5);color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0;box-shadow:0 4px 12px #4f46e540}.auth-mobile-title{display:flex;flex-direction:column;min-width:0}.auth-mobile-title strong{font-family:Outfit,sans-serif;font-size:14.5px;font-weight:800;color:#111827;line-height:1.2;letter-spacing:-.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-mobile-title span{font-size:11px;color:#6b7280;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.back-btn{position:absolute;top:20px;left:20px;width:34px;height:34px;border-radius:10px;border:1.5px solid #e5e7eb;background:#f9fafb;display:flex;align-items:center;justify-content:center;color:#6b7280;text-decoration:none;font-size:13px;transition:all .2s;z-index:10}.back-btn:hover{background:#f1f5f9;color:var(--primary);border-color:#c7d2fe;transform:translate(-2px)}.form-heading{margin-bottom:clamp(16px,3vh,26px)}.form-heading h2{font-family:Outfit,sans-serif;font-size:clamp(22px,2.5vw,26px);font-weight:700;color:#111827;margin-bottom:4px}.form-heading p{font-size:13.5px;color:#6b7280}.lockout-alert{display:flex;align-items:flex-start;gap:10px;background:#fff7ed;border-left:4px solid #f97316;border-radius:8px;padding:11px 13px;margin-bottom:14px;font-size:13px;color:#9a3412;animation:slideDown .3s ease}.lockout-alert>i{color:#f97316;flex-shrink:0;margin-top:2px}.lockout-text{display:flex;flex-direction:column;gap:2px}.lockout-text strong{font-size:12.5px;font-weight:700;color:#7c2d12}.lockout-text span{font-size:12.5px;color:#9a3412}#lockout-timer{font-weight:700;font-variant-numeric:tabular-nums}.error-alert{display:none;gap:8px;align-items:flex-start;background:#fef2f2;border-left:4px solid #ef4444;border-radius:8px;padding:10px 13px;margin-bottom:14px;font-size:13px;color:#991b1b;word-break:break-word;overflow-wrap:anywhere;animation:slideDown .25s ease}.error-alert>i{color:#ef4444;flex-shrink:0;margin-top:2px}.error-alert.show{display:flex}.attempts-alert{display:none;align-items:flex-start;gap:8px;background:#fffbeb;border-left:4px solid #f59e0b;border-radius:8px;padding:9px 13px;margin-bottom:14px;font-size:13px;color:#92400e;font-weight:500;word-break:break-word;overflow-wrap:anywhere;animation:slideDown .25s ease}.attempts-alert.show{display:flex}.attempts-alert>i{color:#f59e0b;flex-shrink:0;margin-top:2px}.form-group{margin-bottom:clamp(12px,2.2vh,18px)}.form-label{display:block;font-size:12.5px;font-weight:600;color:#374151;margin-bottom:6px;letter-spacing:.01em}.input-group{position:relative}.input-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#9ca3af;font-size:15px;pointer-events:none;transition:color .25s}.form-input{width:100%;padding:clamp(10px,1.45vh,12px) 14px clamp(10px,1.45vh,12px) 40px;background:#f9fafb;border:1.5px solid #e5e7eb;border-radius:10px;font-family:Inter,sans-serif;font-size:14.5px;color:#111827;outline:none;transition:all .25s}#password{padding-right:44px}.form-input:focus{background:#fff;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.form-input:-webkit-autofill,.form-input:-webkit-autofill:hover,.form-input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px #f9fafb inset;-webkit-text-fill-color:#111827;transition:background-color 5000s ease-in-out 0s}.form-input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px #ffffff inset,0 0 0 3px rgba(99,102,241,.12)}.form-input:disabled{opacity:.5;cursor:not-allowed;background:#f3f4f6}.input-group:focus-within .input-icon{color:#6366f1}.btn-toggle-password{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;background:none;border:none;color:#9ca3af;cursor:pointer;font-size:15px;outline:none;transition:color .2s}.btn-toggle-password:hover{color:#374151}.btn-toggle-password:disabled{opacity:.4;cursor:not-allowed}.form-options{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:clamp(14px,2.5vh,22px)}.checkbox-wrapper{display:flex;align-items:center;gap:7px;cursor:pointer}.checkbox-wrapper input[type=checkbox]{width:15px;height:15px;border-radius:4px;accent-color:#6366f1;cursor:pointer}.checkbox-wrapper span{font-size:13px;color:#6b7280;font-weight:500}.security-badge{display:flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;color:#059669;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:999px;padding:3px 10px}.security-badge i{font-size:10px}.btn-submit{width:100%;padding:clamp(11px,1.55vh,13px);background:linear-gradient(135deg,#4f46e5,#6366f1);color:#fff;border:none;border-radius:10px;font-family:Inter,sans-serif;font-size:15px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;transition:all .2s;box-shadow:0 4px 14px #4f46e540}.btn-submit:hover:not(:disabled){background:linear-gradient(135deg,#4338ca,#4f46e5);transform:translateY(-1px);box-shadow:0 6px 18px #4f46e559}.btn-submit:active:not(:disabled){transform:translateY(0)}.btn-submit:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none;background:#6b7280}.btn-submit.success{background:#10b981;cursor:default}.footer-text{text-align:center;margin-top:clamp(14px,2.6vh,24px);font-size:12px;color:#9ca3af}.footer-brand-link{color:var(--primary);font-weight:600;text-decoration:none}.footer-brand-link:hover{color:var(--primary-hover);text-decoration:underline}.security-note{margin-top:6px;font-size:11px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;color:#9ca3af}.security-note i{color:#059669}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1600px){.auth-right{width:clamp(460px,34vw,560px)}.auth-right-inner{max-width:390px}.auth-left-inner{max-width:420px}}@media(max-width:900px),(max-width:1024px)and (max-height:540px){body.auth-body{background:#f1f5f9}.auth-split{flex-direction:column}.auth-left{display:none}.auth-right{width:100%;flex:1 0 auto;min-height:100vh;min-height:100dvh;background:linear-gradient(145deg,#eef2ff,#f3f4f6 55%,#e0f2fe);padding:clamp(16px,3vh,32px) clamp(14px,4vw,24px);justify-content:center}.auth-right-inner{background:#fff;border:1px solid rgba(15,23,42,.06);border-radius:16px;padding:clamp(20px,3.4vh,32px) clamp(18px,4vw,28px);box-shadow:0 10px 35px #0f172a14;max-width:440px;width:100%;margin:0 auto}.auth-card-topbar{display:flex;align-items:center;gap:10px;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid #f1f5f9}.auth-mobile-brand{display:flex}.back-btn{position:static;flex-shrink:0}}@media(max-width:480px){.auth-right{padding:16px 12px}.auth-right-inner{padding:clamp(18px,3vh,24px) 16px;border-radius:14px}.auth-card-topbar{padding-bottom:12px;margin-bottom:14px}.form-heading{margin-bottom:14px}.form-heading h2{font-size:21px}.form-input{font-size:16px;min-height:44px}.form-group{margin-bottom:12px}.form-options{margin-bottom:14px}.btn-submit{min-height:44px}.footer-text{margin-top:14px}}@media(max-width:360px){.auth-right{padding:10px 8px}.auth-right-inner{padding:16px 13px;border-radius:12px}.auth-mobile-logo{width:32px;height:32px;border-radius:8px;font-size:14px}.auth-mobile-title strong{font-size:13.5px}.back-btn{width:32px;height:32px;border-radius:8px}.form-heading h2{font-size:19.5px}}@media(max-height:600px)and (max-width:900px),(max-width:1024px)and (max-height:540px){.auth-right{padding:12px}.auth-right-inner{padding:14px 16px}.auth-card-topbar{padding-bottom:10px;margin-bottom:10px}.form-heading{margin-bottom:10px}.form-heading h2{font-size:20px}.form-group{margin-bottom:10px}.form-label{margin-bottom:4px}.form-input{padding-top:8px;padding-bottom:8px;min-height:40px}.form-options{margin-bottom:12px}.btn-submit{padding:10px;min-height:42px}.footer-text{margin-top:10px}}
