/* ==============================================================================
   LUGAREIROS - Estilos para Mapa Interativo Leaflet
   ============================================================================== */

#map-container {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

/* Customização dos Popups do Leaflet para Dark Mode */
.leaflet-popup-content-wrapper {
  background: rgba(17, 24, 39, 0.95) !important;
  color: #f3f4f6 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
  padding: 4px;
}

.leaflet-popup-tip {
  background: rgba(17, 24, 39, 0.95) !important;
}

.leaflet-container {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Marcador personalizado de Lugar */
.custom-pin {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.custom-pin span {
  transform: rotate(45deg);
  font-size: 16px;
}

/* Customização do Seletor de Camadas (Satélite / Mapa) em Dark Mode */
.leaflet-control-layers {
  background: rgba(15, 23, 42, 0.92) !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(51, 65, 85, 0.8) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6) !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
}

.leaflet-control-layers-toggle {
  background-color: rgba(15, 23, 42, 0.9) !important;
  border-radius: 10px !important;
  border: 1px solid rgba(51, 65, 85, 0.8) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.leaflet-control-layers-expanded {
  padding: 10px 14px !important;
}

.leaflet-control-layers label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-weight: 500;
  color: #cbd5e1;
  transition: color 0.15s ease;
}

.leaflet-control-layers label:hover {
  color: #34d399;
}

.leaflet-control-layers input[type="radio"] {
  accent-color: #10b981;
  cursor: pointer;
}

