/* Lightbox Gallery Styles */

.gallery-item-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-image {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Status Badge Base */
.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Lightbox status badge */
.lightbox-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1060;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    display: none;
}

.lightbox-status-badge.show {
    display: block;
}

/* Lightbox Modal Styles */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

.modal-backdrop {
    background-color: #000;
    opacity: 1 !important;
}

.lightbox-modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

.lightbox-modal-body {
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.lightbox-image-container {
    position: relative;
    max-width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 95vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 1061;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: translateY(-50%) scale(1.2);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 1062;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close-btn:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: scale(1.2);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .status-badge {
        top: 8px;
        right: 8px;
    }
    
    .lightbox-status-badge {
        top: 10px;
        right: 10px;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .lightbox-close-btn {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .lightbox-image {
        max-height: 75vh;
    }
}