/* ── Contenedor de scroll (height y overflow vienen de Utilidades_Style) ── */
  #tabla-wrapper {
    background: rgba(18, 18, 31, 0.9);
  }

  /* ── Fila seleccionada (inventario usa .seleccionado) ── */
  tr.seleccionado { background: #4a1b6a !important; }

  /* ── Celdas especiales de Inventario ── */
  .precio-venta  { background-color: rgba(249, 168, 37, 0.15); color: var(--color-amarillo); }
  .precio-compra { background-color: rgba(21, 101, 192, 0.15); color: #64b5f6; }
  .ganancia      { background-color: rgba(46, 125, 50, 0.15);  color: var(--color-verde); }
  .inversion     { background-color: rgba(255, 138, 80, 0.15); color: #ffab91; }

  /* Stock */
  .stock-celeste { background-color: rgba(3, 169, 244, 0.15);  color: #4fc3f7; }
  .stock-rojo    { background-color: rgba(198, 40, 40, 0.2);   color: var(--color-rojo); }
  .stock-verde   { background-color: rgba(46, 125, 50, 0.2);   color: var(--color-verde); }
  .stock-cero    { background-color: rgba(198, 40, 40, 0.3);   color: #ff1744; }

  /* ── Anchos mínimos por columna de inventario ── */
  #tablaInventarioyVentas th:nth-child(1),
  #tablaInventarioyVentas td:nth-child(1)  { min-width: 90px;  }
  #tablaInventarioyVentas th:nth-child(2),
  #tablaInventarioyVentas td:nth-child(2)  { min-width: 100px; }
  #tablaInventarioyVentas th:nth-child(3),
  #tablaInventarioyVentas td:nth-child(3)  { min-width: 120px; }
  #tablaInventarioyVentas th:nth-child(4),
  #tablaInventarioyVentas td:nth-child(4)  { min-width: 90px;  }
  #tablaInventarioyVentas th:nth-child(5),
  #tablaInventarioyVentas td:nth-child(5)  { min-width: 90px;  }
  #tablaInventarioyVentas th:nth-child(6),
  #tablaInventarioyVentas td:nth-child(6)  { min-width: 90px;  }
  #tablaInventarioyVentas th:nth-child(7),
  #tablaInventarioyVentas td:nth-child(7)  { min-width: 130px; }
  #tablaInventarioyVentas th:nth-child(8),
  #tablaInventarioyVentas td:nth-child(8)  { min-width: 110px; }
  #tablaInventarioyVentas th:nth-child(9),
  #tablaInventarioyVentas td:nth-child(9)  { min-width: 70px;  }
  #tablaInventarioyVentas th:nth-child(10),
  #tablaInventarioyVentas td:nth-child(10) { min-width: 100px; }
  #tablaInventarioyVentas th:nth-child(11),
  #tablaInventarioyVentas td:nth-child(11) { min-width: 100px; }
  #tablaInventarioyVentas th:nth-child(12),
  #tablaInventarioyVentas td:nth-child(12) { min-width: 100px; }
  #tablaInventarioyVentas th:nth-child(13),
  #tablaInventarioyVentas td:nth-child(13) { min-width: 90px;  }
  #tablaInventarioyVentas th:nth-child(14),
  #tablaInventarioyVentas td:nth-child(14) { min-width: 90px;  }
  #tablaInventarioyVentas th:nth-child(15),
  #tablaInventarioyVentas td:nth-child(15) { min-width: 90px;  }
  #tablaInventarioyVentas th:nth-child(16),
  #tablaInventarioyVentas td:nth-child(16) { min-width: 90px;  }
