@charset "UTF-8";
/* CSS Document */
/* Table Styles */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    color: #212529;
}

th, td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

.table-header th {
    color: #888;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.table-header th a {
    color: #888;
    text-decoration: none;
}

.table-custom tbody td {
    font-size: 0.8125rem;
    font-weight: 600;
}

.table-custom thead {
    background-color: #f8f9fa;
}

.table-fixed {
    table-layout: fixed;
    width: 100%;
}

.table-no-horizontal-borders td {
    border-top: none;
    border-bottom: none;
}

.sticky-col {
    position: -webkit-sticky;
    position: sticky;
    background-color: #fff;
}

.first-col {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    left: 0;
}

.second-col {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
    left: 100px;
}

.scrollable-content::-webkit-scrollbar {
    width: 4px;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 4px;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
    background-color: #bbb;
}
 
/* Ensure the table layout and width */
.table-custom {
    position: relative;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Ensures consistent widths */
    overflow: hidden;
}

.table-custom thead th,
.table-custom tbody td {
    border: 1px solid #dee2e6;
    padding: 10px;
    text-align: left;
}

/* Fixed columns */
.sticky-col {
    position: sticky;
    background-color: #fff;
    z-index: 1; /* Ensure they appear above other content */
}

.first-col {
    left: 0;
    z-index: 2; /* Higher z-index for the first column */
}

.second-col {
    left: 60px; /* Adjust this value based on the width of the first column */
    z-index: 1;
}

/* Table header row */
.table-header {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 3;
} 