.login-screen{position:relative;overflow:hidden;display:flex;width:100%;min-height:100vh;min-height:100dvh;flex-direction:column;justify-content:center;padding:28px 22px 22px;background-color:#07111f;background-image:linear-gradient(165deg,#0a1b31 0,#07111f 58%,#050d18 100%);background-position:center center;background-repeat:no-repeat;background-size:cover}
.login-screen.has-custom-background{background-color:transparent;background-image:var(--login-custom-bg);background-position:center center;background-repeat:no-repeat;background-size:cover}
.login-screen.has-custom-background:before,.login-screen.has-custom-background:after{display:none}
.login-screen:before,.login-screen:after{content:"";position:absolute;pointer-events:none;border-radius:50%;filter:blur(2px)}
.login-screen:before{width:260px;height:260px;right:-170px;top:30%;background:#426eff16}
.login-screen:after{width:220px;height:220px;left:-155px;bottom:3%;background:#24d2bd12}
.login-visual{position:relative;z-index:1;min-height:0;text-align:center}
.login-visual>.lang-trigger{right:0;top:-2px;padding:8px 12px;border-color:#ffffff24;background:#10233a99;box-shadow:0 8px 22px #0002}
.login-brand{width:196px;margin:0 auto 17px}.login-logo-frame{height:94px;display:grid;place-items:center;padding:14px 18px;border:1px solid #ffffff30;border-radius:24px;background:#071421bd;box-shadow:0 18px 52px #0005;backdrop-filter:blur(14px)}
.login-logo-frame strong{font-size:34px;font-weight:900;letter-spacing:.08em}.login-logo-frame .backend-logo{max-width:156px;max-height:64px;object-fit:contain;filter:drop-shadow(0 7px 14px #0005)}
.login-brand-meta{display:inline-flex;margin-top:8px;padding:5px 10px;border:1px solid #ffffff24;border-radius:999px;color:#dbe8f5;background:#071421bd;font-size:8px;font-weight:800;letter-spacing:.15em;backdrop-filter:blur(10px)}
.login-copy{margin-bottom:20px}
.login-visual h1{margin:0 0 7px;font-size:30px;letter-spacing:-.04em}.login-visual p{margin:0;font-size:13px}
.login-card{position:relative;z-index:2;padding:19px 19px 17px;border-color:#ffffff18;border-radius:22px;background:linear-gradient(145deg,#112137e8,#0c1a2ce8);box-shadow:0 22px 65px #0006,inset 0 1px #ffffff0a;backdrop-filter:blur(20px)}
.login-screen.has-custom-background .login-card{background:#0c1a2ee8}
.login-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.login-card-head strong{font-size:15px}.login-card-head span{display:inline-flex;align-items:center;gap:5px;color:#4bddbd;font-size:10px}.login-card-head span:before{content:"";width:6px;height:6px;border-radius:50%;background:#39d9b7;box-shadow:0 0 10px #39d9b7}
.login-card label{margin:12px 0 7px;color:#a9b9cd}.login-card .input-wrap{height:48px;border-color:#29415d;border-radius:13px;background:#071421bb;transition:.2s}.login-card .input-wrap:focus-within{border-color:#6287ff;box-shadow:0 0 0 3px #557cff18,0 9px 24px #0003}.login-card .input-wrap>span{display:grid;width:25px;height:25px;place-items:center;border-radius:8px;color:#77a3ff;background:#17304d;font-size:11px}.login-card input::placeholder{color:#53677f}
.login-card .primary.wide{height:48px;margin-top:18px;border-radius:13px;background:linear-gradient(120deg,#4e87ff,#755bff 60%,#37cbbb);box-shadow:0 10px 25px #4c6cff35;letter-spacing:.08em}.login-card .primary.wide:active{transform:translateY(1px)}
.login-links{margin-top:2px;padding-top:13px;border-top:1px solid #ffffff0a}.login-links button{padding:5px;color:#91a5bd;font-size:12px}.login-links button:first-child{color:#70dbc9}
.login-assurance{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:16px;color:#52677f;font-size:9px}.login-assurance i{width:3px;height:3px;border-radius:50%;background:#3f5873}
.modal-backdrop{padding:18px;background:#020812d9;backdrop-filter:blur(8px)}
.modal{border:1px solid #ffffff12;box-shadow:0 -20px 70px #0009}.modal-head{gap:12px}.modal-head h3{font-size:20px}.modal-head p{margin:5px 0 0;color:#71869f;font-size:11px}.modal-eyebrow{color:#4ed7c6;font-size:9px;font-weight:800;letter-spacing:.16em}.modal-close{width:34px;height:34px;flex:0 0 34px;border:1px solid #ffffff16;border-radius:11px;color:#a9b7c8;background:#ffffff08;font-size:21px;line-height:1;cursor:pointer}.modal-fields{margin-top:14px}.modal-fields .field label em{color:#ff6b80;font-style:normal}.register-note{margin:4px 0 0;color:#5f738b;font-size:10px;line-height:1.6}
.register-modal{width:min(100%,520px);height:100dvh;max-height:100dvh;padding:22px;border-radius:0;background:linear-gradient(160deg,#11233a,#0a1727 62%)}
.has-custom-login-background .register-modal{background-color:transparent;background-image:var(--login-custom-bg);background-position:center center;background-repeat:no-repeat;background-size:cover}
.has-custom-login-background .register-modal:before{display:none}.has-custom-login-background .register-modal .modal-head{background:#102137e8}.has-custom-login-background .register-modal .modal-actions{background:#0b192ae8}
.register-modal:before{content:"";position:absolute;width:150px;height:150px;right:-75px;top:-80px;border-radius:50%;background:#5a75ff20;filter:blur(4px)}
.register-modal .modal-head{position:sticky;z-index:3;top:-22px;margin:-22px -22px 0;padding:22px;border-bottom:1px solid #ffffff0b;background:#102137f5;backdrop-filter:blur(16px)}.register-modal .field{margin-bottom:11px}.register-modal .field label{margin:0 0 6px}.register-modal .field input{height:43px;background:#071421c9}.register-modal .modal-actions{position:sticky;bottom:-22px;margin:14px -22px -22px;padding:13px 22px 18px;border-top:1px solid #ffffff0c;background:#0b192af5}.register-modal .modal-actions .primary{background:linear-gradient(120deg,#4d86ff,#735cff)}
.code-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.code-input button{border:1px solid #36cbb35c;border-radius:11px;padding:0 12px;color:#56d9c4;background:#12332f;font-size:11px}.code-input button:disabled{opacity:.55}
.captcha-input{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:9px}.captcha-input>.input-wrap{min-width:0}.captcha-input>input:not([type=hidden]){min-width:0}.captcha-input>button{position:relative;height:48px;overflow:hidden;border:1px solid #d6e0ea;border-radius:13px;padding:3px 31px 3px 5px;background:#f4f8fb;box-shadow:inset 0 0 0 1px #ffffff,0 5px 15px #0002;cursor:pointer}.captcha-input img{display:block;width:100%;height:100%;object-fit:contain;background:#f4f8fb}.captcha-input button small{position:absolute;right:5px;top:50%;width:23px;height:23px;display:grid;place-items:center;transform:translateY(-50%);border-radius:50%;color:#eaf2ff;background:#183453;font-size:15px;font-weight:800}.captcha-input>button:hover small{background:#376be0}.captcha-input button:disabled{opacity:.6}.register-modal .captcha-input>button{height:43px}
@media(min-width:420px){.register-modal .modal-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.register-modal .field:nth-child(5),.register-modal .field:nth-child(6){grid-column:auto}}
@media(max-width:370px){.captcha-input{grid-template-columns:minmax(0,1fr) 118px}.captcha-input>button{padding-right:27px}.captcha-input button small{right:3px}}
@media(max-height:760px){.login-screen{justify-content:flex-start;padding-top:20px}.login-brand{width:174px;margin-bottom:12px}.login-logo-frame{height:76px;border-radius:20px}.login-logo-frame .backend-logo{max-width:138px;max-height:52px}.login-brand-meta{margin-top:6px}.login-copy{margin-bottom:13px}.login-visual h1{font-size:27px}.login-assurance{margin-top:10px}}

/* Refined authentication UI */
.login-screen{justify-content:center;padding:26px 24px 20px}
.login-visual{width:100%;max-width:386px;margin:0 auto;text-align:left}
.login-visual>.lang-trigger{top:0;right:0;height:36px;padding:0 12px;border:1px solid #ffffff2b;border-radius:11px;color:#eef5ff;background:#071421a8;box-shadow:none;backdrop-filter:blur(12px)}
.login-brand{width:auto;min-height:78px;display:flex;align-items:center;justify-content:center;flex-direction:column;margin:0 auto 20px;padding:0;background:none;border:0;box-shadow:none}
.login-brand>strong{font-size:38px;font-weight:900;letter-spacing:.12em;text-shadow:0 7px 20px #0007}
.login-brand>.backend-logo{display:block;max-width:178px;max-height:64px;object-fit:contain;background:transparent;border:0;filter:drop-shadow(0 8px 15px #0006)}
.login-brand>.backend-logo.hidden{display:none}
.login-brand-meta{margin-top:10px;padding:0;border:0;color:#dbe7f4;background:none;font-size:8px;font-weight:800;letter-spacing:.22em;text-shadow:0 2px 8px #000}
.login-copy{margin:0 0 18px;padding-right:78px;text-shadow:0 2px 14px #0009}
.login-eyebrow{display:block;margin-bottom:7px;color:#65dfcf;font-size:9px;font-weight:850;letter-spacing:.2em}
.login-visual h1{margin:0 0 6px;font-size:32px;line-height:1.12;letter-spacing:-.045em}
.login-visual p{color:#c0cddd;font-size:12px}
.login-card{width:100%;max-width:386px;margin:0 auto;padding:20px;border:1px solid #ffffff20;border-radius:20px;background:#081625e8;box-shadow:0 22px 65px #0007;backdrop-filter:blur(18px)}
.login-screen.has-custom-background .login-card{background:#081625e8}
.login-card-head{margin:0 0 17px;padding-bottom:13px;border-bottom:1px solid #ffffff10}
.login-card-head strong{font-size:15px;letter-spacing:.02em}.login-card-head span{color:#62ddcb}
.login-field{margin-bottom:14px}.login-field label{margin:0 0 7px;color:#aebed0;font-size:11px;font-weight:650}
.login-card .input-wrap{height:49px;border:1px solid #2a4059;border-radius:12px;background:#06111dcc;box-shadow:inset 0 1px #ffffff05}
.login-card .input-wrap:focus-within{border-color:#6685ff;box-shadow:0 0 0 3px #607dff1c}
.login-card .input-wrap>span{width:27px;height:27px;flex:0 0 27px;border-radius:8px;color:#8ba8ff;background:#172b43}
.login-card .primary.wide{height:49px;margin-top:3px;border-radius:12px;background:#6178f4;box-shadow:0 10px 25px #334cc84d;transition:.18s}
.login-card .primary.wide:hover{background:#7288ff;transform:translateY(-1px)}
.login-card .error{margin:8px 0 0}.login-links{margin-top:12px;padding-top:13px}.login-links button{padding:4px 0;font-size:11px}
.login-assurance{max-width:386px;margin:15px auto 0;color:#a3b2c4;text-shadow:0 2px 8px #000}
.captcha-input{grid-template-columns:minmax(0,1fr) 132px;gap:9px}.captcha-input>button{height:49px;border-color:#dfe6ee;border-radius:12px;background:#fff;box-shadow:none}.captcha-input img{background:#fff}.captcha-input button small{right:5px;width:24px;height:24px;background:#18324d}
.captcha-input>button{padding:3px 6px}.captcha-input img{object-fit:contain}.captcha-input button small{display:none}
.modal-backdrop:has(.register-modal){align-items:stretch;padding:0;background:#040b14}
.register-modal{width:min(100%,520px);height:100dvh;max-height:100dvh;margin:0 auto;padding:0 22px 24px;border:0;border-radius:0;background:#071421;box-shadow:none}
.has-custom-login-background .register-modal{background-color:transparent;background-image:var(--login-custom-bg);background-position:center;background-repeat:no-repeat;background-size:cover}
.register-modal .modal-head{top:0;margin:0 -22px;padding:19px 22px 16px;border-bottom:1px solid #ffffff14;background:#081625ed;box-shadow:0 9px 28px #0004;backdrop-filter:blur(18px)}
.register-modal .modal-head h3{margin:2px 0 0;font-size:24px;letter-spacing:-.03em}.register-modal .modal-head p{color:#91a3b8}.register-modal .modal-eyebrow{color:#62ddcb;letter-spacing:.18em}
.register-modal .modal-close{border-color:#ffffff1b;background:#ffffff0b}
.register-modal .modal-fields{display:grid;grid-template-columns:1fr;gap:0;width:100%;max-width:390px;margin:0 auto;padding:18px 0 5px}
.register-modal .field{margin:0 0 14px}.register-modal .field label{margin:0 0 7px;color:#b2c1d2;font-size:11px;font-weight:650}.register-modal .field input,.register-modal .field select{height:47px;border:1px solid #2a4059;border-radius:12px;background:#06111de8}.register-modal .field input:focus,.register-modal .field select:focus{border-color:#6685ff;box-shadow:0 0 0 3px #607dff1c}
.register-modal .register-note{max-width:390px;margin:0 auto;padding:10px 12px;border:1px solid #ffffff10;border-radius:10px;color:#91a3b8;background:#081625d9}
.register-modal .modal-actions{bottom:-24px;margin:15px -22px -24px;padding:13px 22px 18px;border-top:1px solid #ffffff14;background:#081625f2;box-shadow:0 -8px 28px #0004;backdrop-filter:blur(18px)}
.register-modal .modal-actions button{height:46px;border-radius:12px}.register-modal .modal-actions .primary{background:#6178f4}.register-modal .modal-actions .ghost{background:#14243a}
.register-modal .captcha-input{grid-template-columns:minmax(0,1fr) 132px}.register-modal .captcha-input>button{height:47px}
@media(max-width:370px){.login-screen{padding-right:18px;padding-left:18px}.login-card{padding:18px}.captcha-input,.register-modal .captcha-input{grid-template-columns:minmax(0,1fr) 116px}.login-brand>.backend-logo{max-width:158px}.login-copy{padding-right:66px}}
@media(max-height:760px){.login-screen{justify-content:flex-start;padding-top:18px}.login-brand{min-height:58px;margin-bottom:10px}.login-brand>.backend-logo{max-width:148px;max-height:48px}.login-brand-meta{margin-top:6px}.login-copy{margin-bottom:12px}.login-visual h1{font-size:27px}.login-card{padding:17px}.login-card-head{margin-bottom:13px}.login-field{margin-bottom:11px}.login-card .input-wrap,.captcha-input>button{height:45px}.login-card .primary.wide{height:45px}.login-assurance{margin-top:10px}}

/* Theme and brand scale */
.login-screen{justify-content:flex-start;overflow-x:hidden;overflow-y:auto;padding-top:24px}
.login-actions{position:absolute;z-index:5;top:0;right:0;display:flex;align-items:center;gap:8px}
.login-actions .lang-trigger{position:static;height:38px;padding:0 13px;border:1px solid #ffffff2b;border-radius:12px;color:#edf4fd;background:#071421b8;box-shadow:none;backdrop-filter:blur(12px)}
.theme-toggle{width:38px;height:38px;display:grid;place-items:center;border:1px solid #ffffff2b;border-radius:12px;padding:0;color:#f1f5fa;background:#071421b8;cursor:pointer;backdrop-filter:blur(12px);transition:.18s}
.theme-toggle:hover{border-color:#ffffff52;transform:translateY(-1px)}
.theme-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.theme-icon-sun{display:none}.auth-light .theme-icon-moon{display:none}.auth-light .theme-icon-sun{display:block}
.login-brand{min-height:122px;margin:42px auto 15px}
.login-brand>.backend-logo{width:min(64vw,250px);height:90px;max-width:none;max-height:none;object-fit:contain;transform:scale(1.14);transform-origin:center;filter:drop-shadow(0 10px 20px #0006)}
.login-brand>strong{font-size:52px}.login-brand-meta{margin-top:7px}
.login-copy{margin-bottom:17px}.login-card{border-radius:22px}.login-card-head strong{font-size:16px}
.auth-light .login-screen{color:#172334;background-color:#edf2f7;background-image:none}
.auth-light .login-screen.has-custom-background{background-color:transparent;background-image:var(--login-custom-bg)}
.auth-light .login-actions .lang-trigger,.auth-light .theme-toggle{border-color:#cbd5e1;color:#26374a;background:#ffffffdf;box-shadow:0 7px 22px #1e30451a}
.auth-light .login-brand>strong{color:#15263a;text-shadow:none}.auth-light .login-brand>.backend-logo{filter:drop-shadow(0 8px 16px #26384d30)}
.auth-light .login-brand-meta{color:#536579;text-shadow:none}.auth-light .login-screen:not(.has-custom-background) .login-eyebrow{color:#347d72}.auth-light .login-screen:not(.has-custom-background) .login-copy{text-shadow:none}.auth-light .login-screen:not(.has-custom-background) .login-visual p{color:#617287}
.auth-light .login-screen.has-custom-background .login-copy,.auth-light .login-screen.has-custom-background .login-brand-meta{color:#fff;text-shadow:0 2px 12px #000}.auth-light .login-screen.has-custom-background .login-eyebrow{color:#9ff5e7}
.auth-light .login-card,.auth-light .login-screen.has-custom-background .login-card{border-color:#d9e2ec;color:#172334;background:#fffffff2;box-shadow:0 22px 58px #24374d2e;backdrop-filter:blur(18px)}
.auth-light .login-card-head{border-bottom-color:#e8edf3}.auth-light .login-card-head span{color:#168e7b}.auth-light .login-card-head span:before{background:#20b99f;box-shadow:0 0 9px #20b99f6e}.auth-light .login-field label{color:#526479}
.auth-light .login-card .input-wrap{border-color:#d6e0eb;background:#f4f7fa;box-shadow:inset 0 1px #fff}.auth-light .login-card .input-wrap:focus-within{border-color:#6178f4;box-shadow:0 0 0 3px #6178f419}.auth-light .login-card .input-wrap>span{color:#526fce;background:#e6ebfa}.auth-light .login-card input{color:#172334}.auth-light .login-card input::placeholder{color:#91a0b1}
.auth-light .login-card .primary.wide{color:#fff;background:#526ce8}.auth-light .login-links{border-top-color:#e6ebf1}.auth-light .login-links button{color:#637489}.auth-light .login-links button:first-child{color:#168e7b}.auth-light .login-assurance{color:#68798c;text-shadow:none}.auth-light .login-assurance i{background:#9eabba}
.auth-light .modal-backdrop:has(.register-modal){background:#e9eff5}.auth-light .register-modal{color:#172334;background:#edf2f7}.auth-light.has-custom-login-background .register-modal{background-color:transparent;background-image:var(--login-custom-bg)}
.auth-light .register-modal .modal-head,.auth-light.has-custom-login-background .register-modal .modal-head{border-bottom-color:#dce4ed;color:#172334;background:#fffffff0;box-shadow:0 9px 28px #26394d1e}.auth-light .register-modal .modal-head p{color:#6a7b8e}.auth-light .register-modal .modal-eyebrow{color:#168e7b}.auth-light .register-modal .modal-close{border-color:#d4dde7;color:#435569;background:#f1f5f8}
.auth-light .register-modal .field label{color:#526479}.auth-light .register-modal .field input,.auth-light .register-modal .field select{border-color:#d6e0eb;color:#172334;background:#fffffff2}.auth-light .register-modal .field input::placeholder{color:#91a0b1}.auth-light .register-modal .register-note{border-color:#dce4ec;color:#647589;background:#ffffffe8}
.auth-light .register-modal .modal-actions,.auth-light.has-custom-login-background .register-modal .modal-actions{border-top-color:#dce4ed;background:#fffffff2;box-shadow:0 -8px 28px #26394d1c}.auth-light .register-modal .modal-actions .ghost{border-color:#d6e0eb;color:#405267;background:#eef3f7}.auth-light .register-modal .modal-actions .primary{color:#fff;background:#526ce8}
@media(max-width:370px){.login-actions{gap:6px}.theme-toggle{width:36px;height:36px}.login-actions .lang-trigger{height:36px;padding:0 10px}.login-brand>.backend-logo{width:min(68vw,230px);height:82px}.login-brand{min-height:108px;margin-top:40px}}
@media(max-height:760px){.login-brand{min-height:85px;margin-top:36px}.login-brand>.backend-logo{width:min(58vw,218px);height:65px;max-width:none;max-height:none}.login-brand-meta{margin-top:3px}}
