/* LIGHTBOX - SIMPLE CENTERED */

#lightbox {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.95) !important;
    z-index: 999999 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    opacity: 1 !important;
    visibility: visible !important;
}

#lightbox .lightbox-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

#lightbox .lightbox-container {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#lightbox .lightbox-image {
    max-width: 85vw !important;
    max-height: 85vh !important;
    object-fit: contain !important;
    border-radius: 8px !important;
}

#lightbox .lightbox-nav {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    color: #1e5631 !important;
    z-index: 1000000 !important;
}

#lightbox .lightbox-prev {
    left: 30px !important;
}

#lightbox .lightbox-next {
    right: 30px !important;
}

#lightbox .lightbox-swipe-hint,
#lightbox .lightbox-close-hint {
    display: none !important;
}

/* MOBILE */
@media (max-width: 768px) {
    #lightbox .lightbox-image {
        max-width: 92vw !important;
        max-height: 80vh !important;
    }
    
    #lightbox .lightbox-nav {
        display: none !important;
    }
    
    #lightbox .lightbox-swipe-hint {
        display: flex !important;
        position: fixed !important;
        bottom: 120px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        color: rgba(255,255,255,0.7) !important;
        font-size: 14px !important;
        z-index: 1000000 !important;
        width: auto !important;
    }
    
    #lightbox .lightbox-close-hint {
        display: block !important;
        position: fixed !important;
        bottom: 80px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        text-align: center !important;
        color: rgba(255,255,255,0.5) !important;
        font-size: 12px !important;
        z-index: 1000000 !important;
        width: auto !important;
        white-space: nowrap !important;
    }
}
