body.swci-auth [hidden]{display:none!important}
/* The existing pre-three-role SWORLD login panel, isolated to the authentication page. */
body.swci-auth{margin:0;background:#f3f5fa;color:#17223b;font:15px/1.55 'Be Vietnam Pro',system-ui,sans-serif;min-height:100vh;box-sizing:border-box}
body.swci-auth *{box-sizing:border-box}
body.swci-auth button,body.swci-auth input{font:inherit}
body.swci-auth .swci-auth-top{height:78px;display:flex;align-items:center;gap:10px;padding:0 max(24px,calc((100vw - 1170px)/2));background:#fff;border-bottom:1px solid #dce4f0;color:#371698;font-weight:800}
body.swci-auth .swci-auth-mark{background:#371698;color:#fff;border-radius:11px;width:39px;height:39px;display:grid;place-items:center;font:800 21px 'Baloo 2',sans-serif}
body.swci-auth .swci-auth-top a{color:inherit;text-decoration:none;display:flex;gap:10px;align-items:center}
body.swci-auth .swci-login-panel{display:grid;grid-template-columns:.98fr 1.02fr;background:#fff;border:1px solid #e7e3f2;border-radius:24px;overflow:hidden;margin:clamp(30px,6vh,65px) auto 35px;max-width:1030px;min-height:465px;box-shadow:0 16px 45px rgba(41,30,117,.07)}
body.swci-auth .swci-login-illustration{background:#371698;color:white;padding:36px 42px 225px;position:relative;overflow:hidden}
body.swci-auth .swci-eyebrow{color:#ffde89;font-weight:700;font-size:12px;letter-spacing:.12em}
body.swci-auth .swci-login-illustration h2{font:800 clamp(29px,3vw,37px)/1.18 'Baloo 2','Be Vietnam Pro',sans-serif;margin:15px 0;color:white}
body.swci-auth .swci-login-illustration h2 em{font-style:normal;color:#9df5dd}
body.swci-auth .swci-login-illustration p{font-size:13px;color:#eee5ff;max-width:340px;margin:0}
body.swci-auth .swci-login-kids{position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);width:91%;max-height:245px;object-fit:contain;object-position:bottom}
body.swci-auth .swci-login-fields{padding:36px 48px;display:flex;flex-direction:column;justify-content:center}
body.swci-auth .swci-eyebrow.purple{color:#7757bd}
body.swci-auth .swci-login-fields h2{font:800 31px/1.2 'Baloo 2','Be Vietnam Pro',sans-serif;color:#21194a;margin:8px 0}
body.swci-auth .swci-login-fields p{font-size:13px;color:#58637b;line-height:1.7}
body.swci-auth .swci-auth-tabs{display:flex;gap:5px;background:#f2effb;padding:5px;border-radius:12px;margin:18px 0 7px}
body.swci-auth .swci-auth-tabs button{flex:1;border:0;background:transparent;color:#564985;border-radius:9px;padding:10px 8px;font-size:13px;cursor:pointer;font-weight:700}
body.swci-auth .swci-auth-tabs button[aria-pressed=true]{background:#fff;color:#371698;box-shadow:0 2px 9px #291e751c}
body.swci-auth .swci-login-fields form{display:flex;flex-direction:column;gap:8px}
body.swci-auth .swci-login-fields label{display:block;font-size:12px;font-weight:650;color:#302b58;margin-top:7px}
body.swci-auth .swci-login-fields input{border:1px solid #dedbea!important;box-shadow:none!important;background:#fff!important;color:#282347!important;min-height:46px;width:100%;border-radius:10px;padding:10px 14px;outline:none}
body.swci-auth .swci-login-fields input:focus-visible{border-color:#7455c1!important;outline:2px solid #e1d6f8;outline-offset:0}
body.swci-auth .swci-password{position:relative}
body.swci-auth .swci-password input{padding-right:65px}
body.swci-auth .swci-password button{position:absolute;right:7px;top:6px;border:0;background:#f1ecf8;color:#412f80;border-radius:7px;padding:7px 10px;font-size:12px;cursor:pointer}
body.swci-auth .swci-primary{background:#4f33b4;color:#fff;border:0;border-radius:10px;padding:13px 16px;margin-top:9px;cursor:pointer;font-size:14px;font-weight:700}
body.swci-auth .swci-primary:disabled{opacity:.7;cursor:wait}
body.swci-auth .swci-help{margin-top:18px!important;font-size:12px!important}
body.swci-auth .swci-login-error{color:#a01a3a!important;background:#fff2f5;border:1px solid #facfdb;border-radius:8px;padding:9px 12px;margin:8px 0}
body.swci-auth .swci-auth-current{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}
body.swci-auth .swci-auth-current a{color:#371698}
body.swci-auth .swci-auth-current button{border:0;border-radius:8px;padding:10px 15px;background:#371698;color:white;cursor:pointer}
body.swci-auth .swci-auth-footer{text-align:center;color:#797b91;font-size:12px;padding:2px 12px 28px}
.swci-auth-toolbar-form{display:flex;align-items:center;gap:7px;margin:0 0 0 12px;flex-wrap:wrap}
.swci-auth-toolbar-form button{font:600 12px 'Be Vietnam Pro',sans-serif;cursor:pointer;border-radius:8px;border:1px solid currentColor;padding:7px 9px;background:transparent;color:inherit;white-space:nowrap}
.swci-auth-toolbar-form .swci-auth-switch{background:rgba(255,255,255,.14)}
.swci-auth-toolbar-form .swci-auth-exit{opacity:.86}
@media(max-width:720px){body.swci-auth .swci-login-panel{grid-template-columns:1fr;margin:18px 14px 24px;min-height:0}body.swci-auth .swci-login-illustration{padding:23px 22px 110px}body.swci-auth .swci-login-kids{width:45%;min-width:145px;max-height:135px;left:auto;right:0;transform:none}body.swci-auth .swci-login-illustration h2{font-size:29px;max-width:66%}body.swci-auth .swci-login-illustration p{font-size:12px;max-width:60%}body.swci-auth .swci-login-fields{padding:26px 22px}}
@media(max-width:430px){.swci-auth-toolbar-form{margin-left:0;gap:3px}.swci-auth-toolbar-form button{font-size:10px;padding:6px}.swci-auth-toolbar-form .swci-auth-switch{display:none}}
