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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header Galerie Sud */
#header {
  background: white;
  padding: 14px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff69b4;
}

#map {
  position: absolute;
  top: 60px;
  bottom: 70px;
  left: 0;
  right: 0;
}

/* Bouton Dessin */
#btn-draw {
  position: fixed;
  bottom: 90px;
  right: 15px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid #ff69b4;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#btn-draw.active {
  background: #ff69b4;
}

/* Panel Mode Dessin */
#draw-panel {
  position: fixed;
  bottom: 90px;
  left: 15px;
  right: 80px;
  z-index: 1000;
  background: white;
  border-radius: 10px;
  padding: 12px 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#draw-panel span {
  font-size: 14px;
  font-weight: 600;
  color: #ff69b4;
}

.draw-buttons {
  display: flex;
  gap: 8px;
}

.draw-buttons button {
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.draw-buttons button:first-child {
  background: #eee;
  color: #666;
}

.draw-buttons button:last-child {
  background: #ff69b4;
  color: white;
}

/* Barre de Recherche en bas */
#search-box {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  gap: 8px;
  padding: 12px;
  background: white;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

#search-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  background: #f8f8f8;
}

#search-box > button {
  padding: 12px 18px;
  background: #ff69b4;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}

.search-results {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 8px;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
}

.search-result-item {
  padding: 12px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:active { background: #f5f5f5; }

/* Classes utilitaires */
.hidden { display: none !important; }
