.custom-popup .leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.custom-popup .leaflet-popup-content {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.leaflet-tooltip {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

#map {
  height: 600px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#asInfoPanel {
  display: none;
}

#legend {
  display: none;
}

.legend-dot {
  width: 12px;
  height: 12px;
}

.legend-line {
  width: 20px;
  height: 2px;
  margin-right: 8px;
}

.legend-line-upstream {
  background: #007bff;
}

.legend-line-peer {
  background: #28a745;
}

.legend-line-downstream {
  background: #ffc107;
}

.legend-dot-danger {
  opacity: 0.7;
}

.legend-dot-info {
  opacity: 0.7;
}

.connections-list {
  max-height: 200px;
  overflow-y: auto;
}