body {
    padding: 0;
    margin: 0;
}
html, body, #app {
    height: 100%;
    width: 100%;
}

.simbad_logo {
    position: fixed;
    top: 1%;
    left: 4%;
    width: 100px;
    height: auto;
    z-index: 1000;
}
.menu {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgb(19, 177, 164);
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    max-width: 450px;
    overflow-y: auto;
    max-height: 50vh;
}
.menu .country {
    display: block;
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    text-align: left;
    margin-bottom: 5px;
    background-color: #ffffff;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
}
.menu .country:hover {
    background-color: #c4c4c1;
}
.menu .regions{
    padding: 10px;
    display: none;
    overflow: hidden;
    background-color: #288474;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.menu .region {
    display: block;
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    text-align: left;
    margin-bottom: 5px;
    background-color: #fff;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}
.menu .region:hover {
    background-color: #c4c4c1;
}
.cities {
    padding: 10px;
    display: none;
    overflow: hidden;
    background-color: #84e0d1;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.menu .city {
    display: block;
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    text-align: left;
    margin-bottom: 5px;
    background-color: #fff;
    color: #00217c;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}
.menu .city:hover {
    background-color: #c4c1c1;
}
.layers {
    padding: 8px;
    display: none;
    overflow: hidden;
    background-color: #c2f0e9;
    border-radius: 5px;
    margin-bottom: 10px;
}
.layers div {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.layers input[type="checkbox"] {
    margin-right: 8px;
}
.leaflet-control-download {
    font-size: 16px;
    padding: 8px 16px;
    background-color: rgb(19, 177, 164);
    border: 2px solid #000000;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.leaflet-control-download:hover {
    background-color: #4582b7;
}
.progress-bar{
    width: 100%;
    background: rgb(148, 145, 145);
    height: 8px;
}
.progress{
    width: 0%;
    background: rgb(25, 229, 25);
    height: 100%;
    margin-top: 4px;
}
.distance-label-content {
    background: white;
    padding: 2px 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-size: 12px;
    text-align: center;
  }
.save{
    margin-top: 5px;
}
.compare_button{
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}
.compare_button:hover{
    background-color: #4187d3;
}
.leaflet-bottom.leaflet-left .leaflet-control-scale {
  left: 3%;
}
@media (max-width: 1366px) {
    .simbad_logo {
        width: 80px;
    }
    .leaflet-bottom.leaflet-left .leaflet-control-scale {
        left: 35%;
    }
    .leaflet-draw-toolbar a {
        width: 28px !important;
        height: 28px !important;
        line-height: 28px !important;
    }
}
@media (max-width: 992px) {
    .simbad_logo {
        width: 100px;
        left: 6%;
    }
    .leaflet-bottom.leaflet-left .leaflet-control-scale {
        left: 3%;
    }
    .leaflet-draw-toolbar a {
        width: 28px !important;
        height: 28px !important;
        line-height: 28px !important;
    }
}
@media (max-width: 667px) {
    .simbad_logo {
        width: 60px;
        top: 2%;
        left: 13%;
    }
    .leaflet-bottom.leaflet-left .leaflet-control-scale {
        left: 3%;
    }
    .leaflet-draw-toolbar a {
        width: 28px !important;
        height: 28px !important;
        line-height: 28px !important;
    }
    .leaflet-control-download {
        font-size: 10px;
    }
}