:root {
    --eiv-bg: rgba(0, 0, 0, 0.9);
    --eiv-button-color: #ffffff;
    --eiv-button-size: 30px;
}

#eiv-myCustomLightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--eiv-bg);
    transition: opacity 0.5s ease; /* Smooth transition for opacity */
}


.eiv-lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.eiv-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.eiv-lightbox-title {
    color: white;
    margin-top: 10px;
    text-align: center;
    font-size: 16px;
}

.eiv-lightbox-content img {
    max-height: 90vh;
    height: auto;
    display: block;
    transition: transform 0.3s;
    border-radius: 3px;
}

.eiv-lightbox .eiv-next, .eiv-lightbox .eiv-prev {
    background-image: url('arrow.svg'); /* Update with the correct path */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 30px; /* Adjust as needed */
    height: 30px; /* Adjust as needed */
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.eiv-lightbox .eiv-next { 
    right: 10px; 
}

.eiv-lightbox .eiv-prev { 
    left: 10px;
    transform: rotate(180deg) translateY(50%); /* Flip the arrow for the prev button */
}


.eiv-close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: var(--eiv-button-color);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}
@media (max-width: 768px) {
    .eiv-lightbox .eiv-next, .eiv-lightbox .eiv-prev {
        display: none!important;
    }
}
