:root {
	--tables-css-version: 'v2024.09.25-18:35 (UnCommitted)';

    --background-color: #2e2e3f;
    --text-color: #e0e0e0;
    --header-background-color: #3e3e4f;
    --accent-color: #76c7c0;
    --hover-background-color: #3a3a4a;
}

/****************************************************/
/* Table Styles */
table {
    border-collapse: collapse; /* Change to separate */
    width: 100%; /* Adjust width as needed */
    background-color: var(--background-color); /* Dark background color for table */
    color: var(--text-color); /* Light text color for readability */
    margin-bottom: 15px; /* Adjust to see last line of table */
}

th, td {
    border: 1px solid black; /* Add borders to all cells */
    padding: 2px; /* Add padding for better readability */
    text-align: left; /* Adjust text alignment as needed */
}

thead th {
    background-color: var(--header-background-color); /* Darker background color for header */
    text-align: center;
    color: var(--accent-color); /* Accent color for header text */
}


/* Add styles for odd and even rows */
tbody tr:nth-child(even) {
    background-color: #3a3a4a; /* Slightly lighter background for alternating rows */
}
tbody tr.odd {
    background-color: var(--background-color); /* Default background color */
}
tbody tr.even {
    background-color: var(--hover-background-color); /* Slightly lighter background for alternating rows */
}

tbody td {
    border-top: none;
    border-bottom: none;
    font-size: 0.8em;
}

.closest-title {
    font-weight: bold;
    color: var(--accent-color); /* Accent color for closest title */
}

.closest-performer {
    font-style: italic;
    color: #a0a0a0; /* Slightly darker text color for closest performer */
}

/* Center Checkboxes in Table Cells */
table td input[type="checkbox"] {
    display: block;
    margin: 0 auto;
}

/* Sticky Header Styles */
.sticky-header {
    position: sticky;
    /* 3px: Padding at the top of the .sticky-container.
       20px: Height of the dropdown buttons.
       2px: Margin between the dropdown buttons and the filters.
       20px: Height of the filters.
       2px: Margin between the filters and the progress bar.
       40px: Height of the progress bar.
    */
    top: calc(3px + 20px + 2px + 20px + 2px + 40px);
    z-index: 2; /* Ensure header stays on top */
    background-color: #0e3e4f; /* Darker background color for sticky header */
    color: var(--accent-color); /* Accent color for sticky header text */
    font-weight: bold; /* Make text bold */
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s; /* Smooth transition */
    background-image: url('https://www.transparenttextures.com/patterns/asfalt-light.png'); /* Generic background pattern */
}

/* Sort Indicator Styles */
.sort-indicator {
    font-size: 0.6em; /* Adjust font size as needed */
    vertical-align: super; /* Simulate exponent-like positioning */
    color: var(--accent-color); /* Accent color for sort indicator */
}

/* Title Column Link Styles */
td.title-column a {
    color: var(--accent-color); /* Light blue color for links */
    text-decoration: none; /* Remove underline */
}

td.title-column a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Columns stats styles */
.col-stats {
    font-style: italic;
    font-size: 12px;
}