* { box-sizing: border-box; }

body {
    margin: 0;
    color: #1e3a5f;
    background: #f5f6fa;
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.login-shell {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 42px;
    background: #fff;
    border: 1px solid #e7edf4;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(25, 52, 84, .10);
}

.login-logo { text-align: center; margin-bottom: 15px; }
.login-logo img { display: block; width: 205px; max-width: 100%; height: auto; margin: 0 auto; }
.login-system-name { margin: 0 auto 24px; padding-bottom: 18px; border-bottom: 1px solid #e7edf4; text-align: center; font-family: 'Plus Jakarta Sans', sans-serif; }
.login-system-acronym { display: block; color: #0e3d6e; font-size: 45px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.login-system-title { display: block; margin-top: 1px; color: #687181; font-size: clamp(10px, 3vw, 14px); font-weight: 600; letter-spacing: .015em; line-height: 1.4; }
.login-field { margin-bottom: 20px; }
.login-field label { display: block; margin-bottom: 8px; color: #334b68; font-size: 13px; font-weight: 700; }
.login-input { position: relative; }
.login-input > i { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); color: #8b9aae; font-size: 15px; pointer-events: none; }
.login-input input { width: 100%; height: 50px; padding: 0 15px 0 45px; border: 1px solid #dce4ed; border-radius: 9px; outline: none; background: #fafbfd; color: #1e3a5f; font: inherit; font-size: 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.login-input input::placeholder { color: #a1adbb; }
.login-input input:focus { background: #fff; border-color: #3066a0; box-shadow: 0 0 0 3px rgba(48, 102, 160, .12); }
.login-input-password input { padding-right: 50px; }
.login-password-toggle { position: absolute; right: 4px; top: 4px; width: 42px; height: 42px; border: 0; border-radius: 7px; background: transparent; color: #71839a; cursor: pointer; font-size: 15px; }
.login-password-toggle:hover { color: #1e3a5f; background: #edf3f9; }
.login-password-toggle:focus-visible { outline: 2px solid #3066a0; outline-offset: -3px; }
.login-submit { width: 100%; height: 50px; margin-top: 6px; border: 0; border-radius: 9px; background: #1e3a5f; color: #fff; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; transition: background .2s, transform .2s; }
.login-submit:hover { background: #28517e; }
.login-submit:active { transform: translateY(1px); }
.login-submit:focus-visible { outline: 3px solid #8db5df; outline-offset: 3px; }
.login-submit i { margin-left: 7px; font-size: 12px; }
.login-alert { margin-bottom: 20px; padding: 12px 14px; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.login-alert-error { color: #9b2633; background: #fff0f1; }
.login-alert-info { color: #245481; background: #edf5fc; }
.login-page-footer { max-width: 420px; margin-top: 24px; color: #71839a; text-align: center; font-size: 11px; line-height: 1.6; }
.login-footer-colors { display: block; width: 48px; height: 3px; margin: 0 auto 10px; border-radius: 2px; background: linear-gradient(to right, #f8b800 0 33%, #009d4e 33% 66%, #0862bd 66%); }
.login-footer-separator { padding: 0 3px; }

@media (max-width: 480px) {
    .login-shell { padding: 18px; }
    .login-card { padding: 32px 24px; }
    .login-logo { margin-bottom: 22px; }
}
