/* Shared shell for the custom (Layout = Theme.GetEmptyLayout()) auth pages — Login, SetPassword,
   etc. Pixel-matched to the SmartDX Admin Platform v2 design's authShell()/authField()/btn(). */
html, body { margin: 0; padding: 0; }
.sdxl-page {
    --sdxl-ff: 'Lexend Deca', Helvetica, Arial, sans-serif;
    --sdxl-bg: #F4F5F7; --sdxl-s: #FFFFFF; --sdxl-s2: #FAFAFA; --sdxl-s3: #F2F2F2;
    --sdxl-t9: #141414; --sdxl-t7: #333333; --sdxl-t5: #666666; --sdxl-t3: #8A8A8A;
    --sdxl-bd: #EDEDED;
    --sdxl-br: #F26336;
    --sdxl-brg: rgba(242,99,54,.16);
    --sdxl-ok: #10B981; --sdxl-oks: rgba(16,185,129,.10);
    --sdxl-err: #EF4444; --sdxl-errs: rgba(239,68,68,.10);
    --sdxl-warn: #F59E0B; --sdxl-warns: rgba(245,158,11,.10);
    --sdxl-inf: #3B82F6; --sdxl-infs: rgba(59,130,246,.10);
    --sdxl-rsm: 4px; --sdxl-rmd: 6px; --sdxl-rlg: 10px;
    --sdxl-sh1: 0 1px 2px rgba(38,45,118,.10), 0 1px 3px rgba(15,22,45,.06);
    font-family: var(--sdxl-ff);
    min-height: 100vh; display: flex; background: var(--sdxl-bg); position: relative; overflow: hidden;
}
.sdxl-brand {
    width: 42%; min-width: 380px; display: flex; flex-direction: column; justify-content: space-between;
    padding: 44px; position: relative; overflow: hidden;
    background: linear-gradient(150deg, #0D2624 0%, #123B34 55%, #1B5247 100%);
}
.sdxl-circle-1 { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(242,99,54,.22); top: -90px; inset-inline-end: -70px; }
.sdxl-circle-2 { position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(245,212,145,.14); bottom: 40px; inset-inline-start: -60px; }
.sdxl-logo-row { position: relative; display: flex; align-items: center; gap: 11px; }
.sdxl-logo-box { background: #fff; border-radius: 8px; padding: 8px 12px; display: inline-flex; }
.sdxl-logo-box img { height: 30px; object-fit: contain; }
.sdxl-brand-copy { position: relative; color: #fff; }
.sdxl-headline { font-size: 30px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 14px; }
.sdxl-subtext { font-size: 14px; font-weight: 300; opacity: .7; line-height: 1.6; max-width: 380px; }
.sdxl-compliance { position: relative; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.5); font-size: 12px; font-weight: 300; }
.sdxl-form-panel { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; position: relative; }
.sdxl-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sdxl-lang-toggle { flex-shrink: 0; min-width: 34px; height: 32px; padding: 0 10px; border-radius: var(--sdxl-rmd); border: 1px solid var(--sdxl-bd); background: var(--sdxl-s); color: var(--sdxl-t5); font-size: 11px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.sdxl-card { width: 100%; max-width: 380px; }
.sdxl-card-wide { max-width: 460px; }
.sdxl-title { font-size: 22px; font-weight: 600; color: var(--sdxl-t9); margin-bottom: 4px; }
.sdxl-subtitle { font-size: 13px; font-weight: 300; color: var(--sdxl-t5); margin-bottom: 22px; line-height: 1.55; }
.sdxl-back-link { font-size: 12px; font-weight: 600; color: var(--sdxl-t5); display: inline-flex; align-items: center; gap: 5px; margin-bottom: 18px; text-decoration: none; }
.sdxl-back-link:hover { color: var(--sdxl-t7); }
.sdxl-field { margin-bottom: 15px; }
.sdxl-label { display: block; font-size: 12px; font-weight: 600; color: var(--sdxl-t7); margin-bottom: 6px; }
.sdxl-req { color: var(--sdxl-err); }
.sdxl-input-wrap { position: relative; }
.sdxl-input-icon { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); color: var(--sdxl-t3); pointer-events: none; font-size: 14px; }
.sdxl-input { width: 100%; box-sizing: border-box; padding: 11px 12px; padding-inline-start: 36px; border-radius: var(--sdxl-rmd); border: 1px solid var(--sdxl-bd); background: var(--sdxl-s2); font-size: 13.5px; font-weight: 300; color: var(--sdxl-t9); outline: none; font-family: var(--sdxl-ff); }
.sdxl-input:focus { border-color: var(--sdxl-br); box-shadow: 0 0 0 3px var(--sdxl-brg); }
.sdxl-input.input-validation-error { border-color: var(--sdxl-err); background: var(--sdxl-errs); }
.sdxl-input-pw { padding-inline-end: 64px; }
.sdxl-eye-icon { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); color: var(--sdxl-t3); cursor: pointer; font-size: 14px; }
.sdxl-caps-icon { position: absolute; inset-inline-end: 34px; top: 50%; transform: translateY(-50%); color: var(--sdxl-br); font-size: 14px; }
.sdxl-err-msg { display: none; align-items: center; gap: 5px; font-size: 11.5px; color: var(--sdxl-err); margin-top: 5px; }
.sdxl-err-msg:has(span:not(:empty)) { display: flex; }
.sdxl-banner { display: flex; align-items: flex-start; gap: 9px; padding: 11px 13px; border-radius: var(--sdxl-rmd); margin-bottom: 16px; font-size: 12.5px; font-weight: 500; line-height: 1.45; }
.sdxl-banner i { margin-top: 1px; font-size: 15px; }
.sdxl-banner-danger { background: var(--sdxl-errs); border: 1px solid rgba(221,51,29,.25); color: var(--sdxl-err); }
.sdxl-banner-warning { background: var(--sdxl-warns); border: 1px solid rgba(217,119,6,.25); color: var(--sdxl-warn); }
.sdxl-banner-info { background: var(--sdxl-infs); border: 1px solid rgba(63,129,232,.18); color: var(--sdxl-inf); font-weight: 400; font-size: 11.5px; }
.sdxl-banner-info i { font-size: 14px; }
.sdxl-row { display: flex; align-items: center; justify-content: space-between; margin-top: -4px; margin-bottom: 18px; }
.sdxl-remember { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 300; color: var(--sdxl-t5); cursor: pointer; margin: 0; }
.sdxl-checkbox { accent-color: var(--sdxl-br); width: 14px; height: 14px; }
.sdxl-forgot { font-size: 12px; font-weight: 600; color: var(--sdxl-br); text-decoration: none; }
.sdxl-forgot:hover { color: var(--sdxl-br); text-decoration: underline; }
.sdxl-btn-primary { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px; font-family: var(--sdxl-ff); font-size: 13px; font-weight: 400; border-radius: var(--sdxl-rmd); border: none; background: var(--sdxl-br); color: #fff; cursor: pointer; box-shadow: var(--sdxl-sh1); transition: box-shadow .12s ease, transform .05s ease; text-decoration: none; }
.sdxl-btn-primary:hover { box-shadow: inset 0 0 0 999px rgba(0,0,0,.06); }
.sdxl-btn-primary:active { transform: translateY(.5px); }
.sdxl-btn-primary:disabled { opacity: .6; cursor: not-allowed; }

/* Password strength meter + rules checklist (authReset()/authCreate() authField companions) */
.sdxl-pw-meter { margin-bottom: 14px; }
.sdxl-pw-meter-bars { display: flex; gap: 4px; margin-bottom: 5px; }
.sdxl-pw-meter-bars > div { flex: 1; height: 4px; border-radius: 2px; background: var(--sdxl-s3); transition: background .2s; }
.sdxl-pw-meter-label { font-size: 11px; font-weight: 600; }
.sdxl-pw-checklist { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.sdxl-pw-checklist-item { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 300; color: var(--sdxl-t5); }
.sdxl-pw-checklist-item.ok { color: var(--sdxl-ok); }
.sdxl-pw-checklist-item i { font-size: 12px; }

/* Result/status screens (authResetDone()/authInviteExpired()) */
.sdxl-result-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 24px; }
.sdxl-result-icon-ok { background: var(--sdxl-oks); color: var(--sdxl-ok); }
.sdxl-result-icon-err { background: var(--sdxl-errs); color: var(--sdxl-err); }

/* Kill GetEmptyLayout's wrapper card — margin/padding/border/shadow zeroed, full bleed */
html, body, #lpx-wrapper, .lpx-content { height: 100%; margin: 0 !important; padding: 0 !important; }
#lpx-wrapper .lpx-content .card {
    margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
    box-shadow: none !important; width: 100%; max-width: none;
}
#lpx-wrapper .lpx-content .card .card-body { padding: 0 !important; }
/* dev-login-helper.js injects "Default username/password" hint spans as siblings of card-body — hide */
#lpx-wrapper .lpx-content .card > span.text-muted.small { display: none !important; }
