.login-main {
    min-height: calc(100vh - 82px);
    max-width: 1120px;
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: center;
    gap: 80px;
    padding: 64px 40px;
}
.login-intro h1 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    margin: 20px 0;
    color: #203e5d;
}
.login-intro p {
    color: #687b8c;
    font-size: 16px;
    line-height: 1.8;
    max-width: 370px;
}
.login-illustration {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 36px;
}
.login-illustration span {
    display: grid;
    place-items: center;
    width: 80px;
    height: 100px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 46px;
    border: 1px solid var(--accent-border);
    border-radius: 12px;
    transform: rotate(-8deg);
}
.login-illustration span:nth-child(2) {
    width: 110px;
    height: 120px;
    background: #fff;
    transform: rotate(4deg);
}
.login-illustration span:last-child {
    transform: rotate(10deg);
}
.login-card {
    background: white;
    border: 1px solid #e3e8ef;
    border-radius: 16px;
    box-shadow: 0 16px 48px #25364a08;
    padding: 36px;
}
.login-card h2 {
    margin: 16px 0 8px;
    font-size: 26px;
    letter-spacing: -0.6px;
}
.login-card p {
    color: #687b8c;
    line-height: 1.6;
}
.login-card form {
    display: grid;
    margin-top: 28px;
}
.login-card label {
    font-weight: 600;
    margin-bottom: 8px;
}
.login-card input:not([type='hidden']) {
    width: 100%;
    min-height: 46px;
    border: 1px solid #ccd6df;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 20px;
    color: inherit;
    background: #fff;
}
.login-card button {
    min-height: 46px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.login-card .login-help {
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
    font-size: 12px;
}
.login-error {
    padding: 12px;
    margin-top: 20px;
    background: #fff0ef;
    color: #9c3434;
    border: 1px solid #f0cccc;
    border-radius: 6px;
    line-height: 1.5;
}
@media (max-width: 800px) {
    .login-main {
        grid-template-columns: minmax(0, 420px);
        justify-content: center;
        gap: 32px;
        padding: 36px 20px;
    }
    .login-intro {
        text-align: center;
    }
    .login-intro p {
        margin: auto;
    }
    .login-illustration {
        display: none;
    }
    .login-card {
        padding: 28px;
    }
}
