/* Container for horizontal scrolling */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

/* Ensure each cell has a border */
table th, 
table td {
    border: 1px solid #ccc;
    padding: 8px 12px; /* Add padding for better spacing */
    text-align: center; /* Center-align text */
    word-wrap: break-word; /* Prevent overflow */
}

/* Table header styling */
table th {
    background-color: #f4f4f4; /* Light gray background for headers */
    font-weight: bold;
    color: #333; /* Darker text for contrast */
}

/* Alternate row colors for better readability */
table tbody tr:nth-child(odd) {
    background-color: #fafafa; /* Light background for odd rows */
}
table tbody tr:nth-child(even) {
    background-color: #ffffff; /* White background for even rows */
}

/* Sticky first column */
table th:first-child, 
table td:first-child {
    position: sticky;
    left: 0;
    background: #ececec;
    z-index: 2;
    border-right: 2px solid #ccc;
}

/* Highlight hidden rows */
table tr.hidden {
    background-color: #ffecec; /* Light red background for hidden rows */
    color: #999; /* Dimmed text color */
}

/* Toggle button styling */
.toggle-button {
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    border: solid 1px #ccc;
    border-top: none;
    border-radius: 0;
    background-color: #f9f9f9; /* Light background */
    color: #333; /* Dark text */
}
.toggle-button:hover {
    background-color: #ccc; /* Darker background on hover */
}