
.popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer; /* Indicate it's clickable to close */
}

.popup-content {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: relative;
    cursor: auto; /* Prevent closing when clicking inside content */
}

.popup-content img {
    display: block; /* Remove extra space below image */
    max-width: 90vw; /* Ensure image fits within viewport */
    max-height: 90vh;
    border-radius: 5px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 45px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}