.btn-reset {
    background-color: unset;
    border: 0;
    padding: 0;
}

.popup-user {
    box-sizing: border-box;
    position: fixed;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 620px;
    padding: 0 15px;
    z-index: 7;
    * {
        box-sizing: border-box;
    }
    &.active{
        display: block;
    }
}

.popup-user__form {
    background-color: #262626;
    border: 1px solid #606060;
    border-radius: 30px;
    padding: 80px 60px 30px 60px;
    position: relative;

    form{
        display: none;
        &.active{
            display: block;
        }
    }
}


.popup-user__head {
    display: flex;
    gap: 40px;
    position: relative;
    margin-bottom: 30px;
    &::after{
        display: block;
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #a9a9a9;
    }
}


.popup-user__head-btn {
    font-weight: 500;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    line-height: normal;
    padding-bottom: 15px;
    z-index: 1;
    &.active{
         border-bottom: 1px solid #7936ff;
    }
}


.popup-user__inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}


.popup-user__label {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 13px 10px;
    background-color: #212121;
    border: 1px solid #515151;
    border-radius: 10px;
}


.popup-user__input {
    background-color: transparent;
    border: 0;
    outline: unset;
    color: white;
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
    font-weight: 400;
    font-size: 22px;
    line-height: normal;
    &::placeholder{
        color: #5c5c5c;
    }
}


.popup-user__submit {
    background-color: #7936ff;
    padding: 13px;
    border-radius: 15px;

    font-weight: 500;
    font-size: 20px;
    color: #fff;

    width: 100%;
    text-align: center;
    
    margin-bottom: 20px;

    cursor: pointer;

    line-height: normal;
}

.popup-user__forgot{
    font-weight: 400;
    font-size: 18px;
    color: #7936ff;
    line-height: normal;
    text-align: left;
}

.popup-user__text {
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: #5c5c5c;
    max-width: 350px;
    padding: 0;
    margin: 0 auto;
    line-height: normal;

}

.popup-user__close{
    position: absolute;
    top: 30px;
    right: 45px;
    cursor: pointer;

}


.overlay {
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    z-index: 5;
    inset: 0;
    display: none;
    &.active{
        display: block;
    }
}

@media(max-width: 576px) {
    .popup-user__form{
        padding: 15px;
        border-radius: 20px;
    }
    .popup-user__head{
        gap: 70px;
        padding-bottom: 10px;
    }
    .popup-user__head-btn{
        font-size: 20px;
    }
    .popup-user__inputs{
        gap: 5px;
    }
    .popup-user__label{
        padding: 8px;
        gap: 7px;
    }
    .popup-user__input{
        font-size: 16px;
    }
    .popup-user__submit{
        font-size: 18px;
        padding: 10px;
        margin-bottom: 10px;
    }
    .popup-user__text{
        font-size: 12px;
    }
    .popup-user__close{
        top: 15px;
        right: 30px;
    }
}

.open-popup-user{
    opacity: 1;
}