.auth-page {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, #eef4ff 0%, #f8fafc 48%, #f7fbf9 100%);
}

.login-card {
    width: min(100%, 440px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
    animation: slideIn 220ms ease;
}

.brand-mark {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.brand-mark img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.login-heading h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
}

.login-heading p:last-child {
    margin: 10px 0 24px;
    color: var(--muted);
    line-height: 1.5;
}

.form-stack {
    display: grid;
    gap: 10px;
}

.form-stack label {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.password-control {
    position: relative;
}

.password-control input {
    padding-right: 70px;
}

.password-control .text-button {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
}

.check-row {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    margin: 2px 0 8px;
    cursor: pointer;
}

.check-row input {
    width: 16px;
    min-height: 16px;
}

.login-card .status-message {
    margin-right: 0;
    margin-left: 0;
}

@media (max-width: 520px) {
    .auth-page {
        padding: 16px;
    }

    .login-card {
        padding: 24px 18px;
    }

    .login-heading h1 {
        font-size: 24px;
    }
}
