.popup-window.popup-window-with-titlebar#loginPopup{
    width: 400px;
}
.loginPopup_info{
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    text-align: center;
    margin-bottom: 32px;
}
#loginPopup input {
    border: 1px solid var(--main_text_gray);
    border-radius: 6px;
    outline: none;
    padding: 16px;
    color: var(--main_text_black);
    font-size: 14px;
    height: 50px;
    width: 100%;
    margin-bottom: 8px;
}
#loginPopup input::placeholder {
    color: #9EA8AE;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}
#loginPopup input:focus {
    border: 1px solid var(--main-txt);
}
#loginPopup input.error {
    border: 1px solid var(--main_error);
}
#loginPopup label {
    display: block;
    margin: 10px 0 16px;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    padding-left: 26px;
    position: relative;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}
#loginPopup label::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 19px;
    height: 19px;
    border: 1px solid #C4C4C4;
    border-radius: 2px;
}
#loginPopup input:checked + label::before {
    background: url("../images/check-symbol.svg") no-repeat center;
    background-size: cover;
    border: none;
}
#loginPopup .loginPopup_message {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
    text-align: left;
}
.loginPopup_message.loginPopup_error {
    color: red;
}
.loginPopup_message.loginPopup_success {
    color: #82E88C;
}
.loginPopup_links {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.loginPopup_links a {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: var(--blue-link);
    transition: 0.2s all linear;
    border-bottom: 1px solid transparent;
}
.loginPopup_links a:hover {
    border-bottom: 1px solid var(--blue-link);
    color: var(--blue-link);
}
#loginPopup .popup-window-titlebar-text {
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
}
#loginPopup .popup-window-content {
    margin-bottom: 0;
}
#loginPopup button {
    margin-top: 38px;
}
@media(max-width: 500px){
    .popup-window.popup-window-with-titlebar#loginPopup{
        width: calc(100% - 40px);
        padding: 40px 20px 20px;
    }
    #loginPopup button{
        height: 46px;
    }
}