.modal{
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(4, 28, 44, 0.8);


}
.modal-window{
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.04), 0px 2px 6px 0px rgba(0, 0, 0, 0.04), 0px 16px 24px 0px rgba(0, 0, 0, 0.06);
    padding: 30px;
    padding-top: 56px;
    width: 90vw;
    max-width:460px;
    max-height: 90vh;
    border-radius: var(--radius);
    background-color: var(--white);
    position: relative;

}


.modal-content{
    min-width: 100%;
    max-height: 50vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

.modal-content::-webkit-scrollbar {
    width: 6px;
    background-color: var(--white);
}


.modal-content::-webkit-scrollbar-button {
    background-color: transparent;
    height: 0px;
}





.modal-window::-webkit-scrollbar {
    width: 6px;
    background-color: var(--bgc);
}


.modal-window::-webkit-scrollbar-button {
    background-color: transparent;
    height: 23px;
}


.modal-title-wrapper{
    display: flex;
    justify-content: center;
}

.modal-title{
    display: inline-block;
    position: relative;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
    color: var(--grey-one);
    text-align: center;
    z-index: 1;
    white-space: nowrap;
}



.modal-title::after{
    content: "";
    background-color: var(--yellow);
    height: 7px;
    width: 112%;
    position: absolute;
    bottom: 7px;
    left: -6%;
    z-index: -1;
}


.close-window{
    cursor: pointer;
    transition: all 0.2s ease-in;
    position: absolute;
    top: 10px;
    right: 10px;

}


.close-window:hover{
    transform: scale(1.2);
}




.modal-content p{
    color: var(--grey-one);
    font-size: var(--text-size);
    margin-left: 21px;
    margin-bottom: var(--indent-y);
    position: relative;

}

.modal-content p:last-child{
    margin-bottom: 0;
}

.modal-content p::before{
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 20px;
    background-color: var(--red);
    position: absolute;
    top: 2px;
    left: -21px;
}










@media (max-width: 1000px) {


    .modal-window{
        padding-left: 20px;
        padding-right: 14px;
        padding-top: 56px;
        padding-bottom: 20px;
    }

    .modal-content{

    }

    .modal-title{
        font-size: 25px;
        margin-bottom: 30px;
    }
    .modal-title::after{
        height: 5px;
        bottom: 5px;
        width: 108%;
        left: -4%;
    }

    .modal-content p{

        margin-left: 22px;
        margin-bottom: var(--indent-y);
    }

    .modal-content p::before{
        width: 12px;
        height: 12px;
        /*top: 6px;*/
        left: -22px;
    }



    .close-window{

        top: 5px;
        right: 5px;

    }
}











































.modal-confirm{
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(4, 28, 44, 0.8);
}

.modal-confirm-window{
    box-shadow: var(--shadow);
    width: 445px !important;
    /*height: 200px;*/
    padding: 20px;
    border-radius: var(--radius);
    background-color: var(--white);
    /*position: relative;*/
    margin-left: 10px;
    margin-right: 10px;
}


.modal-confirm-title{
    line-height: normal;
    margin-top: 56px;
    margin-bottom: 37px;
    color: var(--grey-one);
    font-size: var(--subtitle-size);
    font-weight: 700;
    text-align: center;
}


.modal-confirm-btn-wrapper{
    /*border: 1px solid red;*/
    display: flex;
    justify-content: space-between;
    align-items: center;


}

.modal-confirm-btn-wrapper .btn{
    width: 122px;
}

.modal-confirm-btn-wrapper .btn-empty{
    text-align: center;
    width: 122px !important;
}



@media (max-width: 1000px) {

    .modal-confirm-window{
        padding: 15px;
    }

}