/* Old exit popup on landing pages. Beats cm-exit.css (#closing_modal) and landing .modal rules. */

#closing_modal.Exit-modal.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    overflow: hidden;
    outline: 0;
    background: rgba(0, 0, 0, 0.5);
    font-family: Inter, var(--font), ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

#closing_modal.Exit-modal.modal.show,
#closing_modal.Exit-modal.modal.in {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#closing_modal.Exit-modal {
    top: 0 !important;
}

#closing_modal.Exit-modal .d-flex {
    display: flex;
}

#closing_modal.Exit-modal .d-none {
    display: none !important;
}

#closing_modal.Exit-modal .mb-4 {
    margin-bottom: 1.5rem;
}

#closing_modal.Exit-modal .modal-dialog {
    position: relative;
    display: block;
    width: 900px;
    max-width: 900px;
    height: auto;
    min-height: 0;
    margin: 1.75rem auto;
}

#closing_modal.Exit-modal .modal-content,
#closing_modal.Exit-modal .modal-header {
    border: none;
}

#closing_modal.Exit-modal .modal-content {
    margin: 0;
    border-radius: 12px;
    background: #030406;
    box-shadow: none;
    max-height: none;
    overflow: visible;
}

#closing_modal.Exit-modal .modal-body {
    padding: 0;
}

.Exit-modal-box {
    position: relative;
    padding: 10px 32px 24px 32px;
    background-color: #030406;
    border-radius: 12px;
}

.Exit-modal-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: auto;
    margin: 0;
    padding: 0;
}

#closing_modal.Exit-modal .close-modal {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    z-index: 6;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    float: right;
    font-size: 32px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 16px;
    color: #ffffff !important;
    background-color: transparent;
    opacity: 1 !important;
    visibility: visible;
}

#closing_modal.Exit-modal button.close {
    float: none;
    opacity: 1;
}

.Exit-popupbox {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.Exit-popup-text1 {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 0;
    color: #fafafa;
}

.Exit-popup-text2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    margin-bottom: 0;
    color: #fafafa;
}

.Exit-popup-para1 {
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
    margin-bottom: 0;
    color: #fafafa;
}

.Exit-popup-para2 {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 0;
    color: #fafafa;
}

.Exit-popupbox1 {
    display: flex;
    gap: 12px;
    flex-direction: column;
    margin-bottom: 20px;
    padding-right: 0;
}

.Exit-popup-inner {
    flex-direction: column;
    gap: 32px;
}

.Exit-popup-box {
    width: 100%;
    gap: 16px;
    align-items: flex-start;
}

.Exit-popup-box img {
    margin-top: 2px;
}

.Exit-popuphead {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 4px;
    color: #fafafa;
}

.Exit-smallpara,
.Exit-popup-name {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
    color: #9c9ca3;
}

.Exit-mb48 {
    margin-bottom: 0;
}

.Exit-popup-list {
    justify-content: space-between;
}

.Exit-popupbox2 {
    margin-bottom: 24px;
}

.Exit-popupbox3 {
    padding: 20px;
    border-radius: 12px;
    background: #f4f4f5;
    margin-bottom: 24px;
}

.Exit-popupbox3head {
    color: #09090b;
    font-size: 14px;
    font-weight: 600;
    line-height: 220%;
}

.Exit-popupgap {
    gap: 12px;
}

.Exit-popupgap img {
    width: 16px;
}

.Exit-modal .My-Formbox {
    display: flex;
    gap: 24px;
    width: 100%;
}

.Exit-modal .My-label {
    color: #fafafa;
    font-size: 14px;
    font-weight: 500;
    line-height: 100%;
    margin-bottom: 8px;
    display: block;
}

.Exit-modal .My-redstar {
    color: #dc2626;
}

.Exit-modal .My-form-group {
    width: 100%;
}

.Exit-modal .form-control {
    width: 100%;
    box-sizing: border-box;
    color: #212529;
    font-size: 14px;
    line-height: 20px;
    padding: 9px 12px;
    border-radius: 6px;
    border: 1px solid #e4e4e7;
    background: #fff;
}

.Exit-modal .form-control:focus {
    border-color: #bccbdc;
    box-shadow: none;
    outline: none;
}

.Exit-modal .form-control::placeholder {
    color: #71717a;
}

.My-Exit-form-container {
    display: flex;
    gap: 16px;
}

.Exit-modal .My-lightwhite {
    color: #fafafa;
}

#closing_modal.Exit-modal .My-btn.My-Exit-btn {
    display: inline-block;
    box-sizing: border-box;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 7px 16px;
    margin-top: 20px;
    color: #18181b;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    border-radius: 6px;
    background: #fff;
    border: none;
    cursor: pointer;
}

