.map-label-outer, .map-cluster-outer {
  position: absolute;
  left: 0;
  top: 0;
}

.map-label-outer {
  transform: translate(-50%, calc(-100% - 6px));
}

.map-cluster-outer {
  transform: translateY(-50%);
}

.map-label, .map-cluster {
  display: inline-block;
  padding: 5px 8px;
  background: #2c3e50;
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transform-origin: center bottom;
}

.map-cluster {
  background: #4600a3;
}

.map-label-arrow, .map-cluster-arrow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #2c3e50;
}

.map-cluster-arrow {
  border-top: 7px solid #4600a3;
}


.map-label.map-pulse,
.map-cluster.map-pulse {
  animation: pulseScale 0.35s ease;
}



.map-label.is-hover {
  transform: scale(1.1);
  z-index: 1000;
}

.map-label.is-selected {
  background: #e74c3c;
  transform: scale(1.15);
}