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

body {
  background: #050505;
  overflow: hidden;
  font-family: Arial, sans-serif;
  color: white;
}

.app {
  width: 100vw;
  height: 100vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Stile per la scritta love gera */
.love-gera {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ff4757;
  margin-bottom: 6px;
  font-weight: bold;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 15px;
}

h1 {
  font-size: 24px;
}

/* Contenitore pulsanti */
.controls {
  display: flex;
  gap: 8px;
}

/* Stile base dei pulsanti */
.btn {
  background: #111;
  border: 1px solid #222;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn:hover {
  background: #222;
  border-color: #444;
}

/* Pulsante attivo */
.btn.active {
  background: white;
  color: black;
  border-color: white;
}

/* Pulsante cancella */
.btn.clear {
  background: #2a1212;
  border-color: #441d1d;
  color: #ff6b6b;
}

.btn.clear:hover {
  background: #3d1a1a;
  border-color: #662929;
}

.info {
  background: #111;
  border: 1px solid #222;
  padding: 10px 16px;
  border-radius: 12px;
  font-variant-numeric: tabular-nums;
}

#map {
  flex: 1;
  border-radius: 20px;
  border: 2px solid #151515;
  cursor: crosshair;
}

.leaflet-container {
  cursor: crosshair !important;
}

.leaflet-dragging {
  cursor: grabbing !important;
}