:root{--auth-bg:#f4f7fb;--auth-card:#fff;--auth-text:#0f172a;--auth-muted:#64748b;--auth-border:#dbe4ef;--auth-accent:#147bf3}
html[data-theme="dark"]{--auth-bg:#07101b;--auth-card:#0d1b2e;--auth-text:#f8fafc;--auth-muted:#9cabc0;--auth-border:rgba(148,163,184,.24);--auth-accent:#2388ff}
.srms-auth-body{min-height:100vh;margin:0;overflow:hidden;color:var(--auth-text);background:var(--auth-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.srms-auth-theme-container{position:fixed;top:18px;right:18px;z-index:30}
.srms-theme-toggle-button{display:grid;place-items:center;width:42px;height:42px;padding:0;color:var(--auth-text);background:var(--auth-card);border:1px solid var(--auth-border);border-radius:11px;box-shadow:0 6px 18px rgba(2,6,23,.12);cursor:pointer}
.srms-theme-toggle-button:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:2px}

/* Login composition */
.login-page.auth-wrapper{display:flex;width:100%;height:100vh;min-height:100vh;overflow:hidden;background:#060b13}
.login-page .auth-left-panel,.login-page .auth-right-panel{height:100vh;min-height:0}
.login-page .auth-left-panel{position:relative;display:flex;flex:0 0 52%;align-items:center;justify-content:center;max-width:52%;padding:clamp(22px,2.5vw,42px) clamp(36px,4vw,72px);overflow:hidden;color:#f8fafc;background:radial-gradient(circle at 48% 36%,rgba(18,96,194,.18),transparent 40%),linear-gradient(145deg,#03070c 0%,#07101a 60%,#091729 100%)}
.login-page .auth-left-bg-pattern{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.45;background-image:linear-gradient(rgba(148,163,184,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.035) 1px,transparent 1px);background-size:40px 40px;mask-image:radial-gradient(ellipse at center,#000 34%,transparent 82%)}
.login-page .auth-left-decor-line-1,.login-page .auth-left-decor-line-2{display:none}
.login-page .auth-left-content{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;width:100%;max-width:820px;min-width:0;height:100%;margin:0 auto}
.login-page .auth-robot-stage{display:flex;align-items:center;justify-content:center;width:100%;height:min(58vh,620px);min-height:360px;margin:-22px 0 -4px}
.login-page .auth-robot-image{display:block;width:min(74%,560px);height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 22px 34px rgba(0,0,0,.42))}
.login-page .auth-slogan{display:flex;flex-direction:column;gap:1px;margin:0 0 10px;font-size:clamp(25px,2vw,36px);font-weight:750;line-height:1.06;letter-spacing:.015em}
.login-page .auth-slogan span{color:#dce5f2}.login-page .auth-slogan strong{color:#1685ff;font-weight:800}
.login-page .auth-brand-desc{max-width:690px;margin:0 0 18px;color:#b8c4d5;font-size:clamp(13px,.95vw,16px);line-height:1.5}
.login-page .auth-features-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
.login-page .auth-feature-item{display:flex;align-items:center;min-width:0;min-height:46px;padding:3px 18px;gap:10px;border-right:1px solid rgba(148,163,184,.18)}
.login-page .auth-feature-item:first-child{padding-left:0}.login-page .auth-feature-item:last-child{padding-right:0;border-right:0}
.login-page .auth-feature-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;color:#1685ff}.login-page .auth-feature-icon svg{width:22px;height:22px}
.login-page .auth-feature-info{min-width:0}.login-page .auth-feature-title{display:block;color:#cbd5e1;font-size:clamp(11px,.78vw,13px);font-weight:600;line-height:1.3}

.login-page .auth-right-panel{display:flex;flex:0 0 48%;align-items:center;justify-content:center;max-width:48%;padding:clamp(26px,3vw,54px);background:radial-gradient(circle at 78% 18%,rgba(35,136,255,.08),transparent 32%),#07101b}
.login-page .auth-card{width:100%;max-width:600px;padding:clamp(32px,3.1vw,50px);color:#f8fafc;background:radial-gradient(circle at 84% 15%,rgba(35,136,255,.12),transparent 32%),linear-gradient(145deg,#0d2038 0%,#0a182a 58%,#071423 100%);border:1px solid rgba(96,165,250,.22);border-radius:22px;box-shadow:0 24px 62px rgba(0,0,0,.34)}
.login-page .auth-login-brand{display:flex;align-items:center;gap:16px;margin-bottom:30px}.login-page .auth-login-brand img{display:block;width:clamp(142px,11vw,190px);height:auto;padding:7px 10px;object-fit:contain;background:#fff;border-radius:10px}
.login-page .auth-login-brand-copy{display:flex;flex-direction:column;min-width:0}.login-page .auth-login-brand-copy strong{color:#2388ff;font-size:22px;line-height:1;letter-spacing:.04em}.login-page .auth-login-brand-copy span{margin-top:6px;color:#c5d0df;font-size:9.5px;font-weight:600;line-height:1.3;letter-spacing:.11em}
.login-page .auth-card-header{margin-bottom:25px}.login-page .auth-card-icon{display:none}.login-page .auth-card-header h2{margin:0 0 6px;color:#f8fafc;font-size:clamp(25px,1.8vw,31px);font-weight:750;line-height:1.18;letter-spacing:-.02em}.login-page .auth-card-header p{margin:0;color:#aebbd0;font-size:14px;line-height:1.45}
.login-page .auth-form-group{margin-bottom:17px}.login-page .auth-form-group label{display:block;margin-bottom:7px;color:#f1f5f9;font-size:13px;font-weight:650}.login-page .auth-input-wrapper{position:relative;width:100%}
.login-page .auth-input-icon{position:absolute;top:50%;left:15px;z-index:2;display:grid;place-items:center;width:20px;height:20px;color:#8da0ba;pointer-events:none;transform:translateY(-50%)}.login-page .auth-input-icon svg{width:18px;height:18px}
.login-page input.form-control.srms-input{width:100%;height:54px!important;min-height:54px!important;padding:9px 16px!important;color:#f8fafc!important;background:rgba(4,15,29,.62)!important;border:1px solid rgba(148,163,184,.32)!important;border-radius:12px!important;font-size:14px!important;box-sizing:border-box}.login-page input.form-control.srms-input.has-left-icon{padding-left:50px!important}.login-page input.form-control.srms-input.has-right-icon{padding-right:50px!important}.login-page .srms-input::placeholder{color:#8595ad;opacity:1}.login-page input.form-control.srms-input:focus{color:#fff!important;background:#071629!important;border-color:#2388ff!important;outline:0;box-shadow:0 0 0 3px rgba(35,136,255,.16)!important}
.login-page input:-webkit-autofill,.login-page input:-webkit-autofill:hover,.login-page input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px #071629 inset!important;-webkit-text-fill-color:#f8fafc!important}
.login-page .auth-password-toggle{position:absolute;top:50%;right:7px;z-index:3;display:grid;place-items:center;width:36px;height:36px;padding:0;color:#8da0ba;background:transparent;border:0;border-radius:8px;cursor:pointer;transform:translateY(-50%)}.login-page .auth-password-toggle svg{width:18px;height:18px;flex:0 0 18px}
.login-page .auth-remember-row{margin:3px 0 20px}.login-page .srms-checkbox{width:17px;height:17px;margin:0;background-color:#081525;border:1px solid rgba(148,163,184,.4)}.login-page .srms-checkbox:checked{background-color:#147bf3;border-color:#147bf3}.login-page .auth-remember-row label{margin:0;color:#b5c1d2;font-size:13px}
.login-page .srms-primary-button{display:flex;align-items:center;justify-content:center;width:100%;height:50px;padding:0 18px;color:#fff;background:#147bf3;border:0;border-radius:12px;font-size:14px;font-weight:700;box-shadow:0 10px 24px rgba(20,123,243,.24)}.login-page .srms-primary-button:hover{color:#fff;background:#086ee3}.login-page .srms-primary-button:disabled{opacity:.72}
.login-page .auth-submit-label{display:inline-flex;align-items:center;justify-content:center;gap:10px;line-height:1}.login-page .auth-submit-label svg{display:block;width:19px!important;height:19px!important;min-width:19px;max-width:19px;flex:0 0 19px}
.login-page .auth-security-note{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:22px;color:#9cabc0;font-size:12px;line-height:1.4;text-align:center}.login-page .auth-security-note svg{display:block;width:18px!important;height:18px!important;min-width:18px;max-width:18px;flex:0 0 18px;color:#2388ff}
.login-page .srms-input.input-validation-error,.login-page .srms-input.is-invalid{border-color:#fb7185}.login-page .text-danger{color:#fda4af!important}.login-page .validation-summary-errors{margin-bottom:16px;padding:11px 14px;color:#fecdd3;background:rgba(190,18,60,.17);border:1px solid rgba(251,113,133,.34);border-radius:10px;font-size:12.5px}.login-page .validation-summary-errors ul{margin:0;padding-left:18px}

/* Access denied retains the shared authentication theme. */
.access-denied-wrapper{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px;background:var(--auth-bg)}
.access-denied-card{width:100%;max-width:460px;padding:44px 38px;color:var(--auth-text);text-align:center;background:var(--auth-card);border:1px solid var(--auth-border);border-radius:20px;box-shadow:0 18px 50px rgba(15,23,42,.12)}
.access-denied-icon{display:inline-grid;place-items:center;width:64px;height:64px;margin-bottom:18px;color:#ef4444;background:rgba(239,68,68,.1);border-radius:50%}.access-denied-card h1{margin:0 0 10px;font-size:24px}.access-denied-card p{margin:0 0 26px;color:var(--auth-muted);line-height:1.55}

@media (max-height:820px) and (min-width:992px){.login-page .auth-left-panel{padding-block:16px}.login-page .auth-robot-stage{height:52vh;min-height:280px;margin-top:-12px}.login-page .auth-brand-desc{margin-bottom:12px}.login-page .auth-right-panel{padding-block:20px}.login-page .auth-card{padding-block:28px}.login-page .auth-login-brand{margin-bottom:22px}.login-page .auth-card-header{margin-bottom:19px}.login-page .auth-security-note{margin-top:17px}}
@media (min-width:768px) and (max-width:1100px){.login-page .auth-left-panel{flex-basis:46%;max-width:46%;padding-inline:24px}.login-page .auth-right-panel{flex-basis:54%;max-width:54%;padding-inline:24px}.login-page .auth-robot-stage{height:43vh;min-height:280px}.login-page .auth-robot-image{width:88%}.login-page .auth-features-list{grid-template-columns:1fr;gap:2px}.login-page .auth-feature-item,.login-page .auth-feature-item:first-child,.login-page .auth-feature-item:last-child{min-height:36px;padding:2px 0;border-right:0}.login-page .auth-card{padding:30px 26px}.login-page .auth-login-brand{margin-bottom:24px}}
@media (max-width:767.98px){.srms-auth-body{overflow-x:hidden;overflow-y:auto}.login-page.auth-wrapper{flex-direction:column;height:auto;min-height:100vh;overflow:visible}.login-page .auth-right-panel,.login-page .auth-left-panel{flex:none;width:100%;max-width:none;height:auto}.login-page .auth-right-panel{order:1;min-height:100svh;padding:66px 16px 24px}.login-page .auth-card{max-width:560px;padding:26px 22px}.login-page .auth-login-brand{justify-content:center;margin-bottom:24px}.login-page .auth-login-brand img{width:145px}.login-page .auth-login-brand-copy strong{font-size:20px}.login-page .auth-login-brand-copy span{max-width:160px;font-size:8px}.login-page .auth-left-panel{order:2;padding:28px 20px 32px}.login-page .auth-left-content{height:auto}.login-page .auth-robot-stage{height:clamp(190px,55vw,240px);min-height:0;margin:0 0 10px}.login-page .auth-robot-image{width:min(82%,330px)}.login-page .auth-slogan{font-size:23px}.login-page .auth-brand-desc{margin-bottom:0;font-size:13px}.login-page .auth-features-list{display:none}}
@media (max-width:420px){.srms-auth-theme-container{top:12px;right:12px}.login-page .auth-right-panel{padding-inline:12px}.login-page .auth-card{padding:24px 18px;border-radius:18px}.login-page .auth-login-brand{flex-direction:column;gap:9px}.login-page .auth-login-brand-copy{align-items:center;text-align:center}.login-page .auth-card-header h2{font-size:23px}}
@media (prefers-reduced-motion:reduce){.login-page *,.srms-theme-toggle-button{transition:none!important}}
