/* styles.css */
html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

#map {
    height: 100%;
    width: 100%;
}

.select-container select {
    font-size: 16px;
}

.select-container, .checkbox-container {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 250px;
    z-index: 1000;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.checkbox-container {
    top: 60px;
}

#chart-popover {
    position: absolute;
    bottom: 100px;
    right: 20px;
    z-index: 1000;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: none;
    width: 600px;
    height: 300px;
    margin-bottom: 45px;
}

#toggle-chart {
    position: absolute;
    bottom: 100px;
    right: 20px;
    z-index: 1000;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.legend {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.legend span {
    width: 10px;
    height: 10px;
    display: inline-block;
}

h4 {
    margin: 0;
}

.thanks {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 220px;
    z-index: 1000;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.time {
    position: absolute;
    bottom: 100px;
    right: 60px;
    z-index: 1000;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

@media only screen and (max-width: 600px) {
    #chart-popover {
        width: 90%;
        height: 250px;
        bottom:115px
    }
    .select-container {
        width: 270px;
    }

    .checkbox-container {
        width: 270px;
    }

    #toggle-chart{
        margin-bottom: 3px;
        right: 5px;
        bottom:115px
    }

    .time {
        width: 170px;
        font-size: 14px;
        right: 5px;
        bottom: 80px;
    }
    .thanks {
        font-size: 14px;
        width:170px;
        right: 5px;
        bottom: 10px;
    }

}
