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

  .custom-marker {
    background: transparent;
    border: none;
  }
  
  .custom-marker div {
    position: relative;
  }
  
  /* Animación al hacer hover */
  .leaflet-marker-icon:hover .custom-marker div {
    transform: rotate(-45deg) scale(1.2);
    transition: transform 0.2s ease;
  }

  /* Estilos para el contenedor de scroll de ayuntamientos */
  .ayuntamiento-scroll-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    background-color: #f9f9f9;
  }

  /* Personalizar scrollbar (webkit browsers: Chrome, Safari, Edge) */
  .ayuntamiento-scroll-container::-webkit-scrollbar {
    width: 8px;
  }

  .ayuntamiento-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }

  .ayuntamiento-scroll-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
  }

  .ayuntamiento-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  /* Estilos para los labels dentro del contenedor */
  .ayuntamiento-scroll-container label {
    display: block;
    padding: 4px 0;
    cursor: pointer;
    transition: background-color 0.2s;
  }

  .ayuntamiento-scroll-container label:hover {
    background-color: #e8e8e8;
    padding-left: 5px;
  }

  /* Espaciado para checkboxes */
  .ayuntamiento-scroll-container input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
  }

  /* Estilos para el filtro en general */
  #filter {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 250px;
  }

  #filter h6 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--accent-color, #007bff);
    padding-bottom: 5px;
  }

  /* Responsive para móviles */
  @media (max-width: 768px) {
    .ayuntamiento-scroll-container {
      max-height: 200px;
      font-size: 0.9em;
    }
    
    #filter {
      padding: 10px;
    }
  }

  /* Estilos para el input de búsqueda */
  #search-ayuntamiento {
    box-sizing: border-box;
    transition: border-color 0.2s;
  }

  #search-ayuntamiento:focus {
    outline: none;
    border-color: var(--accent-color, #007bff);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
  }

  /* Ocultar labels que no coinciden con la búsqueda */
  .ayuntamiento-scroll-container label.hidden {
    display: none !important;
  }

  /* Mensaje cuando no hay resultados */
  .no-results-message {
    padding: 10px;
    text-align: center;
    color: #666;
    font-style: italic;
  }

  /* Estilos para la leyenda de sectores */
  .sector-legend {
    margin: 15px 0;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
    border: 1px solid #ddd;
  }

  .sector-legend > div:first-child {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
    color: #333;
  }

  .legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
  }

  .legend-marker {
    width: 20px;
    height: 20px;
    border-radius: 50% 50% 50% 0;
    border: 2px solid white;
    transform: rotate(-45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-right: 10px;
    flex-shrink: 0;
  }

  .legend-item span {
    font-size: 12px;
    color: #555;
  }

  /* Responsive para móviles */
  @media (max-width: 768px) {
    .sector-legend {
      padding: 8px;
      margin: 10px 0;
    }
    
    .legend-item span {
      font-size: 11px;
    }
    
    .legend-marker {
      width: 18px;
      height: 18px;
      margin-right: 8px;
    }
  }

  #filter h6 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 15px;
    border-bottom: 2px solid var(--accent-color, #007bff);
    padding-bottom: 5px;
  }

  /* Label para "Todos" */
  .sector-label-todos {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 4px 0;
    transition: background-color 0.2s;
  }

  .sector-label-todos:hover {
    background-color: #f0f0f0;
    padding-left: 5px;
    border-radius: 4px;
  }

  /* Labels de sector con marcadores */
  .sector-label {
    display: flex;
    align-items: center;
    padding: 8px 4px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
    margin-bottom: 4px;
  }

  .sector-label:hover {
    background-color: #e8e8e8;
    padding-left: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }

  .sector-label input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    flex-shrink: 0;
  }

  /* Marcadores de sector */
  .sector-marker {
    width: 18px;
    height: 18px;
    border-radius: 50% 50% 50% 0;
    border: 2px solid white;
    transform: rotate(-45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-right: 10px;
    flex-shrink: 0;
    transition: transform 0.2s;
  }

  .sector-label:hover .sector-marker {
    transform: rotate(-45deg) scale(1.1);
  }

  /* Colores específicos */
  .sector-marker-productor {
    background-color: #4A5A4B;
  }

  .sector-marker-hosteleria {
    background-color: #00B0B9;
  }

  .sector-marker-comercio {
    background-color: #EBCB00;
  }

  .sector-label span {
    /* font-size: 14px; */
    color: #333;
    user-select: none;
  }

  /* Nota informativa */
  .sector-note {
    margin-top: 10px;
    padding: 8px;
    background-color: #f9f9f9;
    border-left: 3px solid var(--accent-color, #007bff);
    border-radius: 3px;
  }

  .sector-note small {
    display: block;
    color: #666;
    font-size: 11px;
    line-height: 1.4;
  }

  /* Responsive para móviles */
  @media (max-width: 768px) {
    .sector-label {
      padding: 6px 4px;
    }
    
    .sector-marker {
      width: 16px;
      height: 16px;
      margin-right: 8px;
    }
    
    .sector-label span {
      font-size: 13px;
    }
    
    .sector-note small {
      font-size: 10px;
    }
  }

  /* Animación al cargar */
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateX(-10px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .sector-label {
    animation: slideIn 0.3s ease-out;
  }

  .sector-label:nth-child(2) {
    animation-delay: 0.05s;
  }

  .sector-label:nth-child(3) {
    animation-delay: 0.1s;
  }

  .sector-label:nth-child(4) {
    animation-delay: 0.15s;
  }