* { margin: 0; padding: 0; box-sizing: border-box; }
html, body, #map { width: 100%; height: 100%; }
#map { background: #7dc5b7; }

#info-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 8px;
  border-radius: 5px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
  pointer-events: none;
}
#status, #stats {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.6;
}
#connection-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e74c3c;
  display: inline-block;
  flex-shrink: 0;
}
#connection-dot.connected { background: #2ecc71; }
#status-text { font-weight: 500; }

.buggy-icon { width: 32px !important; height: 50px !important; }
.buggy-wrap { position: relative; width: 32px; }
.buggy-img {
  width: 32px;
  height: 32px;
  display: block;
  transition: transform 0.5s ease;
}
.buggy-label {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #2c3e50;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  border: 1px solid rgba(0,0,0,0.1);
}

.leaflet-control-attribution {
  background: none !important;
  color: rgba(255,255,255,0.6) !important;
  font-size: 10px !important;
}
.leaflet-control-attribution a { color: rgba(255,255,255,0.6) !important; }

.leaflet-marker-icon {
  transition: transform 0.8s linear;
}
.leaflet-marker-icon.no-transition {
  transition: none !important;
}

.you-are-here { width: 16px !important; height: 40px !important; }
.loc-dot {
  width: 16px;
  height: 16px;
  background: #2979ff;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(41, 121, 255, 0.3);
  animation: pulse 2s infinite;
}
.loc-label {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #2c3e50;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 4px rgba(41, 121, 255, 0.3); }
  50%  { box-shadow: 0 0 0 12px rgba(41, 121, 255, 0); }
  100% { box-shadow: 0 0 0 4px rgba(41, 121, 255, 0); }
}
