.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    opacity: 0; /* Hide arrows by default */
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Show navigation arrows when hovering over the lightbox content */
.lightbox-content:hover .lightbox-nav {
    opacity: 1;
}

.lightbox-prev {
    left: 5px;
}

.lightbox-next {
    right: 5px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .lightbox-prev {
        left: 3px;
    }
    
    .lightbox-next {
        right: 3px;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .lightbox-nav {
        width: 35px;
        height: 35px;
        font-size: 20px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 3px;
    }
}