html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', 'Verdana', sans-serif;
}

#chart-container {
    width: 100%;
    height: 80%;
    position: relative;
}

#myChart,
.chartjs-render-monitor {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Controls container styling */
#controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 10px;
    background-color: #f9f9f9;
}

.control-group {
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* "No Forecast" message styles */
#chart-container.no-forecast {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.no-forecast-message {
    font-size: 24px;
    color: #555;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

#slider-container {
    flex-grow: 1;
    height: 0.75em;
    background-color: #ccc;
    border-radius: 5px;
    margin-left: 3em;
    margin-right: 1em;
}

.slider-reset-button {
    flex-shrink: 0;
    white-space: nowrap;
}

.handle {
    position: absolute;
    width: 1em;
    height: 1em;
    background-color: white;
    border-radius: 50%;
    border: 2px solid #888;
    top: -0.2em;
    cursor: pointer;
}

/* Compact styles for the year/month/day buttons container */
#year-buttons-container {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    height: auto;
}

/* Compact styles for buttons within the year-buttons-container */
#year-buttons-container button {
    margin: 0 3px;
    padding: 2px 5px;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #f8f8f8;
    border-radius: 3px;
    font-size: 0.8em;
    transition: background-color 0.3s ease;
}

#year-buttons-container button:hover {
    background-color: #e0e0e0;
}
