/* Lightbox container */
#zbavi-lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
    text-align: center;
}

/* Close button */
.zbavi-lightbox-close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

/* Lightbox image */
.zbavi-lightbox-image {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* Add some fade-in transition effect */
#zbavi-lightbox, .zbavi-lightbox-image {
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

/* Next & previous buttons */
.zbavi-lightbox-prev, .zbavi-lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: #FFA500;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s;
    user-select: none;
}

/* Position the "next button" to the right */
.zbavi-lightbox-next {
    right: 10px;
}

/* Position the "prev button" to the left */
.zbavi-lightbox-prev {
    left: 10px;
}

/* On hover, add a background color to the next/prev buttons */
.zbavi-lightbox-prev:hover, .zbavi-lightbox-next:hover {
    background-color: rgba(0,0,0,0.8);
}
