* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100vh;
}

h1 {
  text-align: center;
  color: #2c3e50;
}

#map {
  flex: 1;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  cursor: crosshair;
}

.stats-panel {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#location-info {
  font-size: 1.2em;
  color: #2c3e50;
}

#coordinates {
  color: #7f8c8d;
}

.legend {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.legend h3 {
  margin-bottom: 10px;
}

.legend p {
  margin-bottom: 8px;
  line-height: 1.4;
}

.leaflet-popup-content {
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }
  
  h1 {
    font-size: 1.5em;
  }
  
  .stats-panel {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}