.modal-wrapper {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    background-color: #000000bf;
}

.modal-wrapper.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 999;
    overflow: hidden;
}

.modal-wrapper.active .modal-content {
    opacity: 1;
}

.modal-wrapper .modal-content {
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
    position: relative;
    overflow-x: hidden;
    box-shadow: 0 4px 20px 0 #00000036;
    border-radius: 24px;
    background-color: #fff;
    color: #484848;
    overflow-y: auto;
    max-width: 650px;
    width: 95%;
    text-align: center;
}

.modal-wrapper .modal-content .close-btn:not(a) {
    outline: none;
    border: none;
    border-radius: 50%;
    color: #c6c6c6;
    background-color: transparent;
    padding: 15px;
    cursor: pointer;
    position: absolute;
    right: 2%;
    top: 2%;
    opacity: 0.6;
    transition: all 0.2s ease-in-out;
}

.modal-wrapper .modal-content .close-btn:not(a):active,
.modal-wrapper .modal-content .close-btn:not(a):focus,
.modal-wrapper .modal-content .close-btn:not(a):hover {
    opacity: 1;
    background: rgba(128, 128, 128, 0.5);
}

.modal-wrapper .modal-content .close-btn:not(a)::before,
.modal-wrapper .modal-content .close-btn:not(a)::after {
    content: " ";
    position: absolute;
    height: 25px;
    width: 3px;
    background-color: currentColor;
    top: 50%;
    left: 50%;
}

.modal-wrapper .modal-content .close-btn:not(a)::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal-wrapper .modal-content .close-btn:not(a)::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-wrapper.exit-intent .modal-content {
    text-align: left;
    height: auto;
    width: 95%;
    color: #fff;
    max-width: 980px;
    box-shadow: 0 6px 12px #000;
    border-radius: 10px;
    font-size: 18px;
    background-image: url('/assets-mbn/images/tsv-exit-pop-bg.avif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.modal-wrapper.exit-intent .modal-content .close-btn:not(a) {
    position: absolute;
    right: 1%;
    color: inherit;
}

.modal-wrapper.exit-intent .modal-content .main-section,
.modal-wrapper.exit-intent#exit-pop .modal-content .ty-section {
    display: none;
}

.modal-wrapper.exit-intent#exit-pop .modal-content .main-section,
.modal-wrapper.exit-intent .modal-content .ty-section {
    display: block;
}

.modal-wrapper.exit-intent .modal-content .content-inner {
    padding: .7em 1.6em 1.2em;
}

.modal-wrapper.exit-intent .modal-content .ty-section .content-inner p {
    margin-bottom: 1.4em;
}

.modal-wrapper.exit-intent .modal-content .heading {
    background-color: #375C6D;
    text-align: center;
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1.2;
    margin-top: 1.1em;
    padding-top: 10px;
    padding-bottom: 10px;
}

.modal-wrapper.exit-intent .modal-content .heading br {
    display: block;
}

.modal-wrapper.exit-intent .modal-content .ty-section .heading {
    font-size: 1.5em;
    margin-top: 1.2em;
    padding-top: 15px;
    padding-bottom: 15px;
}

.modal-wrapper.exit-intent .modal-content .ty-section .sub-heading {
    margin-bottom: 20px;
}

.modal-wrapper.exit-intent .modal-content .yellow-txt {
    color: #FFD500;
}

.modal-wrapper.exit-intent .modal-content .sub-heading {
    font-size: 1.2em;
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    color: #fff;
}

.modal-wrapper.exit-intent .modal-content .sub-heading b {
    font-weight: 800;
}

.modal-wrapper.exit-intent .modal-content .primary-txt {
    text-align: center;
    font-weight: bold;
}

.modal-wrapper.exit-intent .modal-content .sec-txt {
    font-weight: 800;
    margin-top: 10px;
}

.modal-wrapper.exit-intent .modal-content .recommended-text {
    font-size: 1em;
    font-style: normal;
    font-weight: bold;
    color: inherit;
}

.modal-wrapper.exit-intent .modal-content .recommended-text br {
    display: none;
}

.modal-wrapper.exit-intent .modal-content .email-input {
    color: #636363;
    background: #FFFFFF;
    border: 1px solid #9F9F9F;
    border-radius: 7px;
    font-size: .9em;
    display: block;
    width: 100%;
    padding: 15px 1em;
    margin-top: 15px;
    margin-bottom: 20px;
    text-align: center;
    transition: .3s ease-in-out;
}

.modal-wrapper.exit-intent .modal-content .email-input:focus-within {
    text-align: left;
}

.modal-wrapper.exit-intent .modal-content label {
    text-align: left;
    color: #e42a2a;
    font-size: 1rem;
    margin-bottom: 5px;
    margin-left: 5px;
    display: none;
}

.modal-wrapper.exit-intent .modal-content label.invalid {
    display: block;
}

.modal-wrapper.exit-intent .modal-content label.invalid + .email-input {
    border: 1px solid red;
}

.modal-wrapper.exit-intent .modal-content .submit-btn {
    display: block;
    color: #fff;
    margin: 0 auto;
    border: 1px solid #FFD500;
    background: linear-gradient(90deg, #F15925 0%, #FFD500 100%);
    border-radius: 10px;
    box-shadow: 0px 3px 6px #000;
    padding: 0.5em 1.5em;
    text-transform: uppercase;
    font-size: 1.1em;
    font-family: inherit;
    font-weight: 900;
    width: 100%;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease;
}

.modal-wrapper.exit-intent .modal-content .submit-btn:hover,
.modal-wrapper.exit-intent .modal-content .submit-btn:focus,
.modal-wrapper.exit-intent .modal-content .submit-btn:active {
    filter: brightness(0.87);
}

@media only screen and (min-width: 768px) {
    .modal-wrapper.exit-intent .modal-content {
        font-size: 25px;
        border-radius: 20px;
        line-height: 1.6;
    }

    .modal-wrapper.exit-intent .modal-content .content-inner {
        padding: .5em 2em 1.2em;
    }

    .modal-wrapper.exit-intent .modal-content .heading {
        font-size: 1.42em;
        line-height: 1;
        margin-top: 1em;
    }

    .modal-wrapper.exit-intent .modal-content .heading br {
        display: none;
    }

    .modal-wrapper.exit-intent .modal-content .primary-txt,
    .modal-wrapper.exit-intent .modal-content .sub-heading {
        font-size: 1.075em;
        margin-bottom: 0;
    }

    .modal-wrapper.exit-intent .modal-content .ty-section .text-left {
        text-align: left;
    }
}

@media only screen and (min-width: 1600px) {
    .modal-wrapper .modal-content {
        font-size: 20px;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}