/* Fullscreen dark blurred overlay */
.rcs-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

/* Popup container */
.rcs-popup-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    width: 90%;
    max-width: 380px;
    animation: fadeInScale 0.3s ease-out;
    border: 2px solid rgba(255, 255, 255, 0.1); /* subtle white stroke for dark bg */
    padding: 8px; /* gap around image */
}

/* Image styling */
.rcs-popup-img {
    width: 100%;
    display: block;
    border-radius: 12px;
    overflow: hidden;
}

/* Close button styling */
.rcs-close-btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px 0;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
