
    .table-scroll {
        max-height: 500px; /* height for ~6 rows */
        overflow-y: auto;
    }

    /* Keep table header sticky */
    .table-scroll thead th {
        position: sticky;
        top: 0;
        z-index: 2;
    }

    /* Optional: smoother scrolling */
    .table-scroll::-webkit-scrollbar {
        width: 8px;
    }

    .table-scroll::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.25);
        border-radius: 4px;
    }
   /* Large Modal */
    .modal-xl{
        max-width:95%;
    }

    .modal-xl .modal-content{
        border:none;
        border-radius:20px;
        overflow:hidden;
    }

    .modal-xl .modal-body{
        display:flex;
        flex-direction:column;
        overflow-y:auto;
    }

    .galleryContainer{
        flex:1;
    }
    .gallery-img{
        width:100%;
        height:280px;
        object-fit:cover;
        border-radius:18px;
    }
    /* Optional: Taller header */
    .modal-xl .modal-header{
        padding:20px 25px;
    }

    /* Gallery Images */
    .gallery-img{
        border-radius:18px;
        transition:.35s ease;
    }

    .gallery-img:hover{
        transform:translateY(-6px) scale(1.03);
        box-shadow:0 18px 40px rgba(0,0,0,.18);
    }

    #lightboxContainer img{
        border-radius:20px;
    }
    /* FULL SCREEN LIGHTBOX */

    .lightbox-view{
        position:fixed;
        inset:0;
        width:100vw;
        height:100vh;
        background:#000;
        z-index:9999;
        border-radius:0;
        padding:30px;
    }

    /* Image */

    .lightbox-image-wrapper{
        width:100%;
        height:100%;
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .lightbox-image{
        max-width:95%;
        max-height:95%;
        object-fit:contain;
    }

    /* Top */

    .lightbox-top{
        position:absolute;
        top:20px;
        right:20px;
        z-index:100;
    }

    /* Prev & Next */

    .lightbox-nav{
        position:absolute;
        top:50%;
        transform:translateY(-50%);
        width:65px;
        height:65px;
        border:none;
        border-radius:50%;
        background:rgba(255,255,255,.15);
        color:#fff;
        font-size:30px;
        transition:.25s;
        z-index:20;
    }

    .lightbox-nav:hover{
        background:rgba(255,255,255,.3);
    }
    
    .lightbox-close{
        width:50px;
        height:50px;
        border:none;
        border-radius:50%;
        background:rgba(255,255,255,.15);
        color:#fff;
        font-size:22px;
        display:flex;
        align-items:center;
        justify-content:center;
        cursor:pointer;
        transition:.25s;
        backdrop-filter:blur(8px);
    }

    .lightbox-close:hover{
        background:rgba(255,255,255,.30);
        transform:scale(1.08);
    }

    .lightbox-prev{
        left:20px;
    }

    .lightbox-next{
        right:20px;
    }
/* FACEBOOK LIGHTBOX */

.lightbox-facebook{

    position:fixed;
    inset:0;
    background:#18191A;
    display:flex;
    z-index:999999;

}

/* LEFT */

.fb-image-side{

    width:72%;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    overflow:hidden;

}

.fb-image{

    max-width:95%;
    max-height:92vh;
    object-fit:contain;
    border-radius:8px;

}

/* RIGHT */

.fb-sidebar{

    width:28%;
    background:#fff;
    display:flex;
    flex-direction:column;
    height:100vh;

}

.fb-post-header{

    padding:20px;
    border-bottom:1px solid #eee;

}

.fb-avatar{

    width:50px;
    height:50px;
    background:#0F6CBD;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-right:15px;
    font-size:22px;

}

.fb-caption{

    padding:20px;
    border-bottom:1px solid #eee;

}

.fb-caption p{

    color:#555;
    line-height:1.7;

}

.fb-react{

    padding:15px 20px;
    border-bottom:1px solid #eee;
    font-size:26px;

}

.fb-react span{

    cursor:pointer;
    margin-right:5px;
    transition:.3s;

}

.fb-react span:hover{

    transform:scale(1.3);

}

.fb-comments{

    flex:1;
    overflow:auto;
    padding:20px;

}

.comment{

    margin-bottom:18px;
    background:#F0F2F5;
    border-radius:12px;
    padding:12px;

}

.comment p{

    margin:0;
    color:#555;

}

.fb-comment-box{

    padding:15px;
    border-top:1px solid #eee;

}

.fb-comment-box input{

    width:100%;
    border:none;
    background:#F0F2F5;
    border-radius:30px;
    padding:14px 18px;
    outline:none;

}

/* NAV */

.fb-nav{

    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:60px;
    height:60px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,.2);
    color:#fff;
    font-size:28px;
    z-index:999;

}

.fb-prev{

    left:20px;

}

.fb-next{

    right:31%;

}

/* CLOSE */

.fb-close{

    position:absolute;
    top:20px;
    left:20px;
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.2);
    color:#fff;
    font-size:22px;
    z-index:999;

}