.login-page {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 48px 24px;
    background: #f4f3f7;
    color: #282332;
}
.login-shell { width: min(1000px, 100%); }
.login-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 556px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e3ef;
    border-radius: 22px;
    box-shadow: 0 24px 80px #30204c0b;
}
.login-identity {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 54px 48px 42px;
    background: #f0eaf8;
    border-right: 1px solid #e8e1f0;
}
.login-logo { display: block; width: 132px; height: 66px; object-fit: contain; object-position: left center; }
.login-identity-copy { margin-top: 58px; }
.login-kicker { margin: 0 0 17px; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: #88729c; }
.login-identity h1 { margin: 0; font-size: clamp(28px, 3vw, 34px); line-height: 1.5; font-weight: 650; letter-spacing: -.04em; }
.login-intro { margin: 20px 0 0; color: #746782; font-size: 14px; line-height: 1.9; }
.login-workflow { margin: auto 0 0; padding-top: 44px; display: flex; align-items: center; gap: 13px; color: #7b638f; font-size: 12px; }
.login-workflow i { display: block; width: 22px; height: 1px; background: #ccbedb; }
.login-card { display: flex; flex-direction: column; justify-content: center; padding: 60px 48px; border: 0; border-radius: 0; box-shadow: none; background: #fff; }
.login-card h2 { margin: 0; font-size: 25px; line-height: 1.4; font-weight: 650; letter-spacing: -.02em; }
.login-card > .muted { margin: 12px 0 32px; color: #87818e; font-size: 13px; line-height: 1.7; }
.login-form { display: grid; gap: 22px; }
.login-field > label { display: block; margin-bottom: 9px; color: #524b5c; font-size: 13px; font-weight: 500; }
.login-form .input { height: 48px; border-radius: 9px; border-color: #e4dfe9; padding-inline: 14px; background: #fcfbfd; font-size: 14px; }
.login-form .input:hover { border-color: #c8b9da; }
.login-form .input:focus { border-color: #8b59c5; box-shadow: 0 0 0 3px #8b59c514; background: #fff; }
.login-form .input::placeholder { color: #aaa3b2; }
.login-password { position: relative; }
.login-password .input { padding-right: 65px; }
.login-password-toggle { position: absolute; right: 5px; top: 5px; height: 38px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: #83728e; font-size: 12px; }
.login-password-toggle:hover { background: #f0eaf8; color: #7048b8; }
.login-password-toggle[hidden] { display: none; }
.login-form .login-submit { margin-top: 6px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-radius: 9px; color: #fff; background: #7848af; border-color: #7848af; box-shadow: 0 5px 14px #7848af15; }
.login-form .login-submit:hover { background: #683d9b; border-color: #683d9b; transform: none; }
.login-submit:disabled { cursor: wait; opacity: .7; }
.login-card .alert-danger { margin-bottom: 20px; padding: 12px 14px; line-height: 1.6; }
.login-foot { margin: 25px 0 0; color: #95909c; font-size: 11px; letter-spacing: .02em; }
.login-page :focus-visible { outline: 2px solid #8759b9; outline-offset: 3px; }
@media (max-width: 720px) {
    .login-page { padding: 24px 18px; }
    .login-shell { max-width: 460px; }
    .login-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 18px; }
    .login-identity { padding: 28px 30px; border-right: 0; border-bottom: 1px solid #e8e1f0; }
    .login-logo { width: 90px; height: 45px; }
    .login-identity-copy { margin-top: 22px; }
    .login-kicker, .login-workflow, .login-intro { display: none; }
    .login-identity h1 { font-size: 25px; }
    .login-identity h1 br { display: none; }
    .login-card { padding: 30px; }
    .login-card h2 { font-size: 22px; }
    .login-card > .muted { margin-bottom: 25px; }
}
