.container--form {
    background: #f7f8fb;
    font-family: "Inter", serif;
}

.main__logo {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

/*Форма регистрации, входа, забыл пароль*/
.container--form {
    padding-top: 68px;
    padding-bottom: 68px;
}
.form {
    min-width: 360px;
    max-width: 364px;
    padding: 30px 20px;
    margin: 0 auto;
    background-color: #FFFFFF;
    -webkit-border-radius: 16px;
    border-radius: 16px;
}
.form > * {
    width: 100%;
}
.form__header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 30px;
}
.form__title {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 0;
}
.input-wrapper,
.form-group {
    position: relative;
}
.form__error {
    margin-bottom: 16px;
    margin-top: -12px;

    color: #c32518;
}
.invalid-feedback {
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #c32518;
    padding-bottom: 16px;
    margin-top: -12px;
}

.form__input.is-invalid {
    border: 2px solid #c32518;
}

.form__title,
.form__request {
    text-align: center;
}
.form--375 {
    max-height: 375px;
    min-height: 375px;
}
.form--375 .form__request--margin {
    margin: 111px 0 139px;
}
.form--250 {
    max-height: 250px;
    min-height: 250px;
}
.form--250 .form__request--margin {
    margin: 49px 0 63px;
}
.form__btn--top {
    margin-top: 24px;
}
.form--error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.form--error .form__request {
    color: #721c24;
}
.form--success {
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.form--success .form__request {
    color: #155724;
}
.form__input {
    margin-bottom: 16px;
    width: 100%;
}
.textarea {
    width: 100%;
    height: 104px;
    max-height: 104px;
    margin-bottom: 16px;
    padding: 12px 12px;
    border: 1px solid #F1F1F5;
    -webkit-border-radius: 8px;
    border-radius: 8px;

    text-align: left;

    background-color: #FAFAFB;
}
.form__link {
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 143%;
    color: #3259e8;
    cursor: pointer;
    -webkit-transition: 0.5s ease;
    -o-transition: 0.5s ease;
    transition: 0.5s ease;
    text-align: center;
}
.form__link:hover:not(.disabled) {
    color: #0E3C61;
    -webkit-transition: 0.5s ease;
    -o-transition: 0.5s ease;
    transition: 0.5s ease;
}
.form__link--bold {
    font-weight: 500;
}
.form__btn {
    width: 100%;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
}
.form__btn--login,
.form__btn--recovery-pass {
    margin-bottom: 24px;
}
.form__text {
    font-weight: 400;
    font-size: 12px;
    line-height: 133%;
    color: #626d7c;
}
.input-wrapper {
    position: relative;
}
.input-control {
    position: absolute;
    top: 10px;
    right: 14px;
    display: inline-block;
    width: 24px;
    height: 24px;
    border: none;
    background: url(../img/icon-eye.svg) 0 0 no-repeat;
    background-size: 100%;
    cursor: pointer;
}
.form__text--policy {
    display: block;
    vertical-align: middle;
    margin-bottom: 10px;
}
.form__text--policy input {
    margin-right: 10px;
    position: relative;
    bottom: -2px;
}

@media (max-width: 640px) {
    .form {
        min-width: 100vw;
        max-width: 100%;
        margin: 0 -16px;
        border-radius: 0;
    }
}