/* Alpha 12 - follows SOFIMA ERP's container-tight / card-md / Tabler login proportions.
   Scoped to auth screens only; no dependency on the ERP Vite build. */
:root{--sofima-bg:#f3f6fa;--sofima-text:#192b3c;--sofima-muted:#697b90;--sofima-blue:#126ac1;--sofima-border:#e5e8ec}
*{box-sizing:border-box}
body.sofima-auth-body{margin:0;min-height:100vh;background:var(--sofima-bg);display:flex;justify-content:center;align-items:center;color:var(--sofima-text);font:14px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;padding:24px 12px}
.sofima-auth-container{width:100%;max-width:512px}
.sofima-auth-brand{text-align:center;margin-bottom:24px}
.sofima-auth-brand img{display:block;width:92px;height:86px;object-fit:contain;margin:0 auto 12px}
.sofima-auth-brand h1{font-size:24px;font-weight:500;line-height:1.3;margin:0 0 4px;color:#101828;letter-spacing:normal}
.sofima-auth-tagline{font-size:14px;color:var(--sofima-muted);line-height:1.55;margin:0}
.sofima-auth-tagline small{font-size:13px}
.sofima-auth-card{background:#fff;border:1px solid var(--sofima-border);border-radius:9px;padding:30px 31px 33px;box-shadow:0 2px 6px #21344a05}
.sofima-auth-card h2{text-align:center;font-size:21px;font-weight:500;line-height:1.35;margin:0 0 28px;color:#17283c}
.sofima-auth-card .form-label{font-size:13px;font-weight:600;margin-bottom:8px;color:#263c53}
.sofima-auth-card .form-control{height:43px;min-height:43px;border:1px solid #dfe5ec;border-radius:7px;font-size:14px;padding:9px 12px;color:#27394b;background-color:#fff;box-shadow:0 1px 3px #1c35500a}
.sofima-auth-card .form-control:focus{border-color:#78aee8;box-shadow:0 0 0 3px #1e7ed126}
.sofima-input-wrap{position:relative}.sofima-input-wrap .form-control{padding-left:41px}
.sofima-input-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#97a7b5;pointer-events:none;line-height:1;display:inline-flex;align-items:center}
.sofima-auth-link{text-align:right;margin:8px 0 16px;font-size:13px}
.sofima-auth-link a,.sofima-auth-back a{color:#0870c7;text-decoration:none}.sofima-auth-link a:hover,.sofima-auth-back a:hover{text-decoration:underline}
.sofima-auth-remember{margin-bottom:19px}
.sofima-auth-remember .form-check{display:flex;gap:10px;align-items:center;cursor:pointer;padding-left:0;margin-bottom:0}
.sofima-auth-remember .form-check-input{width:17px;height:17px;margin:0;flex-shrink:0;cursor:pointer;border-color:#d9dfe5}
.sofima-auth-remember .form-check-label{font-size:14px;color:#344255}
.sofima-auth-submit{height:43px;min-height:43px;border-radius:7px;background:linear-gradient(180deg,#2381d9,#0965bd);border:1px solid #0965bd;font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:7px}
.sofima-auth-submit:hover,.sofima-auth-submit:focus{background:#095dae;border-color:#095dae}
.sofima-auth-intro{font-size:13px;color:#6b7788;line-height:1.6;text-align:center;margin:-10px 0 25px}
.sofima-auth-back{margin:20px 0 0;text-align:center;font-size:13px}
.sofima-auth-footer{text-align:center;margin:19px 0 0;color:#8090a0;font-size:13px}
@media(max-width:550px){body.sofima-auth-body{align-items:flex-start;padding:20px 14px}.sofima-auth-card{padding:26px 22px 28px}.sofima-auth-brand img{width:83px;height:78px}.sofima-auth-brand h1{font-size:23px}}
