/* Reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background: #f4f6f8;
  color: #333;
}

/* Topbar */
.topbar {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
  text-align: center;
  padding: 14px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Map */
#map {
  height: 60vh;
  width: 100%;
}

/* Controls */
.controls {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  background: white;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.05);
}

/* Buttons */
button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 12px;
  background: #3498db;
  color: white;
  font-size: 16px;
  font-weight: 500;
  transition: 0.2s;
}

/* Button hover (for desktop) */
button:hover {
  background: #2980b9;
}

/* Button click */
button:active {
  transform: scale(0.95);
}

/* Input */
#desc {
  width: 95%;
  margin: 10px auto;
  display: block;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* Image preview */
#preview {
  display: none;
  width: 95%;
  margin: 10px auto;
  border-radius: 12px;
  max-height: 150px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Help box */
#helpBox {
  margin: 10px;
  padding: 15px;
  background: #e8f8f5;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

#helpBox h3 {
  margin-top: 0;
}

#helpBox ul {
  padding-left: 20px;
}

#helpBox li {
  margin-bottom: 6px;
}

/* Hidden */
.hidden {
  display: none;
}