/* ==========================================================================
   Icon Mapping: PNG to Font Awesome 6
   ==========================================================================
   
   Este archivo mapea cada icono PNG del sistema MICA a su equivalente
   en Font Awesome 6. Sirve como referencia y hoja de utilidades para
   la migración progresiva de iconos PNG a Font Awesome.
   
   USO:
   Reemplazar:  <img src="images/png/ic-nuevo.png">
   Por:         <i class="fa-solid fa-plus"></i>
   O usar:      <i class="icon-nuevo"></i>  (clase utilitaria de este archivo)
   
   Las clases utilitarias (.icon-*) aplican el icono Font Awesome mediante
   pseudo-elementos ::before, permitiendo una transición gradual.
   
   NOTA: Los iconos PNG específicos del dominio (contenedores, certificaciones,
   etc.) se mantienen como PNG ya que no tienen equivalente genérico.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base: estilos compartidos para todas las clases de icono utilitarias
   -------------------------------------------------------------------------- */
[class^="icon-"]::before,
[class*=" icon-"]::before {
  display: inline-block;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Acciones CRUD / Generales
   -------------------------------------------------------------------------- */

/* ic-nuevo.png → fa-plus (Nuevo registro) */
.icon-nuevo::before { content: "\2b"; }

/* ic-guardar.png → fa-floppy-disk (Guardar) */
.icon-guardar::before { content: "\f0c7"; }

/* ic-borrar.png → fa-trash (Eliminar) */
.icon-borrar::before { content: "\f1f8"; }

/* ic-eliminar.png → fa-xmark (Eliminar/Cancelar) */
.icon-eliminar::before { content: "\f00d"; }

/* ic-consultar.png → fa-magnifying-glass (Consultar) */
.icon-consultar::before { content: "\f002"; }

/* ic-filtrar.png → fa-filter (Filtrar) */
.icon-filtrar::before { content: "\f0b0"; }

/* --------------------------------------------------------------------------
   Exportación de archivos
   -------------------------------------------------------------------------- */

/* ic-excel.png → fa-file-excel (Exportar Excel) */
.icon-excel::before { content: "\f1c3"; }

/* ic-pdf.png → fa-file-pdf (Exportar PDF) */
.icon-pdf::before { content: "\f1c1"; }

/* ic-xml.png → fa-file-code (Exportar XML) */
.icon-xml::before { content: "\f1c9"; }

/* ic-txt.png → fa-file-lines (Exportar TXT) */
.icon-txt::before { content: "\f15c"; }

/* --------------------------------------------------------------------------
   Usuario y comunicación
   -------------------------------------------------------------------------- */

/* ic-usuario.png → fa-user (Usuario) */
.icon-usuario::before { content: "\f007"; }

/* ic-enviar.png → fa-paper-plane (Enviar) */
.icon-enviar::before { content: "\f1d8"; }

/* --------------------------------------------------------------------------
   Transferencia de archivos
   -------------------------------------------------------------------------- */

/* ic-descarga.png → fa-download (Descargar) */
.icon-descarga::before { content: "\f019"; }

/* ic-subirdoc.png → fa-upload (Subir documento) */
.icon-subirdoc::before { content: "\f093"; }

/* --------------------------------------------------------------------------
   Estado y seguridad
   -------------------------------------------------------------------------- */

/* ic-candado.png → fa-lock (Bloqueado) */
.icon-candado::before { content: "\f023"; }

/* ic-candadoa.png → fa-lock-open (Desbloqueado) */
.icon-candadoa::before { content: "\f3c1"; }

/* ic-reloj.png → fa-clock (Tiempo/Reloj) */
.icon-reloj::before { content: "\f017"; }

/* --------------------------------------------------------------------------
   Procesamiento y opciones
   -------------------------------------------------------------------------- */

/* ic-procesar.png → fa-gears (Procesar) */
.icon-procesar::before { content: "\f085"; }

/* ic-opciones.png → fa-ellipsis-vertical (Opciones) */
.icon-opciones::before { content: "\f142"; }

/* --------------------------------------------------------------------------
   Facturación y finanzas
   -------------------------------------------------------------------------- */

/* ic-facturar.png → fa-file-invoice-dollar (Facturar) */
.icon-facturar::before { content: "\f571"; }

/* ic-descuento.png → fa-percent (Descuento) */
.icon-descuento::before { content: "\25"; }

/* --------------------------------------------------------------------------
   Módulos del sistema / Navegación principal
   -------------------------------------------------------------------------- */

/* ic-buques.png → fa-ship (Buques) */
.icon-buques::before { content: "\f21a"; }

/* ic-contenedor.png → fa-cube (Contenedor) */
.icon-contenedor::before { content: "\f1b2"; }

/* ic-empresas.png → fa-building (Empresas) */
.icon-empresas::before { content: "\f1ad"; }

/* ic-servicios.png → fa-warehouse (Servicios de Logística) */
.icon-servicios::before { content: "\f494"; }

/* ic-catalogos.png → fa-book (Catálogos) */
.icon-catalogos::before { content: "\f02d"; }

/* ic-operaciones.png → fa-gears (Operaciones) */
.icon-operaciones::before { content: "\f085"; }

/* ic-consultas.png → fa-chart-bar (Consultas) */
.icon-consultas::before { content: "\f080"; }

/* ic-finanzas.png → fa-coins (Finanzas) */
.icon-finanzas::before { content: "\f51e"; }

/* ic-maniobras.png → fa-arrows-rotate (Maniobras) */
.icon-maniobras::before { content: "\f021"; }

/* ic-configuraciones.png → fa-sliders (Configuraciones) */
.icon-configuraciones::before { content: "\f1de"; }

/* ic-porte.png → fa-truck (Porte) */
.icon-porte::before { content: "\f0d1"; }

/* --------------------------------------------------------------------------
   Iconos adicionales (sin prefijo ic-)
   -------------------------------------------------------------------------- */

/* ancla.png → fa-anchor (Ancla) */
.icon-ancla::before { content: "\f13d"; }

/* naviera.png → fa-ship (Naviera) */
.icon-naviera::before { content: "\f21a"; }
