/* Popup container (hidden by default) */
.popup {
    display: none; 
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it appears on top of other content */
}

/* Popup content */
.popup-content {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    z-index: 1001; /* Ensure content is above the popup background */
}

/* Popup image */
.popup-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #000;
    z-index: 1002; /* Ensure close button is on top of popup content */
}

/* Responsive styling */
@media (max-width: 600px) {
    .popup-content {
        padding: 5px;
    }

    .close-btn {
        font-size: 20px;
        top: 5px;
        right: 5px;
    }
}





