html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 100%;
  width: 100%;
}

.custom-icon .circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
}
.popup-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.popup-button {
  background-color: #34A853;
  color: white;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  flex: 1;
}

.popup-button:hover {
  background-color: #0A7E33;
}

.popup-button:focus {
  outline: none;
}

.popup-content {
  font-family: Arial, sans-serif;
  background-color: white;
  border: 1px solid #34A853;
  padding: 15px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
  max-width: 100%;
}

.popup-content b {
  font-size: 12px;
  color: #34A853;
}

.popup-content i {
  font-size: 13px;
}

.leaflet-container a {
  color: white;
}

.leaflet-bar a, .leaflet-bar a:hover {
  background-color: #333;
}

.leaflet-bar a.leaflet-disabled {
  background-color: #333;
}

/* Style cho nút định vị */
#locate-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #34A853;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

#locate-btn:hover {
  background-color: #0A7E33;
}

#locate-btn:focus {
  outline: none;
}

#locate-btn::after {
  content: "Tìm vị trí của tôi";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  margin-right: 10px;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  text-align: center;
  width: auto;
  white-space: nowrap;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Hiển thị tooltip khi hover vào nút */
#locate-btn:hover::after {
  opacity: 1;
  visibility: visible;
}
