/**
 * Exit Intent Popup Styles
 */

.qfp-exit-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    animation: qfpExitFadeIn 0.3s ease;
}

.qfp-exit-overlay.active {
    display: flex;
}

.qfp-exit-modal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: qfpExitSlideUp 0.4s ease;
}

.qfp-exit-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
}

.qfp-exit-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.qfp-exit-emoji {
    font-size: 80px;
    margin-bottom: 20px;
    animation: qfpExitWave 1s infinite;
}

.qfp-exit-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.qfp-exit-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.qfp-exit-countdown {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.qfp-exit-countdown-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.qfp-exit-timer {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.qfp-timer-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 15px 20px;
    min-width: 80px;
}

.qfp-timer-number {
    font-size: 36px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.qfp-timer-label {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 5px;
    display: block;
}

.qfp-exit-cta {
    background: #fff;
    color: #667eea;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qfp-exit-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.qfp-exit-skip {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
    cursor: pointer;
    text-decoration: underline;
    display: none;
    /* Hidden per user request */
}

.qfp-exit-skip:hover {
    opacity: 1;
}

/* Animations */
@keyframes qfpExitFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes qfpExitSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes qfpExitWave {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .qfp-exit-modal {
        padding: 40px 25px;
    }

    .qfp-exit-title {
        font-size: 24px;
    }

    .qfp-exit-subtitle {
        font-size: 16px;
    }

    .qfp-timer-box {
        min-width: 70px;
        padding: 12px 15px;
    }

    .qfp-timer-number {
        font-size: 28px;
    }
}