body {
    margin: 0;
    padding: 0;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

#datepickercontainer {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: system-ui, sans-serif;
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 1000;
}

#datepickercontainer label {
    font-weight: 500;
    font-size: 14px;
}

#datepicker {
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.2s ease;
}

#datepicker:hover,
#datepicker:focus {
    border-color: #0077ff;
    outline: none;
}

#play-btn {
    background-color: #0077ff;
    color: white;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#play-btn:hover {
    background-color: #005fcc;
}


#legend {
    position: absolute;
    bottom: 40px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: system-ui, sans-serif;
    font-size: 14px;
    z-index: 1000;
}

#legend h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
}

#legend div {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.legend-color.smoke-light {
    background-color: #00FF00;
}

.legend-color.smoke-medium {
    background-color: #FFFF00;
}

.legend-color.smoke-heavy {
    background-color: #FF0000;
}

.legend-circle {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.legend-circle.fire {
    background-color: #FF0000;
}