/* Dedicated user authentication: dashboard themes do not leak into this page. */
@font-face{font-family:Inter;src:url('/static/fonts/inter-variable.ttf') format('truetype');font-weight:100 900;font-display:swap}
@font-face{font-family:Plex;src:url('/static/fonts/plex-arabic-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Plex;src:url('/static/fonts/plex-arabic-semibold.ttf') format('truetype');font-weight:600 800;font-display:swap}
*{box-sizing:border-box}
html[dir] body.user-auth{margin:0;min-height:100svh;background:#f1f4f9;color:#152238;font:14px/1.6 Inter,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased;position:relative;isolation:isolate}
html[dir=rtl] body.user-auth{font-family:Plex,'Segoe UI',sans-serif}
.user-auth::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(#bcc9dc 1px,transparent 1px);background-size:24px 24px;opacity:.5}
.user-auth h1,.user-auth h2,.user-auth p{margin:0}
.user-auth a{color:inherit;text-decoration:none}
.user-auth button,.user-auth input{font:inherit}
.user-auth button{cursor:pointer}
.user-auth svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.user-auth :is(a,button,input):focus-visible{outline:3px solid #83acfa;outline-offset:4px}
.auth-header{max-width:1344px;margin:auto;padding:26px 32px;display:flex;justify-content:space-between;align-items:center;gap:24px;direction:ltr}
.auth-brand{display:inline-flex;align-items:center;gap:11px;font:650 25px/1 Inter,sans-serif;letter-spacing:-1px;direction:ltr}
.auth-brand-mark{width:39px;height:39px;display:grid;place-items:center;border-radius:10px;background:#1d5bdf;color:#fff;box-shadow:0 3px 7px #1d5bdf18}
.auth-brand-mark svg{width:25px;height:25px;stroke-width:2.2}
.auth-brand-period{color:#2364e8}
.user-auth .language-switch{height:40px;min-height:40px;padding:8px 13px;border:1px solid #d9e0eb;border-radius:8px;background:#fff;color:#48566c;font-size:13px;line-height:1.5}
.user-auth .language-switch:hover{border-color:#b7c7df;background:#f0f4fb}
.auth-layout{display:grid;grid-template-columns:1.05fr 1fr;max-width:1280px;min-height:calc(100svh - 184px);margin:0 auto;border:1px solid #dee5ef;border-radius:22px;background:#fff;box-shadow:0 18px 54px #243b5b08;overflow:hidden}
.auth-intro{background:#112139;color:#fff;padding:46px 54px 32px;display:flex;flex-direction:column;justify-content:center;position:relative;isolation:isolate}
.auth-intro::before{content:'';position:absolute;inset:0;background-image:linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);background-size:42px 42px;z-index:-1;pointer-events:none}
.auth-kicker{display:flex;align-items:center;gap:9px;color:#c0d1e9;font-size:11px;font-weight:600;letter-spacing:1.1px;text-transform:uppercase}
.auth-kicker>span{width:5px;height:5px;border-radius:50%;background:#79aaff;box-shadow:0 0 0 4px #79aaff10}
.auth-intro h2{font-size:46px;font-weight:600;line-height:1.23;letter-spacing:-1.5px;margin-top:27px}
.auth-intro h2>span{color:#86b4ff}
html[dir=rtl] .auth-intro h2{font-size:46px;line-height:1.45;letter-spacing:-.4px}
.auth-intro-copy{color:#b8c8df;line-height:1.9;font-size:14px;margin-top:17px!important;max-width:410px}
.auth-network{background:#162941;border:1px solid #314660;border-radius:13px;margin:35px 0 29px;box-shadow:0 10px 30px #050e1b12;overflow:hidden}
.auth-network-top{padding:14px 17px;border-bottom:1px solid #2b3f59;display:flex;align-items:center;justify-content:space-between;color:#c6d4e8;font:600 12px/1.4 Inter,sans-serif;letter-spacing:-.2px}
.auth-network-mark{display:inline-flex;color:#6a86ac}
.auth-network-mark svg{width:15px;height:15px}
.auth-network-flow{display:flex;align-items:center;justify-content:center;padding:29px 25px}
.auth-device{width:44px;height:66px;flex-shrink:0;color:#90aed6}
.auth-device>svg{width:44px;height:66px;stroke-width:1.3}
.auth-device-m{stroke:#a9caff;stroke-width:1.6}
.auth-flow-line{flex:1;min-width:10px;height:1px;background:#45628a;position:relative}
.auth-flow-line::after{content:'';position:absolute;width:4px;height:4px;background:#78a9f3;top:-1.5px;left:50%;border-radius:50%}
.auth-network-hub{width:48px;height:48px;border:1px solid #5184ce;border-radius:12px;display:grid;place-items:center;color:#b8d4ff;background:#203e65;box-shadow:0 0 0 6px #27477030;flex-shrink:0}
.auth-network-hub>svg{width:26px;height:26px;stroke-width:1.9}
.auth-protocols{display:grid;gap:5px;width:108px;flex-shrink:0}
.auth-protocols>span{display:flex;align-items:center;justify-content:space-between;border:1px solid #3b5575;border-radius:5px;background:#1b304b;padding:6px 8px;color:#b9cce7;font:500 10px/1.2 Inter,sans-serif}
.auth-protocols i{height:3px;width:3px;background:#79aaff;border-radius:50%}
.auth-network-bottom{border-top:1px solid #2b3f59;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#a9bdd9;font-size:11px}
html[dir=rtl] .auth-network-bottom{direction:rtl}
.auth-network-bottom>svg{height:16px;width:16px;color:#78a9f3}
html[dir=rtl] .auth-network-bottom>svg{transform:scaleX(-1)}
.auth-benefits{list-style:none;margin:0;padding:0;display:grid;gap:15px}
.auth-benefits li{display:flex;align-items:center;gap:12px;color:#d2deef;font-size:13px}
.auth-benefits svg{width:19px;height:19px;color:#82a3cf}
.auth-intro-foot{padding-top:31px;font-size:11px;color:#8fa5c2}
.auth-form-panel{display:flex;flex-direction:column;justify-content:center;padding:44px 58px 24px;min-width:0}
.auth-form-content{width:100%;max-width:368px;margin:auto}
.auth-form-symbol{width:44px;height:44px;display:grid;place-items:center;background:#eef4ff;border:1px solid #dfe9fb;border-radius:12px;color:#2d65c9;margin-bottom:23px}
.auth-form-symbol svg{width:22px;height:22px}
.auth-overline{color:#627086;font-size:12px;font-weight:500;margin-bottom:5px!important}
.auth-form-heading h1{font-size:30px;line-height:1.4;font-weight:650;letter-spacing:-1px;color:#14263f}
html[dir=rtl] .auth-form-heading h1{font-size:30px;letter-spacing:-.3px;font-weight:600}
.auth-form-description{font-size:13px;color:#627086;line-height:1.8;margin-top:9px!important}
.auth-form{margin-top:27px}
.auth-field{margin-bottom:20px}
.auth-field label{display:block;font-size:13px;font-weight:600;color:#35445c;margin-bottom:8px}
.auth-field input{display:block;width:100%;min-width:0;height:47px;border:1px solid #d7dfeb;background:#fff;color:#22324b;padding:11px 13px;border-radius:8px;font-size:14px;transition:border-color .15s,box-shadow .15s}
.auth-field input::placeholder{color:#78869a;font-size:13px;opacity:1}
.auth-field input:hover{border-color:#b0c1d9}
.auth-field input:focus{outline:none;border-color:#3578e8;box-shadow:0 0 0 3px #3578e815}
.auth-field input[dir=ltr]{text-align:start}
.auth-hint{font-size:11px;color:#68778c;margin-top:7px!important;line-height:1.8}
.auth-password-wrap{position:relative;direction:ltr}
.auth-password-wrap:has(.auth-password-toggle:not([hidden])) input{padding-right:49px}
.auth-password-toggle{position:absolute;right:5px;top:5px;display:grid;place-items:center;width:37px;height:37px;padding:8px;border:0;border-radius:6px;background:transparent;color:#70809a}
.auth-password-toggle[hidden]{display:none}
.auth-password-toggle:hover{background:#f0f4fa;color:#2658a4}
.auth-password-toggle svg{width:19px;height:19px}
.auth-eye-slash{display:none}
.auth-password-toggle[aria-pressed=true] .auth-eye-slash{display:block}
.auth-submit{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;min-height:47px;border:1px solid #2460d9;background:#2460d9;color:#fff;border-radius:8px;font-size:14px;font-weight:600;box-shadow:0 3px 6px #2460d918;padding:11px 16px;margin-top:25px;transition:background .15s}
.auth-submit:hover{background:#1c50bf;border-color:#1c50bf}
.auth-submit svg{width:18px;height:18px}
html[dir=rtl] .auth-submit svg{transform:scaleX(-1)}
.auth-switch{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;font-size:12px;color:#67768a;margin-top:21px;line-height:1.9}
.auth-switch a{color:#215cc9;font-weight:600;text-decoration:underline;text-decoration-color:#b6caec;text-underline-offset:4px}
.auth-switch a:hover{color:#173f8c}
.auth-panel-foot{display:flex;align-items:center;justify-content:center;gap:7px;border-top:1px solid #e9edf3;color:#6d7c90;font-size:11px;padding-top:19px;margin-top:30px}
.auth-panel-foot svg{width:14px;height:14px}
.auth-page-footer{max-width:1280px;margin:0 auto;padding:22px 0 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#6c7c92;font-size:11px}
.auth-page-footer>a{display:inline-flex;align-items:center;gap:6px}
.auth-page-footer>a:hover{color:#265cc1}
.auth-page-footer svg{width:13px;height:13px}
html[dir=rtl] .auth-page-footer svg{transform:scaleX(-1)}
.auth-message{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.8;border:1px solid;border-radius:8px;padding:12px 14px;margin-top:23px}
.auth-message svg{width:17px;height:17px;margin-top:2px}
.auth-message-error{color:#a22e3b;border-color:#f0ced4;background:#fff5f6}
.auth-message-info{color:#395881;border-color:#d7e3f5;background:#f3f7ff}
/* Plex Arabic has a smaller visual size than Inter at the same CSS size. */
html[dir=rtl] .auth-field label{font-size:14px}
html[dir=rtl] .auth-form-description,html[dir=rtl] .auth-intro-copy{font-size:15px}
html[dir=rtl] .auth-benefits li{font-size:14px}
html[dir=rtl] .auth-overline,html[dir=rtl] .auth-switch{font-size:13px}
html[dir=rtl] .auth-hint,html[dir=rtl] .auth-panel-foot,html[dir=rtl] .auth-page-footer{font-size:12px}
html[dir=rtl] .auth-submit{font-size:15px}
html[dir=rtl] .auth-field input::placeholder{font-size:14px}
@media(max-width:1344px){.auth-layout{margin-inline:32px}.auth-page-footer{margin-inline:32px}.auth-intro{padding-inline:42px}.auth-form-panel{padding-inline:42px}}
@media(max-width:950px){.auth-intro{padding:37px 27px 30px}.auth-intro h2{font-size:34px}html[dir=rtl] .auth-intro h2{font-size:35px}.auth-form-panel{padding:36px 30px 24px}.auth-network-flow{padding-inline:14px}.auth-protocols{width:90px}.auth-benefits li{font-size:12px}}
@media(max-width:760px){.auth-header{padding:21px 24px}.auth-brand{font-size:23px}.auth-brand-mark{width:34px;height:34px;border-radius:9px}.auth-layout{display:block;min-height:0;max-width:480px;margin:8px auto 0;border-radius:17px}.auth-intro{display:none}.auth-form-panel{padding:34px 34px 23px}.auth-form-content{max-width:none}.auth-form-symbol{margin-bottom:22px}.auth-form-heading h1{font-size:28px}.auth-page-footer{max-width:480px;padding-top:20px;margin:auto}.auth-field input{font-size:16px;height:49px}.auth-field{margin-bottom:20px}.auth-submit{min-height:49px}}
@media(max-width:530px){.auth-header{padding:20px}.auth-layout{margin:8px 20px 0}.auth-form-panel{padding:29px 23px 21px}.auth-page-footer{margin-inline:20px}.auth-form-symbol{width:41px;height:41px}.auth-form-description{font-size:12px}.auth-hint{font-size:11px}.auth-brand{font-size:22px}.auth-header{gap:12px}.auth-switch{font-size:12px}}
@media(prefers-reduced-motion:reduce){.user-auth *{transition:none!important}}
.auth-forgot{display:inline-block;margin-top:10px;color:#215cc9!important;font-size:12px;font-weight:600}
.auth-legal-links{display:flex;gap:18px;flex-wrap:wrap;justify-content:center}
.auth-hint a,.recovery-help a{color:#215cc9;text-decoration:underline;text-underline-offset:3px}
.recovery-layout{min-height:620px}.recovery-benefits{margin-top:40px!important}.recovery-help{margin-top:24px!important}
@media(max-width:760px){.recovery-layout{min-height:0}.auth-page-footer{flex-wrap:wrap;justify-content:center}.auth-legal-links{gap:14px}}
