body,
html {
  top: 0;
  margin: 0;
  padding: 0;
  background-color: rgb(190, 190, 190);
  font-family: "Kanit", sans-serif;
}

#map {
  height: 100vh;
  width: 100%;
}
.leaflet-div-icon {
  background: none;
  border: none;
}
.leaflet-div-icon div {
  background-color: #007bff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
#refresh_btn {
  position: absolute;
  text-align: center;
  bottom: 30px;
  z-index: 1000;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  background-color: #002a57;
  border: none;
  color: white;
}
#stopbus_btn {
  position: absolute;
  text-align: center;
  right: 30px;
  bottom: 30px;
  z-index: 1000;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  background-color: #002a57;
  border: none;
  color: white;
}

#stopbus_btn img {
  width: 30px;
  height: 30px;
  filter: invert(1);
}

#refresh_btn:hover {
  background-color: #007bff;
  transition: 50ms;
}

#btn_section {
  display: flex;
  justify-content: center;
}

.leaflet-marker-icon {
  border-radius: 8px;
}
#error {
  display: flex;
  justify-content: center;
  z-index: 1000;
}

#error p {
  position: absolute;
  top: 30px;
  z-index: 1000;
  padding: 10px 40px;
  border-radius: 50px;
  color: white;
  background: rgba(0, 0, 0, 0.521);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 500ms ease-in-out, visibility 0ms 500ms;
}

#error_msg.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 500ms ease-in-out, visibility 0ms;
}
