.error_msg{
    font-weight: 300;
    font-size: 10px;
    line-height: 12px;
    color: #FF4A46;
    margin-bottom: 28px;
}
input[name='new_user_password']{
    margin-bottom: 28px;
}
.error_msg__password{
    margin: 0;
}
.error_msg__all{
    font-weight: 300;
    font-size: 16px;
    line-height: 16px;
    color: #FF4A46;
    margin: 0;
}
.login__modal{
    display: none;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 37px 68px 37px 60px;
    position: relative;
}
.popup__close_btn{
    position: absolute;
    top: 21px;
    right: 21px;
    cursor: pointer;
}
.is-close{
    display: none;
}
.modal__grid{
    display: grid;
    grid: 1fr/ auto auto;
    column-gap: 74px;
}
.modal__descr h2{
    font-weight: 700;
    font-size: 30px;
    line-height: 32px;
    margin-bottom: 11px;
}
.modal__descr p{
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 21px;
}
.modal__form_wrapper h1{
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
    margin-bottom: 24px;
}
.modal__form_wrapper{
    display: flex;
    flex-direction: column;
}
.modal__form{
    display: flex;
    flex-direction: column;
    width: 431px;
}
.modal__form_registration{
    display: flex;
    flex-direction: column;
    width: 431px;
}
.modal__form_chage_pass{
    display: flex;
    flex-direction: column;
    width: 431px;
}
.login__form_input{
    background: #F3F2F2;
    border: 1px solid #D1D1D1;
    border-radius: 5px;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    padding: 15px 15px 15px 24px;
}
.login__form_input_error{
    background: #FEBCB4;
    border: 1px solid #FF7471;
    margin: 0;
}
.login__form_checkbox{
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
}
.modal__form input[name='user_password']{
    margin-bottom: 0;
}
.modal__form_registration input[name='user_password']{
    margin-bottom: 0;
}
.input_wrapper{
    margin-top: 11px;
    margin-bottom: 24px;
}
.input_wrapper span a{
    margin-left: 22px;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #000;
}
.modal__form_chage_pass .login__form_submit{
    margin-top: 20px;
}
.login__form_submit{
    background-color: #3f2aff;
    border-radius: 5px;
    padding: 15px 111px;
    color: #fff;
    border: none;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    transition: .3s ease-in-out;
}
.login__form_submit:hover{
    background-color: #2d16fb;
}
.login__form_span{
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
}
.login__form_span a{
    color: #000;
}
.login__modal h3{
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
}
@media (max-width: 1200px){
    .login__modal{
        padding: 37px 25px;
    }
    .modal__grid {
        display: grid;
        grid: auto 1fr/ auto;
        column-gap: 44px;
    }
    .modal__form{
        display: flex;
        flex-direction: column;
        width: unset;
    }
    .modal__form_registration{
        display: flex;
        flex-direction: column;
        width: unset;
    }
    
    .modal__descr{
        grid-row-start: 1;
    }
    .modal__descr svg{
        display: none;
    }
}
@media (max-width: 768px){
    .modal__descr h2 {
        font-size: 22px;
        line-height: 22px;
    }
    .modal__form_wrapper h1{
        font-size: 21px;
        line-height: 21px;
    }
    .login__form_input{
        font-size: 16px;
        line-height: 18px;
        padding: 10px 15px 10px 15px;
    }
    .error_msg{
        font-weight: 300;
        font-size: 10px;
        line-height: 12px;
        color: #FF4A46;
        margin-bottom: 25px;
    }
    input[name='new_user_password']{
        margin-bottom: 25px;
    }
    .error_msg__password{
        margin: 0;
    }
    .error_msg__all{
        font-weight: 300;
        font-size: 16px;
        line-height: 16px;
        color: #FF4A46;
        margin: 0;
    }
    .login__modal h3{
        font-weight: 700;
        font-size: 16px;
        line-height: 19px;
    }
}
@media (max-width: 480px){
    .login__form_submit{
        padding: 15px 0;
    }
    .modal__descr h2 {
        font-size: 20px;
        line-height: 20px;
    }
    .modal__form_wrapper h1{
        font-size: 18px;
    }
    .login__form_input{
        font-size: 14px;
        padding: 5px 10px;
    }
    .error_msg{
        font-weight: 300;
        font-size: 10px;
        line-height: 12px;
        color: #FF4A46;
        margin-bottom: 17px;
    }
    input[name='new_user_password']{
        margin-bottom: 17px;
    }
    .error_msg__password{
        margin: 0;
    }
    .error_msg__all{
        font-weight: 300;
        font-size: 16px;
        line-height: 16px;
        color: #FF4A46;
        margin: 0;
    }
}