.control-locations-map {
  /* custom scrollbar */
}

.control-locations-map *,
.control-locations-map *::before,
.control-locations-map *::after {
  box-sizing: border-box;
}

.control-locations-map .card-listing {
  cursor: pointer;
}

.control-locations-map .card-listing.active {
  --control-locations-card-border-color: var(--control-locations-primary);
}

.control-locations-map .card-listing .list-group {
  --control-locations-list-group-border-width: 0;
  --control-locations-list-group-item-padding-y: 0.25rem;
}

.control-locations-map .card-listing .list-group > .list-group-item {
  display: flex;
  gap: 10px;
  align-items: start;
}

.control-locations-map .card-listing .list-group > .list-group-item svg {
  color: var(--control-locations-primary);
}

.control-locations-map .card-listing .location-logo {
  flex: 0 0 auto;
  max-width: 100px;
}

.control-locations-map .card-listing .location-logo img {
  width: 100%;
}

.control-locations-map .card-listing .card-img-top {
  height: auto;
}

.control-locations-map .leaflet-container .zoom-tips {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}

.control-locations-map .leaflet-container .zoom-tips .tips-text {
  display: flex;
  width: 100%;
  justify-content: center;
  font-size: 30px;
  position: absolute;
  top: 50%;
  z-index: 99999;
  color: #fff;
}

.control-locations-map .leaflet-container .zoom-tips.show {
  display: block;
}

.control-locations-map .map-content-header .near-me {
  cursor: pointer;
}

.control-locations-map .map-search {
  position: relative;
}

.control-locations-map .map-search .form-control {
  border-right: 0;
  border-radius: var(--control-locations-border-radius);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.control-locations-map .map-search .btn-search-location {
  border-radius: var(--control-locations-border-radius);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.control-locations-map #map-search-results {
  position: absolute;
  left: 2px;
  background-color: #fff;
  box-shadow: -2px 3px 5px 0px rgba(0, 0, 0, 0.5);
  z-index: 99;
  width: 100%;
  height: fit-content;
  max-height: 300px;
  overflow-y: scroll;
  visibility: hidden;
  padding: 15px 20px;
}

.control-locations-map #map-search-results ul {
  margin-bottom: 0;
}

.control-locations-map #map-search-results ul li {
  cursor: pointer;
  padding: 10px 0px;
}

.control-locations-map #map-search-results ul li .card-map-search-title {
  margin-bottom: 0;
}

.control-locations-map .map-marker.map-marker-default svg {
  width: var(--control-locations-map-marker-size, 32px);
  height: var(--control-locations-map-marker-size, 32px);
}

.control-locations-map .control-locations-destination-marker-icon {
  display: none;
}

.control-locations-map .leaflet-popup-content {
  min-width: 350px;
}

.control-locations-map .leaflet-marker-icon,
.control-locations-map .map-marker-icon,
.control-locations-map .map-marker-default {
  color: var(--control-locations-marker-color, #000);
  fill: var(--control-locations-marker-color, #000);
}

.control-locations-map .control-locations-current-marker-icon svg,
.control-locations-map .control-locations-destination-marker-icon svg {
  width: 100%;
  height: 100%;
}

.control-locations-map .leaflet-control-container .leaflet-routing-collapse-btn {
  color: var(--control-locations-body-color);
}

.control-locations-map .leaflet-control-container .leaflet-routing-container-hide {
  width: 36px;
  height: 36px;
}

.control-locations-map .leaflet-control-container .leaflet-routing-container-hide .leaflet-routing-collapse-btn {
  top: 2px;
}

.control-locations-map ::-webkit-scrollbar {
  width: 18px;
}

.control-locations-map ::-webkit-scrollbar-track {
  background-color: transparent;
}

.control-locations-map ::-webkit-scrollbar-thumb {
  background-color: #a8bbbf;
  border-radius: 20px;
  border: 6px solid transparent;
  background-clip: content-box;
}

.control-locations-map ::-webkit-scrollbar-thumb:hover {
  background-color: #a8bbbf;
}

/* My Location Button Control */
.control-locations-map .leaflet-control-my-location {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  margin: 10px;
}

.control-locations-map .my-location-button {
  background: #fff;
  border: none;
  border-radius: 4px;
  width: 34px;
  height: 34px;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--control-locations-primary);
  transition: background-color 0.2s;
}

.control-locations-map .my-location-button:hover {
  background-color: #f5f5f5;
}

.control-locations-map .my-location-button:active {
  background-color: #e0e0e0;
}

.control-locations-map .my-location-button.loading {
  opacity: 0.6;
  cursor: wait;
}

.control-locations-map .my-location-button.loading svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.control-locations-map .my-location-button svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* User Location Marker */
.control-locations-map .user-location-icon {
  background: transparent;
  border: none;
}

.control-locations-map .user-location-marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--control-locations-primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  position: relative;
}

.control-locations-map .user-location-marker::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
}

.control-locations-map .user-location-marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--control-locations-primary);
  opacity: 0.3;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* Hide Leaflet popup tip for My Location popup */
.control-locations-map .leaflet-popup.ctl-my-location-popup-no-tip .leaflet-popup-tip-container {
  display: none;
}
.control-locations-map .leaflet-popup.ctl-my-location-popup-no-tip .leaflet-popup-content-wrapper {
  border-radius: 6px;
}
.control-locations-map #controlLocationsMap .leaflet-popup-content-wrapper {
    background-color: #ffffffc9 !important;
}
.ctl-my-location-popup{
  padding: 0 5px;
}
/*# sourceMappingURL=leaflet-style.css.map */
