/* Exit Intent Popup Styles */
.ep-8d2870fd-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Modal Overlay */
.ep-8d2870fd-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

/* Active State */
.ep-8d2870fd-modal.ep-8d2870fd-active {
    opacity: 1;
    visibility: visible;
}

/* Test Mode / Keeper inside Editor */
.ep-8d2870fd-test-active .ep-8d2870fd-modal {
    position: relative;
    height: auto;
    min-height: 400px;
    opacity: 1;
    visibility: visible;
    margin: 20px 0;
    z-index: 100;
}
.ep-8d2870fd-test-active .ep-8d2870fd-modal-overlay {
    position: absolute;
    border-radius: 12px;
}

/* Dynamic Exciting Content Box */
.ep-8d2870fd-modal-content {
    position: relative;
    max-width: 600px;
    width: 90%;
    background: #111827;
    border: 3px solid #0ea5e9;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.05);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.ep-8d2870fd-modal.ep-8d2870fd-active .ep-8d2870fd-modal-content,
.ep-8d2870fd-test-active .ep-8d2870fd-modal-content {
    transform: scale(1);
}

/* Close Button */
.ep-8d2870fd-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}
.ep-8d2870fd-close:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

/* Header / Title */
.ep-8d2870fd-title {
    font-family: inherit;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Body Wording */
.ep-8d2870fd-wording {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Countdown Wrapper */
.ep-8d2870fd-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.ep-8d2870fd-time-box {
    background: #1f2937;
    padding: 15px;
    min-width: 80px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ep-8d2870fd-num {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.ep-8d2870fd-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* CTA Button */
.ep-8d2870fd-btn {
    display: inline-block;
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.4);
}

.ep-8d2870fd-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.6);
}
.ep-8d2870fd-btn:active {
    transform: translateY(1px);
}
