.auth-form {
    width: 800px;
}
.auth-form__form {
    display: none;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    align-items: center;
}
.auth-form__form.is-active {
    display: grid;
}
.auth-form__form--single {
    grid-template-columns: 1fr;
}
.auth-form__link {
    text-decoration: underline;
    cursor: pointer;
}
.auth-form__title,
.auth-form__switcher {
    display: none;
}
.auth-form__title.is-active,
.auth-form__switcher.is-active {
    display: block;
}
.auth-form__required {
    color: var(--text-accent);
}
.auth-form__form .input.is-invalid input,
.auth-form__form input.is-invalid {
    border-color: #e05a4f;
}
.auth-form__agree {
    font-size: 11px;
    opacity: .6;
}
.auth-form__agree a {
    text-decoration: underline;
}
.auth-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.auth-form__full {
    grid-column: 1 / -1;
}
.auth-page {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0 80px;
}
.auth-page__card {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    background: #fff;
    border-radius: 10px;
    padding: 48px 40px;
}
.auth-page__card--narrow {
    max-width: 520px;
}
.auth-page__title {
    font-family: var(--font-primary);
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 16px;
}
.auth-page__text {
    margin: 0 0 28px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
}
.auth-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.auth-page .auth-form {
    width: 100%;
}
.auth-page .auth-form__form.is-active {
    margin-top: 10px;
}
@media (max-width: 1200px) {
    .auth-form {
        max-width: calc(100svw - 60px);
    }
}
@media (max-width: 767px) {
    .auth-form,
    .auth-page .auth-form {
        width: 100%;
        max-width: none;
    }
    .auth-form__form {
        grid-template-columns: 1fr;
    }
    .auth-form__link {
        font-size: 14px;
        padding: 5px 0;
    }
    .auth-page {
        padding: 20px 0 50px;
    }
    .auth-page__card {
        padding: 28px 20px;
    }
    .auth-page__title {
        font-size: 24px;
    }
}
