@media (max-width: 800px) {

    #container {
        display: grid;
        grid-template-rows: 400px 1fr;
        width: 100vw;
        height: 100vh;
        box-sizing: border-box;
    }

    #map {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }

    #content {
        width: 100%;
        height: 100%;
        padding: 20px;
        font-family: 'Inter', sans-serif;
        box-sizing: border-box;
    }

    #last-update {
        width: 100%;
        text-align: right;
        padding: 5px;
        font-size: 11px;
        font-weight: 300;
        color: gray;
    }

}

@media (min-width: 800px) {
    #container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        width: 100vw;
        height: 100vh;
    }

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

    #content {
        width: 100%;
        height: 100%;
        padding: 20px;
        font-family: 'Inter', sans-serif;
    }

    #last-update {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 100%;
        text-align: right;
        padding: 5px;
        font-size: 11px;
        font-weight: 300;
        color: gray;
    }

}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}


/* Custom Popup CSS */
.custom .leaflet-popup-tip,
.custom .leaflet-popup-content-wrapper {
    background: #e93434;
    color: #ffffff;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
}

.custom .leaflet-popup-close-button span {
    color: white;
}

.rounded-rectangle {
    width: 25px;
    height: 25px;
    background-color: #007bff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rounded-rectangle_1 {
    width: 25px;
    height: 25px;
    background-color: #006400;
    border-radius: 0 15px 15px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.rounded-rectangle_2 {
    width: 25px;
    height: 25px;
    background-color: #3CB371;
    border-radius: 0 5px 5px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.rounded-rectangle_3 {
    width: 25px;
    height: 25px;
    background-color: #D4AC0D;
    border-radius: 0 5px 5px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.rounded-rectangle_4 {
    width: 25px;
    height: 25px;
    background-color: #DC7633;
    border-radius: 0 5px 5px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.rounded-rectangle_5 {
    width: 25px;
    height: 25px;
    background-color: #A93226;
    border-radius: 0 5px 5px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.rectangle-number {
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

#content h2 {
    padding: 0;
    margin: 0;
}

#mill-level-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgb(220, 220, 220);
}

.details-doc-link {
    display: block;
    padding-top: 10px;
    color: gray;
}

.mill_list {
    display: grid;
    grid-template-columns: 30px 1fr;
    width: 100%;
}

.mill_list_label_name {
    font-size: 13px;
}

.mill_list_name {
    font-size: 13px;
    position: relative;
    top: 5px;
}