.erp-login { --ink: #17233d; --muted: #65738a; --blue: #254dcc; box-sizing: border-box; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 32px 20px; margin: 0; background: #f1f3f7; color: var(--ink); font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.erp-login *, .erp-login *::before, .erp-login *::after { box-sizing: border-box; }
.login-shell { width: 100%; max-width: 440px; border: 1px solid #e4e8ef; border-top: 3px solid var(--blue); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 14px 50px #18223c0a; }
.eyebrow { font-size: 10px; line-height: 1.5; letter-spacing: 1.4px; font-weight: 600; }
.signin-panel { padding: 36px 40px 28px; background: #fff; }
.signin-content { width: 100%; }
.signin-heading { text-align: center; }
.company-logo { display: block; width: 84px; height: 84px; object-fit: contain; margin: 0 auto 18px; }
.erp-login svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.signin-heading .eyebrow { color: #65738a; margin: 0 0 10px; font-size: 9px; letter-spacing: 1.8px; }
.signin-heading h2 { margin: 0; font-size: 36px; font-weight: 600; letter-spacing: -1.3px; line-height: 1.25; }
.signin-heading > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 12px 0 34px; }
.field-group { margin-bottom: 21px; }
.field-group > label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 9px; color: #354057; }
.input-wrap { position: relative; }
.field-icon { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); color: #8b97aa; pointer-events: none; }
.input-wrap input { width: 100%; min-height: 52px; border: 1px solid #dfe3eb; border-radius: 9px; padding: 13px 46px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; transition: border-color .18s, box-shadow .18s; }
.input-wrap input::placeholder { color: #6d7890; opacity: 1; }
.input-wrap input:hover { border-color: #b7c2d6; }
.input-wrap input:focus { outline: none; border-color: #5378df; box-shadow: 0 0 0 4px #254dcc0c; }
.input-wrap input[aria-invalid="true"] { border-color: #bf5353; }
.password-toggle { display: grid; place-items: center; position: absolute; right: 5px; top: 5px; width: 42px; height: 42px; padding: 0; background: transparent; color: #77859b; border: 0; border-radius: 7px; cursor: pointer; }
.password-toggle[hidden] { display: none; }
.password-toggle:hover { color: var(--blue); background: #f3f6fd; }
.eye-slash { display: none; }.password-toggle[aria-pressed="true"] .eye-slash { display: block; }
.form-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 2px 0 28px; font-size: 11px; }
.remember-option { display: flex; gap: 8px; align-items: center; color: #657187; cursor: pointer; min-height: 24px; }
.remember-option input { width: 15px; height: 15px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.form-options a { color: var(--blue); text-decoration: none; font-weight: 600; padding: 4px 0; }
.form-options a:hover { text-decoration: underline; }
.signin-button { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 52px; width: 100%; border: 1px solid #254dcc; border-radius: 9px; background: var(--blue); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 5px 12px #254dcc18; transition: background .18s, transform .18s; }
.signin-button:hover { background: #1d3faf; }.signin-button:active { transform: translateY(1px); }
.erp-login button:focus-visible, .erp-login a:focus-visible, .remember-option input:focus-visible { outline: 3px solid #8aa8ff; outline-offset: 3px; }
.signin-help { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 27px; padding-top: 25px; border-top: 1px solid #e9ecf1; color: #657187; font-size: 11px; line-height: 1.7; text-align: center; }
.signin-help span { width: 4px; height: 4px; flex-shrink: 0; border-radius: 50%; background: #9aabc4; }
.signin-footer { width: 100%; display: flex; justify-content: space-between; gap: 12px; color: #6f7a8d; font-size: 10px; letter-spacing: .3px; padding-top: 24px; }
.form-notice, .form-error { padding: 13px 15px; border-radius: 8px; font-size: 12px; line-height: 1.65; margin-bottom: 22px; overflow-wrap: anywhere; }
.form-notice { background: #edf6f1; color: #32654a; border: 1px solid #d9e9df; }.form-error { background: #fff3f3; color: #9b3939; border: 1px solid #f1dcdc; }
.form-error strong { font-weight: 600; }.form-error ul { margin: 5px 0 0; padding-left: 17px; }
@media (max-width: 480px) {
    .erp-login { padding: 20px 14px; }
    .signin-panel { padding: 28px 24px 24px; }
    .signin-heading h2 { font-size: 30px; }
    .signin-heading .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
    .input-wrap input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .erp-login *, .erp-login *::before, .erp-login *::after { transition: none !important; } }