/* Hide lightbox data container (black bar with caption) */
.lb-dataContainer {
    display: none !important;
}

/* Custom lightbox styling */
.lb-outerContainer {
    border-radius: 10px;
    overflow: hidden;
}

.lb-container {
    border-radius: 10px;
}

.lb-image {
    border-radius: 8px;
}

/* Navigation arrows */
.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    transition: all 0.3s ease;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Close button - improved positioning */
.lb-close {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    right: 20px;
    top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.lb-close:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Close button icon styling */
.lb-close::before {
    content: '×';
    color: #333;
    font-size: 24px;
    font-weight: bold;
    line-height: 45px;
    text-align: center;
    display: block;
}

/* Loading animation */
.lb-loader {
    border-radius: 50%;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lb-nav a.lb-prev,
    .lb-nav a.lb-next {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }

    .lb-close {
        width: 40px;
        height: 40px;
        right: 15px;
        top: 15px;
    }

    .lb-close::before {
        font-size: 22px;
        line-height: 40px;
    }
}
