.price-marker {
  background: white;
  border: 2px solid #3b82f6;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #1e40af;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.15s ease;
}

.price-marker.highlighted {
  background: #3b82f6;
  color: white;
  transform: scale(1.1);
  z-index: 1000 !important;
}

.price-marker-container {
  background: transparent !important;
  border: none !important;
}

.marker-cluster {
  background: transparent !important;
}

.cluster-icon {
  background: #3b82f6;
  border: 3px solid white;
  border-radius: 50%;
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.cluster-small {
  width: 36px;
  height: 36px;
  font-size: 12px;
}

.cluster-medium {
  width: 44px;
  height: 44px;
  font-size: 14px;
}

.cluster-large {
  width: 52px;
  height: 52px;
  font-size: 16px;
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
  padding: 0;
}

.leaflet-popup-content {
  margin: 0;
  padding: 12px;
  min-width: 180px;
}

.apartment-popup {
  font-family: system-ui, -apple-system, sans-serif;
}

.apartment-popup img {
  margin: -12px -12px 12px -12px;
  width: calc(100% + 24px);
  border-radius: 8px 8px 0 0;
}

#map {
  z-index: 0;
}

.leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}

.leaflet-control-zoom a {
  background: white !important;
  color: #374151 !important;
  border: none !important;
}

.leaflet-control-zoom a:hover {
  background: #f3f4f6 !important;
}

.leaflet-draw-toolbar a {
  background-color: white;
}

[x-cloak] {
  display: none !important;
}

@media (max-width: 1023px) {
  #map {
    min-height: 300px;
  }
}

@media (min-width: 1024px) {
  #map {
    height: 100% !important;
  }
}

#map {
  width: 100%;
  height: 100%;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
