/* ============================================================
   SELECTOR DE COLORES POR CATEGORÍA (modo cualitativo)
   ============================================================ */

#category-color-selectors {
  background: #ffffff;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(124, 124, 124, 0.05);
}

#selectors-list {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.color-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.color-input-wrapper input[type="color"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.color-preview-box {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: #ccc;
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   NOTA: la leyenda visual (colores, título, etc.) se construye
   como SVG dentro del mapa (#legend-group). No requiere CSS.
   Los antiguos estilos .map-legend-container / .legend-* eran
   para una leyenda HTML que ya no se usa y fueron eliminados.
   ============================================================ */