@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

body {
    margin: 0;
}

#body::after {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    content: url(assets/icon.svg) url(assets/icon.locating.svg) url(assets/icon.following.svg) url(assets/icon.requesting.svg);
}

#map {
    height: 100vh;
    width: 100%;
    z-index: 1;
}

.leaflet-control-zoom {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4) !important;
    border: none !important;
    background-color: transparent !important;
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
    background-color: rgba(135, 181, 0, 0.9) !important;
    /* Bootstrap Primary */
    color: white !important;
    border: none !important;
    font-size: 30px !important;
    font-weight: bold;
    border-radius: 8px;
    border-top-left-radius: 6px !important;
    border-top-right-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
    width: 34px !important;
    height: 38px !important;
    line-height: 42px !important;
    text-align: center !important;
    margin: 2px 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4) !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover {
    background-color: rgba(101, 133, 5, 0.9) !important;
    cursor: pointer;
}


.sidebar-button {
    position: absolute;
    top: 100px;
    left: 10px;
    z-index: 10;
    background: rgba(135, 181, 0, 0.9) !important;
    width: 34px !important;
    height: 38px !important;
    text-align: center !important;
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: white;
}

.sidebar-container {
    /* background: radial-gradient(circle at center, rgba(135, 181, 0, 0.5) 0%, rgba(149, 198, 4, 0.8), #a6d400) !important; */
    background: linear-gradient(to bottom, #a6d400, rgba(135, 181, 0, 0.9), rgba(135, 181, 0, 0.7), rgba(135, 181, 0, 0.5));
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.select-option-list {
    width: 100%;
}

.sidebar-button i {
    text-align: center;
    margin: -2px;
}

#simulateBtn {
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.estimations {
    margin-left: -100px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#swapBtn {
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
}

#swapBtn i {
  margin-right: 5px;
  
}

.maps-toolbar-container {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 10px;
    left: 50px;
    z-index: 10;
    background: rgba(135, 181, 0, 0.9);
    border-radius: 10px;
    color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.toolbar i {
    margin: 4px;
    cursor: pointer;
}

.toolbar-title h1 {
    word-spacing: 3px;
}

/* toolbar description start */
.legend-container,
.details-container,
.basemap-container,
.layers-conatiner {
    position: absolute;
    top: 10px;
    right: 100px;
    z-index: 10;
    color: white;
}

.heading {
    background: rgba(135, 181, 0, 0.9);
    padding: 6px;
}

.card-body {
    background: white;
    color: black;
}

.heading i {
    margin-right: 3px;
}

.heading h5 {
    display: inline;
}

ul li {
    list-style-type: none;
}

.basemap {
  border: 2px solid transparent;
  transition: border 0.3s ease;
}
.basemap.active {
  border: 3px solid #007bff; /* blue highlight */
  box-shadow: 0 0 10px rgba(0,123,255,0.5);
}


/* toolbar description end */


#customDrawToolbarContainer {
    position: absolute;
    top: 35px;
    left: 80px;
    z-index: 999;
    background: rgba(135, 181, 0, 0.9) !important;
}


@media screen and (max-width:426px) {

    .legend-container,
    .details-container,
    .basemap-container,
    .layers-conatiner {
        top: 150px;
        right: 20px;
    }

}


@media screen and (max-width:769px) {

    .legend-container,
    .details-container,
    .basemap-container,
    .layers-conatiner {
        top: 150px;
        right: 20px;
    }
}