body {
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
}
.grid-container {
    position: sticky;
    top: calc(var(--header-height, 0px) + var(--h2-height, 0px));
    z-index: 2000;
    display: grid;
    gap: 0;
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    overflow: auto;
    max-height: calc(100vh - var(--header-height, 0px) - var(--h2-height, 0px));
    background: black;
}
h2 {
    position: sticky;
    top: var(--header-height, 0px);
    z-index: 2500;
    background: black;
    color: white;
    padding: 8px 0 4px 0;
    margin: 0;
}
.grid-item {
    color: white;
    text-align: center;
    padding: 5px;
    border: 0;
    background: transparent;
    min-width: 0; /* Allow grid-template-columns to control width */
}
.active-slot {
    background: white;
    color: black;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}
.active-slot span {
    position: sticky;
    top: 40px; /* Height of the sticky header row, adjust as needed */
    width: 100%;
    background: white;
    text-align: center;
}
.time-slot {
    min-width: 60px;
    max-width: 80px;
    width: 100%;
    font-size: 0.7em;
    padding: 0;
    background: black;
    font-weight: bold;
    text-align: center;
}
.sticky-header, .tijd-header {
    z-index: 2000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: black;
    font-weight: bold;
    font-size: 0.9em;
    padding: 0.3em 0px;
    text-align: center;
    position: sticky;
    top: 0;
}
.active-slot.current-time-slot,
.current-time-slot {
    background: yellow !important;
    color: black !important;
    font-weight: bold;
}
.broeikas-header {
    background: #cccccc !important;
    color: #fff !important;
    border-left: 0px solid #fff;
    border-right: 0px solid #fff;
}
.broeikas-col {
    min-width: 0 !important;
    max-width: 100% !important;
    background: #999999 !important;
    border-left: 0px solid #fff;
    border-right: 0px solid #fff;
}
.broeikas-col.active-slot {
    background: white !important;
    color: black !important;
    border: 1px solid black;
    font-size: 0.7em;
}
@media (max-width: 768px) {
    .grid-container {
        overflow-x: auto;
        white-space: normal;
    }
    .grid-item {
        min-width: 100px;
        white-space: normal;
        display: block;
    }
    .broeikas-col {
        min-width: 150% !important;
    }
    .time-slot {
        min-width: 40px;
        max-width: 60px;
        font-size: 0.7em;
        padding: 0 0px;
        background: black;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .tijd-header, .sticky-header {
        min-width: 120%;
        max-width: 100%;
        font-size: 0.9em;
        padding: 0.3em 0px;
        background: black;
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
        height: 100%;
    }
    .sticky-header {
        z-index: 1000;
    }
    .grid-item.time-slot:not(.tijd-header) {
        z-index: 500;
    }
    .sticky-tijd {
        z-index: 999;
    }
}
img[src="header_2025-01.svg"] {
    margin-top: 0 !important;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 900px;
    z-index: 3000;
    background: black;
    display: block;
    height: auto;
}

:root {
    --header-height: 0px;
    --h2-height: 0px;
}
