/* CSS Popup NukeViet */
.site-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    /* Default hidden state */
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* State: Visible */
.site-popup-overlay.site-popup-visible {
    display: flex !important;
    /* Force flex to ensure centering */
    opacity: 1;
}

.site-popup-box {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    /* Removed transform for perfect centering */
    /* transform: translateY(-20px); */
    /* transition: transform 0.3s ease; */
    text-align: center;
    font-family: Arial, sans-serif;
}



.site-popup-close-icon {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    line-height: 1;
    transition: color 0.2s;
}

.site-popup-close-icon:hover {
    color: #333;
}

.site-popup-title {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #333;
}

.site-popup-body {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
}

.site-popup-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.site-popup-btn {
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    font-size: 14px;
}

.site-popup-btn-close {
    background: #f0f0f0;
    color: #333;
}

.site-popup-btn-close:hover {
    background: #e0e0e0;
}

.site-popup-btn-cta {
    background: #007bff;
    color: #fff;
}

.site-popup-btn-cta:hover {
    background: #0056b3;
}

/* Mobile responsive adjustments */
@media (max-width: 600px) {
    .site-popup-box {
        width: 95%;
        padding: 20px;
    }
}