  
#list_table_title {
    flex-shrink: 0;
    width: 100%;
    padding-left: 5px;
    padding-right: 3px;
    background-color: #bec581;
    color: black !important;
}

#list_table_title h5 {
  color: black;
  font-weight: bold;
}

#list_table {
    flex-grow: 1;
    width: 100%;
    border-collapse: collapse;
    overflow-y: auto;
    position: relative; /* Needed for fixed header positioning */
}
table {
    width: 100%;
}
  
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

thead th {
    position: sticky; /* Fixed header */
    top: -1px; /* Adjust top value slightly */
    background-color: #f2f2f2; /* Light gray background for header */
    z-index: 1; /* Ensure header is on top */
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
/*
tr:nth-child(even) {
background-color: #f9f9f9;
}
*/
th {
    cursor: pointer;
    position: relative; /* Needed for absolute positioning of icons */
    padding-right: 20px; /* Space for icons */
}
  
th::after {
    content: '\2195'; /* Up/down arrow Unicode character */
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    font-size: 0.8em;
    opacity: 0.5; /* Make the icon subtle */
}
  
th.ascending::after {
    content: '\2191'; /* Up arrow */
    opacity: 1;
}
  
th.descending::after {
    content: '\2193'; /* Down arrow */
    opacity: 1;
}

th:hover {
    color: #c44100; /* Change text color on hover */
    text-decoration: underline;
}

/*
.linked-cell {
    color: #c44100;
    text-decoration: underline;
    cursor: pointer;
}
*/