html, body {
    position: relative; /* Ensure the dropdown is positioned relative to the page */
}


/* * {
    outline: 1px solid red;
 } */



/* ensure game cards keep their horizontal layout */
.schedule-container {
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: #ffffff;
    max-width: 100%;
    box-sizing: border-box;
}

/* make both rows take the same inner width so they scroll together */
.dates-row,
.games-row {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    width: 100%; /* will match the .horizontal-scroll__inner width */
    gap: 0;
}

.schedule-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns of equal width */
    gap: 20px; /* Add spacing between grid items */
    justify-items: center; /* Center items horizontally */
    align-items: start; /* Align items at the top */
    margin: 20px auto; /* Center the grid within its container */
    width: 100%; /* Ensure the grid takes up the full width of the container */
}

.schedule-grid-container .big-game-card {
    border: 1px solid #000000;
    min-width: 100%;
    min-height: 100%;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.big-game-card:hover {
    background-color: #e9ecef;
}

.schedule-date {
    white-space: nowrap;        /* prevent wrapping */
    overflow: hidden;          /* hide overflow */
    text-overflow: ellipsis;   /* show ellipsis for long text */
    flex: 0 0 auto;            /* keep the element at its minWidth */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    box-sizing: border-box;
    border: 1px solid #000;
}

/* single scroll bar that controls both rows */
.horizontal-scroll__wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

/* an inner element sized to the combined width of items */
.horizontal-scroll__inner {
    display: inline-block;
    min-width: max-content; /* ensures it grows to fit children */
}

/* optional: keep the scrollbar visible and make padding consistent */
.horizontal-scroll__wrapper {
    padding-bottom: 8px; /* space for scrollbar on some platforms */
}

.game-card {
    min-width: 120px;
    height: 100%;
    border: 1px solid #000000;
    background: #fff;
    flex: 0 0 auto;
    
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    margin-bottom: 0px;
    font-weight: bold;
}
.game-card:hover {
    background-color: #e9ecef;
}

.game-card .date {
    padding-top: 4px;
}

.game-card .teams {
    font-weight: bold;
    margin-bottom: 0px;
}

.game-card .score,
.game-card .time {
    margin-bottom: 3px;
    font-weight: normal;
    font-size: 12px;
}

.game-card .logos {
    margin-top: 5px;
}

.big-game-card {
    width: 100%;
    height: 100%;
    flex: 0 0 auto;
}

.table-responsive table {
    table-layout: fixed; /* Enforce fixed layout for columns */
    width: 100%; /* Ensure the table takes up the full width of the container */
}

.table-responsive th, 
.table-responsive td {
    word-wrap: break-word; /* Break long words to prevent overflow */
    white-space: normal; /* Allow wrapping of text */
}

.scoresheet-card {
    width: 100%;
    box-sizing: border-box;
}

.floating-dropdown {
    position: fixed;         /* Take it out of the normal flow */
    top: 200px;               /* Adjust as needed */
    right: 10px;             /* Adjust as needed */
    width: 220px;
    background-color: white;
    border: 1px solid black;
    border-radius: 0;
}

.dropdown-and-schedule-container-wrapper {
    position: relative;
    overflow-y: hidden; /* Prevent vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: 100%;
    display: flex;
    flex-direction: column;
}

.team-link-standings {
    font-weight: bold;
    width: 200px;
}