/* SCMS - full-screen split login (login, forgot, reset). Load after laravel.css. */
html body.login-body{padding:0!important;display:block!important;min-height:100vh;background:var(--surface)!important}
html body .login{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);max-width:none!important;width:100%!important;min-height:100vh;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--surface)!important}
/* art panel */
html body .login-art{position:relative;overflow:hidden;padding:56px 7%!important;align-items:flex-start!important;justify-content:center!important;text-align:start!important;gap:0!important;color:#fff;
 background:radial-gradient(900px 500px at 15% 0%,rgba(249,50,44,.28),transparent 60%),radial-gradient(700px 500px at 100% 100%,rgba(99,102,241,.22),transparent 60%),linear-gradient(160deg,#0B1220,#111B2E 55%,#0B1220)!important}
html body .login-art::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:radial-gradient(ellipse at 30% 40%,#000 20%,transparent 75%);mask-image:radial-gradient(ellipse at 30% 40%,#000 20%,transparent 75%);pointer-events:none}
html body .login-art>*{position:relative}
html body .login-art img{width:84px!important;height:auto;border-radius:18px!important;padding:8px!important;background:#fff!important;box-shadow:0 12px 30px rgba(0,0,0,.35)}
html body .login-art h1{font-size:clamp(1.8rem,3vw,2.6rem)!important;letter-spacing:0!important;line-height:1.25;margin:28px 0 8px!important;font-weight:700;max-width:520px}
html body .login-art p{font-size:1.05rem;opacity:.75!important;margin:0 0 30px!important;max-width:520px}
html body .login-art .stripes{display:none}
.la-feats{list-style:none;margin:0;padding:0;display:grid;gap:14px;max-width:520px}
.la-feats li{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.05);backdrop-filter:blur(6px)}
.la-feats i{flex:0 0 34px;height:34px;border-radius:10px;background:#F9322C;display:grid;place-items:center}
.la-feats svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.la-feats b{display:block;font-size:.95rem;font-weight:600}.la-feats span{display:block;font-size:.84rem;opacity:.7;margin-top:2px}
.la-foot{margin-top:34px;font-size:.8rem;opacity:.5}
/* form panel */
html body .login-form{width:100%;max-width:420px;margin:0 auto;padding:48px 24px!important;justify-content:center;gap:16px!important}
html body .login-form h2{font-size:1.7rem!important;font-weight:700;margin:0 0 4px;letter-spacing:-.01em}
.lf-sub{margin:-8px 0 4px;color:var(--muted);font-size:.92rem}
html body .login-form label{gap:6px!important;font-size:.88rem;font-weight:600;color:var(--text)}
html body .login-form input,html body .login-form select{height:46px;padding:0 14px!important;border-radius:10px!important;border:1px solid var(--border)!important;background:var(--surface)!important;font-size:.95rem;transition:border-color .15s,box-shadow .15s}
html body .login-form input:focus,html body .login-form select:focus{outline:0;border-color:var(--lv-accent)!important;box-shadow:0 0 0 4px var(--lv-accent-soft)}
html body .lt-tabs{background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:4px;gap:4px;margin:0 0 4px}
html body .lt-tabs button{border:0!important;border-radius:9px!important;padding:9px 10px!important;font-weight:600;font-size:.88rem;color:var(--muted)!important;background:transparent!important}
html body .lt-tabs button.on{background:var(--surface)!important;color:var(--text)!important;box-shadow:0 1px 3px rgba(17,24,39,.12)}
html body .forgot{margin:-6px 0 0!important;font-size:.86rem;color:var(--lv-accent-600)!important;font-weight:600}
html body .login-form .btn.lg{height:48px;border-radius:10px;font-size:1rem;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:4px}
html body .login-form .pill.alt{align-self:center;margin-top:6px;border-radius:999px;font-size:.85rem;padding:7px 16px}
.pwbox{position:relative;display:block}.pwbox input{width:100%;padding-inline-end:46px!important}
.pwbox button{position:absolute;inset-block:0;inset-inline-end:4px;width:40px;border:0;background:transparent;color:var(--muted);cursor:pointer;display:grid;place-items:center}
.pwbox button svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* theme toggle stays corner */
@media(max-width:900px){
 html body .login{grid-template-columns:1fr}
 html body .login-art{padding:28px 22px!important;align-items:center!important;text-align:center!important}
 html body .login-art img{width:64px!important}html body .login-art h1{margin:14px 0 4px!important;font-size:1.4rem!important}
 html body .login-art p{margin:0!important}.la-feats,.la-foot{display:none}
 html body .login-form{padding:28px 20px 40px!important}
}
html[data-theme="dark"] body .lt-tabs button.on{background:#374151!important;color:#fff!important}
html[data-theme="dark"] body .login-form .btn.lg{background:var(--lv-accent)!important;color:#fff!important}
html[data-theme="dark"] body .login-form .btn.lg:hover{background:var(--lv-accent-600)!important}
html[data-theme="dark"] body form.login-form button.btn.lg{background:#F9322C!important;background-color:#F9322C!important;color:#fff!important;border-color:transparent!important}
html[data-theme="dark"] body .lt-tabs button.on{background:#374151!important;color:#fff!important}

/* ---- modern fields & buttons ---- */
.fld{position:relative;display:block}
.fld .fi{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);width:19px;height:19px;stroke:var(--muted);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;transition:stroke .15s}
.fld:focus-within .fi{stroke:var(--lv-accent)}
html body .login-form .fld input,html body .login-form .fld select{width:100%;padding-inline-start:44px!important}
html body .login-form .pwbox.fld input{padding-inline-end:46px!important}
html body .login-form input,html body .login-form select{height:50px;border-radius:12px!important;background:var(--surface-2)!important;border:1.5px solid transparent!important;box-shadow:inset 0 0 0 1px var(--border);font-weight:500}
html body .login-form input:hover,html body .login-form select:hover{box-shadow:inset 0 0 0 1px #9CA3AF}
html body .login-form input:focus,html body .login-form select:focus{background:var(--surface)!important;border-color:var(--lv-accent)!important;box-shadow:0 0 0 4px var(--lv-accent-soft)}
html body .login-form select{appearance:none;-webkit-appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:calc(100% - 14px) center!important}
html[dir=rtl] body .login-form select{background-position:14px center!important}
html body .login-form .btn.lg,html body form.login-form button.btn.lg{height:52px;border:0!important;border-radius:12px;color:#fff!important;font-weight:700;letter-spacing:.01em;background:linear-gradient(135deg,#F9322C,#D9241F)!important;box-shadow:0 8px 20px -6px rgba(249,50,44,.55),inset 0 1px 0 rgba(255,255,255,.2);transition:transform .15s,box-shadow .15s,filter .15s}
html body .login-form .btn.lg:hover{transform:translateY(-2px);box-shadow:0 14px 26px -8px rgba(249,50,44,.6),inset 0 1px 0 rgba(255,255,255,.2);filter:brightness(1.05)}
html body .login-form .btn.lg:active{transform:translateY(0);box-shadow:0 4px 10px -4px rgba(249,50,44,.5)}
html body .login-form .btn.lg svg{transition:transform .2s}
html body .login-form .btn.lg:hover svg{translate:4px 0}html[dir=rtl] body .login-form .btn.lg:hover svg{translate:-4px 0}
html body .lt-tabs{border:0;background:var(--surface-2);border-radius:14px;padding:5px}
html body .lt-tabs button{border-radius:10px!important;padding:11px 10px!important}
html body .lt-tabs button.on{box-shadow:0 2px 8px rgba(17,24,39,.12)}
html body .login-form .pill.alt{border:1.5px solid var(--border);background:transparent;transition:background .15s}
html body .login-form .pill.alt:hover{background:var(--surface-2)}
html[data-theme="dark"] body .login-form input,html[data-theme="dark"] body .login-form select{background:#1B2434!important}
html body form.login-form .fld input[type=password],html body form.login-form .fld input[type=text]{background:var(--surface-2)!important;border:1.5px solid transparent!important;box-shadow:inset 0 0 0 1px var(--border)!important}
html body form.login-form .fld input:focus{background:var(--surface)!important;border-color:var(--lv-accent)!important;box-shadow:0 0 0 4px var(--lv-accent-soft)!important}
html[data-theme="dark"] body form.login-form .fld input{background:#1B2434!important}
html[data-theme="dark"] body form.login-form button.btn.lg,html[data-theme="dark"] body form.login-form button.btn.lg *{background-image:linear-gradient(135deg,#F9322C,#D9241F)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-theme="dark"] body form.login-form button.btn.lg svg{background:none!important;stroke:#fff}

/* fix: icon overlap + autofill colour (override older padding rules) */
html[dir=ltr] body form.login-form .fld input,html[dir=ltr] body form.login-form .fld select{padding-left:46px!important;padding-right:14px!important}
html[dir=rtl] body form.login-form .fld input,html[dir=rtl] body form.login-form .fld select{padding-right:46px!important;padding-left:14px!important}
html[dir=ltr] body form.login-form .pwbox input{padding-right:48px!important}
html[dir=rtl] body form.login-form .pwbox input{padding-left:48px!important}
html[dir=ltr] body form.login-form .fld select{padding-right:40px!important}
html[dir=rtl] body form.login-form .fld select{padding-left:40px!important}
html body form.login-form .fld input:-webkit-autofill,html body form.login-form .fld input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 100px var(--surface-2) inset!important;-webkit-text-fill-color:var(--text)!important;caret-color:var(--text);transition:background-color 9999s}
html[data-theme="dark"] body form.login-form .fld input:-webkit-autofill{-webkit-box-shadow:0 0 0 100px #1B2434 inset!important}
html body form.login-form .fld .fi{z-index:2}
html body form.login-form .pwbox button{z-index:2}
html[dir=ltr] body form.login-form .pwbox button{right:4px;left:auto}html[dir=rtl] body form.login-form .pwbox button{left:4px;right:auto}

/* beat laravel.css's long :not() input selector */
html body form.login-form .fld input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]){height:50px;border-radius:12px!important;background-color:var(--surface-2)!important;border:1.5px solid transparent!important;box-shadow:inset 0 0 0 1px var(--border)!important}
html[dir=ltr] body form.login-form .fld input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]){padding-left:46px!important;padding-right:14px!important}
html[dir=rtl] body form.login-form .fld input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]){padding-right:46px!important;padding-left:14px!important}
html[dir=ltr] body form.login-form .pwbox input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]){padding-right:48px!important}
html[dir=rtl] body form.login-form .pwbox input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]){padding-left:48px!important}
html body form.login-form .fld input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):focus{background-color:var(--surface)!important;border-color:var(--lv-accent)!important;box-shadow:0 0 0 4px var(--lv-accent-soft)!important}
html[data-theme="dark"] body form.login-form .fld input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]){background-color:#1B2434!important}
