/* Overlay (background dim) */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: none;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

/* Popup box (card style) */
.popup-content {
    background: white;
    padding: 10px;
    border-radius: 12px;
    max-width: 400px;   /* ✅ control size */
    width: 90%;         /* ✅ responsive */
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    animation: popupFade 0.4s ease;
}

/* Image styling */
.popup-banner {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* Animation */
@keyframes popupFade {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}