#closing_modal.Exit-modal .My-btn.My-Exit-btn:hover,
#closing_modal.Exit-modal .My-btn.My-Exit-btn:active {
    color: #fafafa !important;
    background-color: #8553e5 !important;
}

.My-exitform .form-control {
    padding: 7px 12px;
}

#closing_modal.Exit-modal .error-message {
    display: block;
    color: red;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 4px;
}

#closing_modal.Exit-modal .toast:not(.show) {
    display: none !important;
}

#closing_modal.Exit-modal .My-Toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
}

#closing_modal.Exit-modal .toast.show {
    display: block !important;
    width: 450px;
    max-width: calc(100vw - 32px);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

#closing_modal.Exit-modal .My-Toast .toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #09090b;
    font-size: 22px;
    font-weight: 600;
    background-color: #fff;
    padding: 10px 16px;
}

#closing_modal.Exit-modal .My-Toast .toast-body {
    color: #09090b;
    background-color: #fff;
    padding: 16px;
    font-size: 16px;
    line-height: 24px;
}

#closing_modal.Exit-modal .My-toast-close {
    font-size: 22px;
    line-height: 1;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #09090b;
    cursor: pointer;
}

#closing_modal.Exit-modal .toast-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    border-radius: 12px;
}

#closing_modal.Exit-modal .toast-overlay.is-visible {
    display: block;
}

@media (max-width: 1800px) {
    #closing_modal.Exit-modal .My-btn.My-Exit-btn {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 1300px) {
    .Exit-popup-text1,
    .Exit-popup-para1,
    .Exit-popup-para2 {
        font-size: 15px;
        line-height: 22px;
    }

    .Exit-popup-text2 {
        font-size: 22px;
        line-height: 26px;
    }

    .My-exitform .form-control {
        padding: 5px 10px;
    }

    #closing_modal.Exit-modal .My-btn.My-Exit-btn {
        padding: 6px 14px;
        margin-top: 20px;
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 1200px) {
    #closing_modal.Exit-modal .close-modal {
        position: absolute;
        right: 14px;
        top: 5px;
        z-index: 5;
        background: transparent;
        font-size: 24px;
        line-height: 1;
    }

    .Exit-modal-box {
        padding: 32px 24px 24px 24px;
    }

    #closing_modal.Exit-modal .modal-dialog {
        width: 90%;
        max-width: 90%;
        margin: 1rem auto;
    }
}

@media (max-width: 767px) {
    #closing_modal.Exit-modal.modal.show,
    #closing_modal.Exit-modal.modal.in {
        align-items: flex-start;
        justify-content: center;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 12px 10px 96px;
        -webkit-overflow-scrolling: touch;
    }

    #closing_modal.Exit-modal .modal-dialog {
        width: calc(100% - 8px);
        max-width: 400px;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 auto;
    }

    #closing_modal.Exit-modal .modal-content {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        background: #030406;
    }

    .Exit-modal-box {
        padding: 32px 16px 20px;
        overflow: visible;
    }

    #closing_modal.Exit-modal .close-modal {
        position: absolute;
        top: 10px;
        right: 16px;
        font-size: 24px;
        line-height: 1;
        color: #ffffff !important;
        opacity: 1 !important;
    }

    #closing_modal.Exit-modal .My-btn.My-Exit-btn {
        padding: 6px 14px;
        margin-top: 12px;
        font-size: 14px;
        line-height: 20px;
    }

    #closing_modal.Exit-modal #dvcaptcha {
        min-height: 78px;
        overflow: visible;
    }

    #closing_modal.Exit-modal .g-recaptcha {
        transform: scale(0.82);
        transform-origin: left top;
    }
}

@media (max-width: 550px) {
    .Exit-popup-text1,
    .Exit-popup-para1,
    .Exit-popup-para2 {
        font-size: 14px;
        line-height: 20px;
    }

    .Exit-popup-text2 {
        font-size: 18px;
        line-height: 22px;
    }

    .Exit-popupbox1,
    .Exit-popupbox2 {
        margin-bottom: 16px;
    }

    .Exit-popupbox3 {
        padding: 12px;
        margin-bottom: 16px;
    }

    .Exit-popupgap {
        align-items: flex-start;
    }

    .Exit-popupbox3head {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 8px;
    }

    .My-Exit-form-container {
        gap: 12px;
        flex-direction: column;
    }

    .Exit-modal .My-label {
        margin-bottom: 6px;
    }
}
