/* Universal image popup/modal styles */
.image-popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    cursor: pointer;
}

.image-popup-modal img {
    max-width: 90vw;
    max-height: 90vh;
    margin: auto;
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    border-radius: 8px;
}

.image-popup-close {
    position: absolute;
    top: 15px;
    left: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.image-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.image-thumb {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(138, 92, 255, 0.147);
    cursor: pointer;
    transition: transform 0.2s;
}

.image-thumb:hover {
    transform: scale(1.04);
}
