#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#lightbox.show {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-content img {
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
.hidden {
    display: none;
}
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    padding: 0px 10px 5px 10px;
    cursor: pointer;
    z-index: 10000;
    transition: background 0.3s ease;
    user-select: none;
}
.lightbox-arrow:hover {
    background: rgba(0, 0, 0, 0.3);
}
#lightbox-prev {
    left: 10px;
}
#lightbox-next {
    right: 10px;
}
@media (min-width: 768px){
    .lightbox-content img {
        max-width: 90vw;
        max-height: 90vh;
    }
    .lightbox-arrow {
        font-size: 3rem;
        background: rgba(0, 0, 0, 0.3);
    }
    .lightbox-arrow:hover {
        background: rgba(0, 0, 0, 0.6);
    }
    #lightbox-prev {
        left: 20px;
    }
    #lightbox-next {
        right: 20px;
    }
}