#home-button-container {
    display: inline-block;
    margin-right: 10px; /* Add space between home button and hamburger button */
}

.hamburger-button-container {
    display: inline-block;
}

#header-buttons {
    display: flex;
    justify-content: flex-end; /* Aligns both buttons to the right of the screen */
    align-items: center; /* Ensures proper vertical alignment */
    padding: 10px 10px 0 0;
}

.hamburger-button {
    display: inline-block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

#filter-settings-div {
    display: grid;
    grid-template-columns: auto auto; /* Two equal-width columns */
    grid-template-areas: 'settings1 settings2'
                         'settings3 settings3';
    grid-row-gap: 15px;
    grid-column-gap: 10px;
    max-width: fit-content;
    margin: 0 auto 10px 20px;
}

#filter-checkboxes-div {
    grid-area: settings1;
    border-right: 2px gray solid;
    padding-right: 15px;
    display: grid;
    grid-template-columns: auto auto; /* Two equal-width columns */
    grid-row-gap: 15px;
    grid-column-gap: 15px;
    max-width: fit-content;
}

#filter-daterange-div {
    grid-area: settings2;
    display: flex;
    flex-direction: column; /* Stack the From and To inputs vertically */
    align-items: center;
    align-self: center;
}

#filter-text-div {
    grid-area: settings3;
}

.box-pair {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.checkbox-label {
    margin-right: 10px;
    font-weight: bold;
}

.checkbox-input {
    width: 30px;
    height: 30px;
    margin: 0;
}

.date-picker-input {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 3px; /* Reduce padding inside input boxes */
    width: 80px;
    font-size: 0.9em; /* Slightly smaller font size */
    margin-top: 0;
    margin-bottom: 0;
}

.txt-filter-input {
    margin-bottom: 0;
    padding: 2px;
}

/* Vanillajs-datepicker styling override (optional if required to reduce calendar space) */
/*.datepicker-dropdown {
    font-size: 0.85em;
    padding: 5px;
    max-width: 180px;
}*/


.planning-view-tile {
    display: flex;
    flex-direction: column; /* Stack the header and details vertically */
    background-color: white;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s;
}
.planning-view-tile.score-submitted {
    background-color: #b7ffb1;
}
.planning-view-tile.cancelled {
    background-color: #8080806e;
}
.planning-view-tile:hover {
    transform: scale(1.02);
}

.planning-view-tile-header {
    display: flex;
    align-items: center;
    position: relative; /* For absolute centering */
    padding-bottom: 5px;
    margin-bottom: 5px;
    font-weight: bold;
}

.planning-view-tile-header-left {
    flex: 0 0 auto; /* Prevents the left div from stretching */
}

.planning-view-tile-header-center {
    position: absolute; /* Centers the datetime */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.planning-view-tile-names {
    display: grid;
    grid-template-columns: auto auto; /* Two equal-width columns */
    grid-row-gap: 5px;
    grid-column-gap: 15px;
    margin-left: 10px;
    max-width: fit-content;
}

.planning-view-tile-names > div {
    display: inline-block; /* Prevent the divs from stretching */
    width: fit-content;
    text-align: left;
    font-size: 0.9em; /* Reduced font size for player names */
}

.player-ranking {
    color: rgba(0, 0, 0, 0.75); /* 75% black (gray) */
    font-size: 0.9em; /* Slightly smaller text */
    font-style: italic; /* Optional for better readability */
}

.planning-view-tile-link {
    text-decoration: none; /* Remove underline */
    display: block;        /* Ensure the link takes the shape of the div */
    color: inherit;        /* Maintain text color inside the div */
}

@media (max-width: 768px) {
    .planning-view-tile-names > div {
        font-size: 0.7em; /* Reduced font size for player names */
    }

    .player-ranking {
        font-size: 0.7em; /* Slightly smaller text */
    }
}