.exit-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
}

.exit-popup-overlay.is-visible {
    display: flex;
}

.exit-popup-modal {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 28px 28px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.exit-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #666666;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.exit-popup-close:hover,
.exit-popup-close:focus {
    color: #111111;
    outline: none;
}

.exit-popup-message {
    margin: 0 0 22px;
    padding-right: 28px;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 600;
    color: #111111;
}

.exit-popup-text {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.5;
    color: #555555;
}

.exit-popup-form {
    display: grid;
    gap: 14px;
}

.exit-popup-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.4;
    color: #111111;
    background: #ffffff;
    box-sizing: border-box;
}

.exit-popup-field input::placeholder {
    color: #888888;
}

.exit-popup-field input:focus {
    border-color: #111111;
    outline: none;
}

.exit-popup-submit {
    margin-top: 6px;
    width: 100%;
    padding: 13px 18px;
    border: 0;
    border-radius: 8px;
    background: #111111;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.exit-popup-submit:hover,
.exit-popup-submit:focus {
    background: #333333;
    outline: none;
}

.exit-popup-thankyou {
    display: none;
    padding: 24px 0 8px;
    text-align: center;
}

.exit-popup-thankyou.is-visible {
    display: block;
}

.exit-popup-thankyou h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #111111;
}

.exit-popup-thankyou p {
    margin: 0;
    font-size: 15px;
    color: #555555;
}

body.exit-popup-open {
    overflow: hidden;
}

.exit-popup-modal--zoho {
    max-width: 600px;
}

.exit-popup-zoho-wrap {
    margin-top: 4px;
}

.exit-popup-zoho-wrap .exit-popup-zoho-form {
    width: 100%;
    padding: 0;
    margin: 0;
}

.exit-popup-zoho-wrap .zcwf_row {
    margin: 12px 0;
}

.exit-popup-zoho-wrap .zcwf_col_lab,
.exit-popup-zoho-wrap .zcwf_col_fld {
    width: 100%;
    float: none;
    padding: 0;
    margin: 0;
}

.exit-popup-zoho-wrap .zcwf_col_lab {
    margin-bottom: 6px;
}

.exit-popup-zoho-wrap .zcwf_col_fld input[type="text"] {
    width: 100%;
    float: none;
    padding: 10px 12px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
}

.exit-popup-zoho-wrap .zcwf_col_fld input[type="text"]:focus {
    border-color: #111111;
    outline: none;
}

.exit-popup-zoho-wrap .formsubmit.zcwf_button {
    width: 100%;
    max-width: none;
    margin-top: 8px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
}

.exit-popup-zoho-wrap input.zcwf_button[name="reset"] {
    display: none;
}

.exit-popup-zoho-wrap .zcwf_col_fld img {
    display: block;
    margin: 8px 0;
    max-width: 100%;
}

@media (max-width: 480px) {
    .exit-popup-modal {
        padding: 28px 20px 20px;
    }

    .exit-popup-message {
        font-size: 18px;
        padding-right: 24px;
    }
}
