#forgot_pasword,
#login {
    width: 586px;
}

.login-form {
    margin: 115px 0 0;
    padding: 36px 0;
}

.login-form__wrapper {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.login-form__wrapper > div {
    width: 50%;
}

.login-form__banner {
    display: flex;
    justify-content: end;
    align-items: start;
    flex-direction: column;
    padding: 64px;
    height: 648px;
    background: linear-gradient(270deg, rgba(31, 51, 87, .07) 0%, rgba(31, 51, 87, .65) 100%), url('../../img/login-banner.png') 0 / cover no-repeat, #072650;
    color: #fff;
}

.login-form__banner__title {
    font-size: 48px;
    line-height: 48px;
    text-transform: uppercase;
    margin: 16px 0;
}

.login-form__banner__caption {
    font-size: 16px;
    line-height: 22px;
    width: 70%;
    margin: 0;
}

.login-form__form-wrapper {
    display: flex;
    justify-content: end;
    align-items: center;
}

.login_form__headline {
    text-transform: uppercase;
    text-align: center;
    color: #1F3357;
    margin-bottom: 47px;
    font-size: 20px;
    line-height: 22px;
}

.login_form__description {
    font-size: 16px;
    line-height: 22px;
    font-weight: 300;
    color: #1F3357;
    text-align: center;
}

.login-form__fields {
    display: flex;
    gap: 16px;
}

.login-form__field {
    width: 50%;
}

.login-form__field .form-input {
    padding: 12px 16px;
    border-radius: unset;
    border: 1px solid #9E9E9E;
    width: 100%;
    max-width: 285px;
}

.login-form__field .form-label {
    color: #1F3357;
}

.login-form__forgot {
    text-align: right;
    padding: 9px 0;
}

.login-form__forgot__link {
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    text-decoration: none;
    color: #1F3357;
}

.login-form__submit-button {
    padding: 8px 16px !important;
    text-transform: uppercase;
}

.login-form__submit-button:not(:hover) {
    background: #193661 !important;
}

.login-form__registration {
    margin-top: 16px;
    color: #1F3357 !important;
    font-size: 16px !important;
    text-align: center;
}

.login-form__registration .link {
    font-weight: bold !important;
    text-decoration: none;
    font-size: 16px !important;
    color: #1F3357 !important;
}

.login-form__footer {
    display: flex;
    gap: 16px;
}

@media (max-width: 728px) {
    .login-form {
        margin: 0;
        padding: 32px 16px;
    }

    .login-form__wrapper {
        flex-direction: column;
    }


    .login-form__wrapper > div {
        width: 100%;
    }

    .login-form__banner {
        padding: 24px;
        height: 192px;
    }

    .login-form__banner__title {
        font-size: 24px;
        line-height: 28px;
        margin: 12px 0;
    }

    .login-form__banner__caption {
        font-size: 14px;
        line-height: 18px;
        width: 100%;
    }

    .login_form__headline {
        margin-bottom: 24px;
    }

    .login-form__fields {
        flex-direction: column;
    }

    .login-form__field {
        width: 100%;
    }

    .login-form__field .form-input {
        max-width: 100%;
    }
}

/** Forgot password */

.form__inner {
    box-shadow: none !important;
    padding: 0 !important;
}

#reset-password-form .login-form__field,
#forgot_pasword .login-form__field {
    width: 100%;
}

#reset-password-form .login-form__field .form-input,
#forgot_pasword .login-form__field .form-input {
    max-width: 100%;
}

#reset-password-form .login_form__headline,
#forgot_pasword .login_form__headline {
    margin-bottom: 16px;
}

#forgot_pasword .login-form__registration {
    text-align: left;
}

#forgot_pasword .login-form __registration:last-child {
    text-align: right;
}

.form__head.success {
    display: none;
}

.form__head.success.active {
    display: block;
}

.form__head.default.hidden {
    display: none;
}

div.nsl-container.nsl-container-block .nsl-container-buttons {
    display: flex !important;
    grid-template-columns: minmax(145px, auto) !important;
    gap: 8px;
}


@media screen and (max-width: 728px) {
    div.nsl-container.nsl-container-block .nsl-container-buttons {
        flex-direction: column !important;
    }
}