.exit_intent_popup {
    position: fixed;
    inset: 0;
    background-color: rgba(102,102,102,.55);
    z-index: 9999;
    padding: 30px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    overflow: auto;
    white-space: nowrap;
}
.exit_open .exit_intent_popup {
    opacity: 1;
    visibility: visible;
}
.exit_intent_popup::after {
    content: '';
    width: 1px;
    height: 100%;
    vertical-align: middle;
    display: inline-block;
}
.exit_intent_popup .inner {
    display: inline-block;
    vertical-align: middle;
    text-align: left;    
    white-space: normal;
}
.exit_intent_popup .wrap {
    max-width: 430px;
    background-color: #fff;
    border-radius: 4px;
    padding: 28px 18px;
    position: relative;
}
.exit_intent_popup .close {
    color: #000;
    font-size: 20px;
    opacity: 1;
    padding: 0;
    float: none;
    font-weight: normal;
    text-align: right;
    display: block;
    position: absolute;
    top: 5px;
    right: 11px;
    width: 15px;
    height: 15px;
    box-sizing: content-box;
    cursor: pointer;
}
.exit_intent_popup .close::after, .exit_intent_popup .close::before {
    content: '';
    width: 100%;
    height: 2px;
    background-color: #000;
    position: absolute;
    left: 0;
    top: 13px;
    transform: rotate(45deg);
}
.exit_intent_popup .close::before {
    transform: rotate(-45deg);
}
.exit_intent_submit {
    position: relative;
}
.tw-btn-wrap.loading::after{
    content: '';
    position: absolute;
    border: 2px solid #fff;
    border-top: 2px solid #000;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.5s linear infinite;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.tw-btn-wrap.loading input {
    opacity: 0.25;
}
.has_error .tw-text-input {
    border-color: var(--tw-input-error-color) !important;
}

@media (max-width: 600px) {
    .exit_intent_popup{
        padding: 15px;
    }
}