.auth-page {
    display: flex;
    justify-content: center;
}

.auth-card {
    width: min(100%, 860px);
    padding: 28px;
}

.auth-card--narrow {
    max-width: 560px;
}

.auth-header {
    margin-bottom: 18px;
}

.auth-header h1 {
    margin: 6px 0 8px;
}

.auth-header p {
    margin: 0;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-help {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: -4px;
}

.auth-help__link {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
}

.auth-help__link:hover {
    text-decoration: underline;
}

.hp-field {
    position: absolute;
    left: -99999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-alert {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.form-alert strong {
    display: block;
    margin-bottom: 6px;
}

.form-alert ul {
    margin: 8px 0 0 18px;
    padding: 0;
}

.form-alert--error {
    border: 1px solid rgba(219, 95, 103, .25);
    background: rgba(255, 255, 255, .72);
}

.form-alert--success {
    border: 1px solid rgba(38, 180, 109, .25);
    background: rgba(255, 255, 255, .78);
}

@media (max-width: 720px) {
    .auth-actions {
        flex-direction: column;
    }

    .auth-actions .btn {
        width: 100%;
    }
}
