.modal-wrapper{
    background-color: #030303c4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: all .3s;
    opacity: 0;
    pointer-events: none;
}
.modal-wrapper.active{
    opacity: 1;
    pointer-events: fill;
}

.modal-container{
    background-color: #171717;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    width: 450px;
    transform: scale(0);
    transition: all .6s;
}
.active .modal-container{
    transform: scale(1);
}
.modal-loading{
    width: 200px;
    height: 200px;
}
.modal-loading__img{
    width: 100%;
    height: 100%;
}
.modal-header{
    position: relative;
    padding-top: 26px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 17.5px;
    box-sizing: border-box;
}
.modal-body{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 25px;
    box-sizing: border-box;
}
.modal-footer{
    margin-bottom: 41px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-icon{
    width: 90px;
    height: 90px;
    margin-bottom: 16px;
}
.modal-type{
    margin-bottom: 16px;
    margin-top: 0;
    font-weight: 500;
    font-size: 16px;
    color: white;
}
.modal-type.success{
    color: #289D82;
}
.modal-msg{
    color: #B2B2B2;
    font-weight: 400;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 27px;
    text-align: center;
}
.modal-btn{
    width: 300px;
    text-align: center;
    font-size: 14px;
}
.modal-close{
    cursor: pointer;
}

@media (max-width: 768px) {
    .modal-footer{
        padding: 0 24px;
        box-sizing: border-box;
    }
    .modal-icon{
        width: 80px;
        height: 80px;
        margin-bottom: 26px;
    }
    .modal-type{
        margin-bottom: 26px;
    }
    .modal-container{
        width: 90%;
    }
    .modal-btn{
        width: 90%;
    }
    .modal-msg{
        margin-bottom: 16px;
    }
}
