
html.login-page-root {
    min-height: 100%;
    background: #0b203a;
}
body.crm-body.login-page {
    min-height: 100vh;
    min-height: 100svh;
    background: linear-gradient(90deg, rgba(5, 23, 48, .72), rgba(8, 30, 59, .28)),
        #0b203a url("../img/van.jpg") center / cover no-repeat;
    background-attachment: fixed;
    color: #102540;
}
.login-page::before { display: none; }
.login-page .auth-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    padding: 48px clamp(24px, 5vw, 96px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.login-page .auth-card {
    box-sizing: border-box;
    display: block;
    width: min(480px, 100%);
    padding: clamp(28px, 3vw, 48px);
    border: 1px solid #e2e7ee;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 80px #03132c66;
}
.login-page .auth-brand { padding: 0; background: none; text-align: center; }
.login-page .auth-logo { width: min(300px, 100%); height: auto; max-height: 110px; object-fit: contain; }
.login-page .auth-brand .login-portal {
    margin: 18px 0 36px;
    color: #526078;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .28em;
}
.login-page .auth-form { padding: 0; display: grid; gap: 12px; }
.login-page .auth-form h1 {
    margin: 0;
    color: #102540;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.2;
    letter-spacing: -.04em;
}
.login-page .login-intro { margin: 0 0 16px; color: #5a677c; line-height: 1.5; }
.login-page .auth-form label { margin-top: 8px; color: #102540; }
.login-page .auth-form input:not([type="hidden"]) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 12px 14px;
    border: 1px solid #bfc9d6;
    border-radius: 8px;
    background: #fff;
    color: #102540;
    font-size: 16px;
}
.login-page .auth-form input:focus-visible,
.login-page .auth-form button:focus-visible { outline: 3px solid #397ebc; outline-offset: 3px; }
.login-password { position: relative; }
.login-page .auth-form .login-password input { padding-right: 72px; }
.login-page .password-toggle {
    position: absolute;
    right: 4px;
    top: 4px;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: #354e70;
    font-size: 14px;
    cursor: pointer;
}
.login-page .auth-form > .button {
    min-height: 52px;
    margin-top: 16px;
    border: 0;
    border-radius: 8px;
    background: #d20e32;
    color: #fff;
    font-size: 17px;
    letter-spacing: 0;
    text-transform: none;
}
.login-page .auth-form > .button:hover { background: #b60929; }
.login-page .login-footer {
    margin: 20px 0 0;
    padding-top: 24px;
    border-top: 1px solid #e0e5ed;
    color: #647187;
    text-align: center;
    font-size: 13px;
}
@media (max-width: 640px) {
    body.crm-body.login-page { background-position: 65% center; background-attachment: scroll; }
    .login-page .auth-shell { padding: 24px 16px; align-items: center; }
    .login-page .auth-card { padding: 28px 24px; border-radius: 16px; }
    .login-page .auth-brand .login-portal { margin-bottom: 28px; }
}
