.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.exit-popup.show {
    display: flex !important;
}

.exit-popup.show {
    opacity: 1;
    visibility: visible;
}

.exit-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.exit-popup-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px 35px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin: 0;
    align-self: center;
    transform: scale(0.9) translateZ(0);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform, opacity;
}

.exit-popup.show .exit-popup-content {
    transform: scale(1) translateZ(0);
    opacity: 1;
}

.exit-popup:not(.show) .exit-popup-content {
    transform: scale(0.9) translateZ(0);
    opacity: 0;
}

.exit-popup-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F26C9D 0%, #e91e63 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(242, 108, 157, 0.3);
}

.exit-popup-icon svg {
    width: 32px;
    height: 32px;
    color: white;
    stroke-width: 3;
}

.exit-popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
}

.exit-popup-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.exit-popup-discount {
    font-size: 0.9rem;
    color: #F26C9D;
    font-weight: 600;
    margin: 0 0 25px 0;
}

.exit-popup-btn {
    background: linear-gradient(135deg, #F26C9D 0%, #e91e63 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(242, 108, 157, 0.3);
    font-family: 'Poppins', sans-serif;
}

.exit-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 108, 157, 0.4);
}

.exit-popup-btn:active {
    transform: translateY(0);
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
}

.exit-popup-close:hover {
    background: #f5f5f5;
    color: #333;
}

@media (max-width: 768px) {
    .exit-popup-content {
        padding: 30px 25px;
        max-width: 90%;
    }

    .exit-popup-title {
        font-size: 1.3rem;
    }

    .exit-popup-text {
        font-size: 0.9rem;
    }

    .exit-popup-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .exit-popup-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .exit-popup-icon svg {
        width: 26px;
        height: 26px;
    }
}
