@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
    }
}

.modal-content {
    border: 0;
    border-radius: 16px;
}

.modal-content .modal-header {
    background: url(../img/modal-header-bg.png) no-repeat 50%;
    background-size: cover;
    border: 0;
    padding: 33px 40px;
    border-radius: 15px 15px 0 0;
}

.modal-content.modal-header .modal-title {
    font-size: 18px;
    color: #fff;
}

.modal-content .modal-header .close {
    background: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex: 32px 0 0;
    margin: 0;
    transition: all .4s ease 0s;
}

.modal-content .modal-header .close i {
    color: #7c32ff;
    font-size: 14px;
    line-height: 32px;
    text-shadow: 0 5px 10px rgb(108 39 255 / 25%);
}

.modal-content .modal-body {
    padding: 40px 30px;
    background-image: url(../img/popup_menu_bg.png);
    background-size: cover;
    background-position: bottom;
    border-radius: 0 0 15px 15px;
    background-repeat: no-repeat;
}

.modal-content .modal-body .text-center h4 {
    font-family: Poppins,sans-serif;
    font-weight: 600;
    line-height: 1.2;
    font-size: 16px;
    color: #415094;
}

.modal-content .modal-body .mt-40 {
    margin-top: 40px;
}

.modal-content .modal-body .mt-40 .primary-btn.tr-bg {
    background: transparent;
    border: 1px solid #c738d8;
    line-height: 28px;
    display: inline-block;
    color: #415094;
    letter-spacing: 1px;
    font-family: Poppins,sans-serif;
    font-weight: 500;
    padding: 0 20px;
    outline: none!important;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: all .4s ease 0s;
}

.modal-content .modal-body .mt-40 .primary-btn.fix-gr-bg {
    background: linear-gradient(90deg,#7c32ff,#c738d8 51%,#7c32ff);
    color: #fff;
    background-size: 200% auto;
    transition: all .4s ease 0s;

    display: inline-block;
    letter-spacing: 1px;
    font-family: Poppins,sans-serif;
    font-weight: 500;
    line-height: 40px;
    padding: 0 20px;
    outline: none!important;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    border: 0;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}
