:root{
  --bg:#070a10;
  --bg-soft:#0a0e16;
  --panel:#0c111a;
  --panel-soft:#0f1520;
  --line:#222c3a;
  --line-soft:rgba(117,132,158,.16);
  --text:#f3f6fb;
  --text-soft:#c6cfdb;
  --muted:#8290a3;
  --muted-2:#5f6d80;
  --purple:#8b5cf6;
  --purple-2:#6d46c6;
  --purple-soft:rgba(139,92,246,.12);
  --green:#57c68a;
  --amber:#dfad62;
  --danger:#e97687;
  --radius:20px;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{min-height:100vh;min-height:100dvh}
a{color:inherit}
button,input{font:inherit}
button{cursor:pointer}
[hidden]{display:none!important}

.login-page{position:relative;isolation:isolate;min-height:100vh;min-height:100dvh;display:grid;grid-template-rows:auto 1fr auto;overflow:hidden;background:linear-gradient(180deg,#080b12 0%,#070a10 60%,#080b12 100%)}
.page-backdrop{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.backdrop-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(114,127,151,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(114,127,151,.035) 1px,transparent 1px);background-size:48px 48px;mask-image:radial-gradient(circle at center,#000 0%,rgba(0,0,0,.5) 38%,transparent 78%);opacity:.7}
.backdrop-glow{position:absolute;border-radius:999px;filter:blur(18px);opacity:.8}
.glow-one{width:720px;height:720px;left:50%;top:42%;transform:translate(-55%,-52%);background:radial-gradient(circle,rgba(113,72,201,.12) 0%,rgba(73,69,158,.06) 35%,transparent 69%)}
.glow-two{width:520px;height:520px;right:-170px;bottom:-230px;background:radial-gradient(circle,rgba(51,104,173,.07),transparent 68%)}

.login-topbar{width:min(100% - 48px,1180px);margin:0 auto;padding:28px 0;display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;z-index:2}
.topbar-brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;min-width:0}
.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;overflow:hidden;background:#0d131d;border:1px solid #293444;box-shadow:0 8px 24px rgba(0,0,0,.22)}
.brand-mark img{width:100%;height:100%;object-fit:cover}
.brand-copy{min-width:0}.brand-copy strong{display:block;font-size:13px;line-height:1.2;font-weight:760;letter-spacing:.005em}.brand-copy small{display:block;margin-top:3px;color:#6f7d91;font-size:10px;line-height:1.2}
.topbar-security{display:inline-flex;align-items:center;gap:7px;color:#778599;font-size:10px;font-weight:670;letter-spacing:.015em;white-space:nowrap}
.topbar-security svg{width:15px;height:15px;fill:none;stroke:#9475e0;stroke-width:1.8}

.login-stage{display:grid;place-items:center;padding:36px 24px 54px;position:relative;z-index:1}
.login-panel-wrap{width:min(100%,500px);display:grid;gap:19px}
.login-panel{position:relative;overflow:hidden;border:1px solid #273140;border-radius:var(--radius);padding:36px 38px 30px;background:linear-gradient(180deg,rgba(14,20,30,.98),rgba(10,15,23,.98));box-shadow:0 28px 85px rgba(0,0,0,.42),0 6px 22px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.025)}
.login-panel:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 0%,rgba(139,92,246,.07),transparent 34%)}
.panel-accent{position:absolute;top:0;left:50%;width:164px;height:2px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#8b5cf6 28%,#a78bfa 50%,#8b5cf6 72%,transparent);box-shadow:0 0 20px rgba(139,92,246,.3)}
.panel-logo{position:relative;z-index:1;display:grid;place-items:center;margin:0 auto 22px}
.panel-logo-inner{width:56px;height:56px;border-radius:16px;overflow:hidden;border:1px solid #313c4d;background:#0a0f18;box-shadow:0 14px 36px rgba(0,0,0,.28),0 0 0 5px rgba(139,92,246,.035)}
.panel-logo-inner img{width:100%;height:100%;object-fit:cover}
.login-card-head{position:relative;z-index:1;text-align:center;margin-bottom:30px}
.secure-label{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#8f9bae;font-size:9px;font-weight:780;letter-spacing:.13em;text-transform:uppercase}
.secure-dot{width:5px;height:5px;border-radius:50%;background:#9b76ee;box-shadow:0 0 0 4px rgba(139,92,246,.07)}
.login-card-head h1{margin:13px 0 9px;font-size:31px;line-height:1.08;letter-spacing:-.042em;font-weight:780}
.login-card-head p{max-width:390px;margin:0 auto;color:#7f8da1;font-size:12.5px;line-height:1.68}

.login-form{position:relative;z-index:1;display:grid;gap:18px}
.login-field{display:grid;gap:9px}
.field-label,.label-row{color:#aeb9c8;font-size:10.5px;font-weight:700;letter-spacing:.012em;transition:color .16s ease}
.login-field:focus-within .field-label,.login-field:focus-within .label-row{color:#d7deea}
.label-row{display:flex;align-items:center;justify-content:space-between;gap:14px}
.label-row a{color:#9a86d9;text-decoration:none;font-size:10.5px;font-weight:650;transition:color .15s ease}.label-row a:hover{color:#b9a7ea;text-decoration:underline;text-underline-offset:3px}
.input-shell{height:55px;display:flex;align-items:stretch;position:relative;overflow:hidden;border:1px solid #273344;border-radius:12px;background:linear-gradient(180deg,#0a1019 0%,#090e16 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.022),0 1px 2px rgba(0,0,0,.16);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease}
.input-shell:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.012),transparent 44%);opacity:.7}
.input-shell:hover{border-color:#344257;background:linear-gradient(180deg,#0b111b 0%,#0a0f18 100%)}
.input-shell:focus-within{border-color:#7658c6;background:linear-gradient(180deg,#0b111b 0%,#0a0f18 100%);box-shadow:0 0 0 1px rgba(139,92,246,.18),0 0 0 4px rgba(139,92,246,.075),inset 0 1px 0 rgba(255,255,255,.025)}
.field-icon{width:47px;display:grid;place-items:center;flex:0 0 auto;color:#66758a;position:relative;z-index:1;transition:color .16s ease,background .16s ease}
.field-icon:after{content:"";position:absolute;right:0;top:13px;bottom:13px;width:1px;background:#1c2633;transition:background .16s ease}
.input-shell:hover .field-icon{color:#77869b}
.input-shell:focus-within .field-icon{color:#a58be7;background:rgba(139,92,246,.025)}
.input-shell:focus-within .field-icon:after{background:rgba(139,92,246,.18)}
.field-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.65}
.input-shell input{min-width:0;flex:1;height:100%;padding:0 15px;border:0!important;outline:0!important;border-radius:0!important;background:transparent!important;color:#eef3f9;font-size:12.75px;font-weight:520;line-height:1;caret-color:#a78bfa;box-shadow:none!important;-webkit-appearance:none;appearance:none;position:relative;z-index:1}
.input-shell input::placeholder{color:#526073;font-weight:450;opacity:1}
.input-shell input:focus,.input-shell input:focus-visible{border:0!important;outline:0!important;box-shadow:none!important}
.input-shell input:disabled{cursor:not-allowed;opacity:.52}
.input-shell input:-webkit-autofill,.input-shell input:-webkit-autofill:hover,.input-shell input:-webkit-autofill:focus,.input-shell input:-webkit-autofill:active{-webkit-text-fill-color:#eef3f9!important;-webkit-box-shadow:0 0 0 1000px #0a1019 inset!important;box-shadow:0 0 0 1000px #0a1019 inset!important;caret-color:#a78bfa;transition:background-color 9999s ease-out 0s}
.password-toggle{width:46px;height:100%;margin:0;border:0;border-left:1px solid #1c2633;border-radius:0;background:transparent;color:#65748a;display:grid;place-items:center;position:relative;z-index:2;transition:background .15s ease,color .15s ease,border-color .15s ease}.password-toggle:hover{background:#111925;color:#bec8d5}.input-shell:focus-within .password-toggle{border-left-color:rgba(139,92,246,.17)}.password-toggle:focus-visible{outline:2px solid #a78bfa;outline-offset:-5px;border-radius:9px}.password-toggle svg{grid-area:1/1;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}.password-toggle .eye-closed{display:none}.password-toggle.is-visible .eye-open{display:none}.password-toggle.is-visible .eye-closed{display:block}

.signin-button{height:52px;margin-top:3px;border:1px solid #7c59cf;border-radius:11px;background:linear-gradient(180deg,#8058d6 0%,#6c44bc 100%);color:#fff;font-size:12px;font-weight:760;letter-spacing:.005em;display:flex;align-items:center;justify-content:center;gap:9px;box-shadow:0 12px 26px rgba(93,55,176,.2),inset 0 1px rgba(255,255,255,.09);transition:transform .14s ease,filter .14s ease,box-shadow .14s ease,border-color .14s ease}
.signin-button:hover:not(:disabled){filter:brightness(1.07);border-color:#9371df;box-shadow:0 15px 32px rgba(93,55,176,.26),inset 0 1px rgba(255,255,255,.1)}
.signin-button:active:not(:disabled){transform:translateY(1px)}
.signin-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;transition:transform .15s ease}.signin-button:hover:not(:disabled) svg{transform:translateX(2px)}
.signin-button:disabled{opacity:.42;cursor:not-allowed}.signin-button.is-loading svg{animation:login-arrow .7s ease-in-out infinite alternate}@keyframes login-arrow{to{transform:translateX(3px)}}

.login-error{min-height:42px;border:1px solid rgba(233,118,135,.27);background:rgba(233,118,135,.065);color:#efa2ae;border-radius:10px;padding:10px 12px;display:flex;align-items:flex-start;gap:9px;font-size:10.5px;line-height:1.5}.login-error svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;flex:0 0 auto;margin-top:1px}
.notice{position:relative;z-index:1;display:grid;grid-template-columns:34px 1fr;gap:11px;align-items:start;margin:-7px 0 22px;border-radius:11px;padding:12px 13px;font-size:10.5px;line-height:1.5}
.notice-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center}.notice-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}.notice strong{display:block;font-size:10.5px}.notice span:not(.notice-icon){display:block;margin-top:2px;color:inherit;opacity:.8;font-size:10px}
.notice-success{border:1px solid rgba(87,198,138,.22);background:rgba(87,198,138,.055);color:#98dab6}.notice-success .notice-icon{background:rgba(87,198,138,.08);border:1px solid rgba(87,198,138,.17)}
.notice-warning{border:1px solid rgba(223,173,98,.22);background:rgba(223,173,98,.055);color:#dfbd8a}.notice-warning .notice-icon{background:rgba(223,173,98,.075);border:1px solid rgba(223,173,98,.17)}.notice-db{font-size:8px;font-weight:850;letter-spacing:.06em}

.account-assurance{position:relative;z-index:1;margin-top:25px;padding-top:20px;border-top:1px solid #19222e;display:grid;grid-template-columns:30px 1fr;gap:11px;align-items:start}
.assurance-icon{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#0b121c;border:1px solid #202b39;color:#69788d}.assurance-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.75}
.account-assurance strong{display:block;color:#aeb8c6;font-size:10px;font-weight:700}.account-assurance span:not(.assurance-icon){display:block;margin-top:4px;color:#5f6e81;font-size:9.5px;line-height:1.55}
.login-meta{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;color:#556376;font-size:9px}.login-meta i{width:3px;height:3px;border-radius:50%;background:#344052}

.page-footer{width:min(100% - 48px,1180px);margin:0 auto;padding:0 0 27px;display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;color:#4f5d70;font-size:9px;position:relative;z-index:2}
.footer-separator{color:#303b4b}.footer-status{margin-left:10px;padding-left:13px;border-left:1px solid #1d2632;display:inline-flex;align-items:center;gap:6px}.footer-status i{width:5px;height:5px;border-radius:50%}.footer-status.is-online i{background:var(--green);box-shadow:0 0 0 3px rgba(87,198,138,.06)}.footer-status.is-warning i{background:var(--amber);box-shadow:0 0 0 3px rgba(223,173,98,.06)}

button:focus-visible,a:focus-visible{outline:2px solid #a78bfa;outline-offset:3px}

@media(max-width:720px){
  .login-page{overflow:auto}
  .login-topbar{width:min(100% - 32px,620px);padding:20px 0}.topbar-security{display:none}
  .login-stage{padding:22px 16px 38px;place-items:start center}
  .login-panel{padding:31px 25px 26px;border-radius:17px}
  .panel-logo-inner{width:52px;height:52px;border-radius:15px}
  .login-card-head{margin-bottom:27px}.login-card-head h1{font-size:28px}.login-card-head p{font-size:12px}
  .page-footer{width:min(100% - 32px,620px);padding-bottom:21px}.footer-status{width:100%;justify-content:center;margin:3px 0 0;padding:7px 0 0;border-left:0;border-top:1px solid #151e29}
}
@media(max-width:420px){
  .brand-copy small{display:none}.login-panel{padding-left:20px;padding-right:20px}.login-meta{display:none}.field-icon{width:44px}.input-shell{height:52px}.signin-button{height:50px}
}
@media(max-height:760px) and (min-width:721px){
  .login-topbar{padding:20px 0}.login-stage{padding-top:12px;padding-bottom:24px}.login-panel{padding-top:28px;padding-bottom:24px}.panel-logo{margin-bottom:17px}.panel-logo-inner{width:48px;height:48px;border-radius:14px}.login-card-head{margin-bottom:23px}.login-card-head h1{font-size:28px}.account-assurance{margin-top:20px;padding-top:17px}.page-footer{padding-bottom:18px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
