html {
    font-size: 60.5%;
}

body {
    background-color: #111;
    color: #fff;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* General Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    text-align: center;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
}

th {
    background-color: #f2f2f2;
    color: #000;
}





body {
    background-color: #111;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
} */

.dashboard-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: #222;
    border-radius: 10px;
    text-align: center;
}

.dashboard-title {
    font-size: 3rem;
    margin-bottom: 40px;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-section {
    margin-bottom: 40px;
}

.dashboard-section-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #f2f2f2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.dashboard-button {
    display: block;
    padding: 20px;
    font-size: 1.6rem;
    background-color: #4CAF50;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
}

.dashboard-button:hover {
    background-color: #555;
    transform: translateY(-5px);
}



/* Headers and Text */
h1 {
    font-size: 5.2rem;
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    margin-bottom: -10px;
}

p {
    font-size: 2.6rem;
}

a {
    display: block;
    width: fit-content;
    margin: 5px auto 0;
    font-size: 2.0rem;
    color: #fff;
    font-weight: bolder;
    background-color: #000;
    text-decoration: none;
}

a:hover {
    background-color: #444;
}

/* Navigation Buttons */
.data_imports {
    margin: 30px 0;
}

.data_imports ul {
    list-style-type: none;
    padding: 0;
}

.data_imports ul li {
    margin: 10px 0;
}

.data_imports a.button {
    padding: 10px 20px;
    border: 2px solid #444;
    background-color: #333;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}

.data_imports a.button:hover {
    background-color: #555;
    border-color: #555;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

label {
    font-size: 1.2em;
    margin-bottom: 10px;
}

select, button {
    font-size: 1.2em;
    padding: 10px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 400px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

/* Generic container for sections */
.section-container {
    max-width: 1200px; /* Or the width that matches your site's main content area */
    margin: 0 auto; /* Center the container */
    padding: 20px; /* Add padding inside the container */
    background-color: black; /* Keep the container background black */
    color: white; /* White font color to match the site */
}

/* Generic header styling */
.section-header h2 {
    font-size: 2.4rem;
    color: white; /* Keep the header text white */
    margin-bottom: 20px;
    text-align: center;
}

/* Generic form styling */
.section-form, .section-search {
    margin-bottom: 20px;
}

.section-form form, .section-search form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-form select, .section-search input, 
.section-form button, .section-search button {
    font-size: 1.2em;
    padding: 10px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 400px;
    background-color: #444; /* Dark background for form elements */
    color: white; /* White text for form elements */
    border: 1px solid #333;
    border-radius: 4px;
}

.section-form button, .section-search button {
    background-color: #4CAF50; /* Green background for buttons */
    color: white; /* White text for buttons */
    border: none;
    cursor: pointer;
}

.section-form button:hover, .section-search button:hover {
    background-color: #45a049; /* Slightly darker green on hover */
}

/* Generic table styling */
.section-table {
    width: 100%; /* Full width for the table */
    margin: 20px auto; /* Center the table */
    background-color: white; /* White background for the table */
    color: black; /* Black font inside the table */
    border-collapse: collapse;
}

.section-table th, .section-table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: center;
}

.section-table th {
    background-color: #f2f2f2; /* Slightly darker background for table headers */
    color: black; /* Black font for headers */
}

/* Zebra striping for tables */
.section-table tbody tr:nth-child(odd) {
    background-color: #f2f2f2; /* Light gray background for odd rows */
}

.section-table tbody tr:nth-child(even) {
    background-color: #ffffff; /* White background for even rows */
}

/* Position heading */
.position-heading th {
    border-top: 3px solid white;
    background-color: #333;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: large;
    padding: 8px;
}

/* Position heading */
.average-heading th {
    background-color: #333;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: large;
}



.section-table td.covered {
    
    background-color: #2a2a2a;
    color: #e0e0e0;
    padding: 8px 12px;
    border-bottom: 1px solid #444;
    font-size: 1.95em;
   
}
/* For DUPLICATES -- UNCOMMENT OUT WHEN YOU COMMENT OUT BLUR  */
tr.highlight td.covered {
  background-color: #552222;
  color: #ffdddd;
  font-weight: bold;
}

/* Average */
.wrapper-main {
    width: 100%;
    padding: 10px 0;
    margin: 0 auto;
    /* border: 1px solid #ddd; /* Single border around all elements */
}
.bottom-table {
    display: flex;
    text-align: center;
    justify-content: center;
    margin: 0 auto;
    width: fit-content; /* Adjust to fit the content width */
    border: 1px solid #ddd; /* Ensure table border is visible */
    font-size: 12px;
}

.bottom-table table {
    border-collapse: collapse;
    border: 1px solid #ddd; /* Ensure table border is visible */
    margin: 0 auto; /* Center the table */
}

.bottom-table th, .bottom-table td {
    text-align: center;
    padding: 10px;
    border: 1px solid #000; /* Ensure cell borders are visible */
}
.bottom-table tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}
.row {
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    flex-wrap: wrap; /* Allows content to wrap if necessary */
    width: 100%; /* Ensures the row takes full width */
    margin: 0 auto;
}
.column {
    flex: 1; /* Allows columns to take equal space */
    padding: 1px;
    max-width: none; /* Optional: Adjust based on your desired max width */
}
/* Hide the row by default */
.hidden {
    display: none;
    width: 100%; /* Ensure it takes up the full width when displayed */
}

/* Ensure when it's shown, it fills the width */
.hidden.active {
    display: table-row;
    width: 100%; /* Ensure it takes up the full width */
    font-size: 14px;
}

/* Ensure the inner table also fills the full width */
.hidden .inner-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.hidden .inner-table td, .hidden .inner-table th {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}

/* Specific Table Row Colors */
tr.green {
    background-color: #007500;
    color: #fff;
    font-weight: bold;
}

tr.green span {
    background-color: #000;
    color: #fff;
    padding: 0 5px; /* optional, adds some spacing around the text */
    font-size: 14px;
}

tr.red {
    background-color: #a30000;
    color: #fff;
    font-weight: bold;
}

tr.red span {
    background-color: #000;
    color: #fff;
    padding: 0 5px; /* optional, adds some spacing around the text */
    font-size: 12px;
}

tr.yellow {
    background-color: #efcc00;
    color: black;
}

tr.yellow span {
    background-color: #000;
    color: #fff;
    padding: 0 5px; /* optional, adds some spacing around the text */
    font-size: 14px;
}

.hidden tr.final {
    background-color: #555;
    color: #fff;
}

.hidden tr.playing {
    background-color: #90EE90;
    color: #000;
}

td.clicker {
    display: flex;
    align-items: center;
    font-size: calc(12px + 1vw); /* Responsive font size */
    white-space: nowrap; /* Prevent text from wrapping */
}

td.clicker a {
    flex-grow: 1; /* Allow the link to take up the remaining space */
    overflow: hidden; /* Hide overflowed text */
    text-overflow: ellipsis; /* Add ellipsis to indicate text overflow */
    width: 100%; /* Ensure the link takes up the full width */
}

/* Responsive Styling */
@media (max-width: 600px) {
    .wrapper-main {
        width: 100%;
    }

    .column {
        float: left;
        padding: 5px;
    }

    /* Clearfix */
    .row::after {
        content: "";
        clear: both;
        display: table;
    }

    table {
        width: 100%;
    }

    th, td {
        padding: 12px;
    }
}

@media (max-width: 300px) {
    select, button {
        font-size: 3.5em;
        padding: 15px;
    }

    label {
        font-size: 1.5em;
    }
    table {
        width: 100%;
    }
    th, td {
        padding: 12px;
    }
}
