﻿/* Scroll container */
.table-container {
    height:100%;
    overflow: auto;
    border: 0px solid #ddd;
}

/* Table styling */
.sticky-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .sticky-table th {
        position: sticky;
        top: 0;
        background: #BABC98;
        padding: 10px;
        text-align: left;
    }

    .sticky-table td {
        padding: 8px 10px;
        border-bottom: 0px solid #3f7f00;
    }

/* ========================= */
/* 🔥 Custom Scrollbar Style */
/* ========================= */

/* Chrome, Edge, Safari */
.table-container::-webkit-scrollbar {
    width: 6px; /* thin like sidebar */
}

.table-container::-webkit-scrollbar-track {
    background: transparent; /* clean background */
}

.table-container::-webkit-scrollbar-thumb {
    background-color: #c1c1c1; /* light grey */
    border-radius: 10px;
}

    /* Hover effect */
    .table-container::-webkit-scrollbar-thumb:hover {
        background-color: #999;
    }

/* Firefox */
.table-container {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 transparent;
    overflow-y: scroll;
    height: 900px;
    margin: 0px;
    padding: 0px;
    border: 0px solid #3f7f00;
    -moz-border-radius-bottomleft: 14px;
    -webkit-border-bottom-left-radius: 14px;
    border-bottom-left-radius: 14px;
    -moz-border-radius-bottomright: 14px;
    -webkit-border-bottom-right-radius: 14px;
    border-bottom-right-radius: 14px;
    -moz-border-radius-topright: 14px;
    -webkit-border-top-right-radius: 14px;
    border-top-right-radius: 14px;
    -moz-border-radius-topleft: 14px;
    -webkit-border-top-left-radius: 14px;
    border-top-left-radius: 14px;
    font-variant: small-caps;
}

.sticky-table thead th {
    position: sticky;
    top: 0;
    z-index: 2; /* must be above rows */
    background: #BABC98; /* REQUIRED (otherwise transparent issue) */
    padding: 10px;
    text-align: left;
   
}