/* Aspecto de los listados «Registro de Facturas», «Registro de Cobros», «Registro de Acuerdos de Pago» y «Registro de
   Créditos». Mismos botones, filtros, columnas y orden: aquí solo cambia cómo se ven. Medidas de «Planes de Cobertura»,
   como los demás listados: filas de 44 px y letra de 12 px. Todo va atado a body.listado-registro: las clases .facturas-*
   las comparten otras pantallas. Lo común va primero; al final, los anchos y la alineación de cada tabla. */

body.listado-registro {
  --lr-borde: #dfe8f4;
  --lr-borde-suave: #e9eef5;
  --lr-campo: #cbd5e1;
  --lr-texto: #102a43;
  --lr-apagado: #64748b;
  --lr-tenue: #94a3b8;
  --lr-azul: #347df5;
  --lr-foco: #2f7df2;
  --lr-sombra: 0 4px 14px rgba(16, 42, 86, 0.06);
  --lr-fila: 44px;
  --lr-pie: 34px;
  background: #f4f7fb;
}

/* =====================================================================================================================
   1. Encabezado
   ===================================================================================================================== */
.listado-registro .facturas-header h1 i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d3e4fb;
  border-radius: 10px;
  background: #eaf2ff;
  color: #256ee8;
  font-size: 17px;
}

/* El título trae su propia raya corta, además de la del encabezado; se deja una sola sin cambiar la altura. */
.listado-registro .facturas-header h1 {
  border-bottom-color: transparent;
}

/* =====================================================================================================================
   2. Barra de acciones
   ===================================================================================================================== */
.listado-registro .facturas-toolbar {
  flex-wrap: wrap;
  border-color: var(--lr-borde);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--lr-sombra);
}

.listado-registro .facturas-toolbar-left {
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.listado-registro .facturas-toolbar .facturas-btn {
  box-sizing: border-box;
  height: 31px;
  margin: 0;
  box-shadow: 0 2px 6px rgba(16, 42, 86, 0.12);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.listado-registro .facturas-toolbar .facturas-btn:hover:not(:disabled) {
  filter: brightness(0.95);
  box-shadow: 0 4px 10px rgba(16, 42, 86, 0.18);
}

.listado-registro .facturas-quick-search {
  display: inline-flex;
  flex: 1 1 260px;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  max-width: 460px;
  height: 31px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--lr-campo);
  border-radius: 8px;
  background: #fff;
  color: var(--lr-apagado);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.listado-registro .facturas-quick-search:focus-within {
  border-color: var(--lr-foco);
  box-shadow: 0 0 0 3px rgba(47, 125, 242, 0.14);
  color: var(--lr-foco);
}

.listado-registro .facturas-quick-search input {
  width: 100%;
  min-width: 0;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  color: var(--lr-texto);
  font-size: 12px;
}

.listado-registro .facturas-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  height: 31px;
  padding: 0 12px;
  border: 1px solid #d3e4fb;
  border-radius: 999px;
  background: #f4f8ff;
  color: #3f5872;
  font-size: 12px;
  white-space: nowrap;
}

.listado-registro .facturas-counter i {
  color: #256ee8;
}

.listado-registro .facturas-counter strong {
  color: #1d5fd0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* =====================================================================================================================
   3. Panel de filtros
   ===================================================================================================================== */
/* El color va fijo y solo cambia el grosor: el panel anima todas sus propiedades y, si no, se ve un borde oscuro al abrir. */
.listado-registro .facturas-filter-host.filter-sidebar {
  border: 0 solid var(--lr-borde);
  border-radius: 12px;
  background: #fff;
}

.listado-registro .facturas-workspace:not(.filters-collapsed) .facturas-filter-host.filter-sidebar {
  border-width: 1px;
  box-shadow: var(--lr-sombra);
}

.listado-registro .facturas-filter-host .form-control:focus {
  border-color: var(--lr-foco);
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 125, 242, 0.14);
}

/* En pantallas angostas el panel va encima de la tabla y la hoja general no lo ocultaba: «Mostrar / Ocultar filtros»
   no hacía nada. */
@media (max-width: 1200px) {
  .listado-registro .facturas-workspace.filters-collapsed .facturas-filter-host.filter-sidebar {
    display: none;
  }
}

/* =====================================================================================================================
   4. Tabla
   ===================================================================================================================== */
.listado-registro .facturas-results-card {
  overflow: hidden;
  border: 1px solid var(--lr-borde);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--lr-sombra);
}

.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) :is(th, td) {
  box-sizing: border-box;
  max-width: none;
}

.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) thead th {
  height: 38px;
  padding: 8px;
  border: 0;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

/* En móvil la hoja general convierte cada celda en una tabla aparte y el listado salía apilado, sin datos a la vista.
   Aquí sigue siendo una tabla que se desliza de lado. */
@media screen and (max-width: 768px) {
  .listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) { display: table; }
  .listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) thead { display: table-header-group; width: auto; }
  .listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tbody { display: table-row-group; width: auto; }
  .listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tfoot { display: table-footer-group; width: auto; }
  .listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tr { display: table-row; width: auto; }
  .listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) :is(th, td) { display: table-cell; }
  .listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) td { width: auto; }
}

/* Filas de datos. Las de grupo y total del formato «Resumido» (reg-*) conservan su aspecto. */
.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tbody tr.lr-fila > td {
  height: var(--lr-fila);
  padding: 4px 8px;
  border-bottom: 1px solid var(--lr-borde-suave);
  background: #fff;
  color: var(--lr-texto);
  font-size: 12px;
  transition: background-color 0.12s ease;
}

.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tbody tr.lr-fila:nth-child(even) > td {
  background: #fafcff;
}

.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tbody tr.lr-fila:hover > td {
  background: #eef5ff;
}

.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tbody tr.lr-fila:hover > td:first-child {
  box-shadow: inset 3px 0 0 var(--lr-foco);
}

/* Una etiqueta más ancha que su celda no se recorta: el navegador la esconde entera. De ahí el relleno corto. */
.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tbody tr.lr-fila > td:first-child {
  padding-right: 3px;
  padding-left: 3px;
}

.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tbody tr.lr-fila > td.lr-cero {
  color: var(--lr-tenue);
}

/* Lo que abre algo al pasar el cursor (cliente, aseguradora, póliza, recibo): se marca cuál se está señalando. */
.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) .facturas-list-trigger:hover .facturas-trigger-label {
  color: #1d5fd0;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

/* ----- Etiquetas dentro de las celdas ----- */
.listado-registro .lr-moneda {
  display: inline-block;
  padding: 1px 4px;
  border: 1px solid #dbe5f0;
  border-radius: 6px;
  background: #f4f7fb;
  color: #3f5872;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.listado-registro .lr-moneda.lr-usd {
  border-color: #bbe8d3;
  background: #ecfdf5;
  color: #047857;
}

.listado-registro .lr-ref {
  display: inline-block;
  padding: 1px 5px;
  border: 1px solid #d3e4fb;
  border-radius: 999px;
  background: #f0f6ff;
  color: #1d5fd0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.listado-registro .lr-vacio {
  color: var(--lr-tenue);
  font-size: 11px;
  font-weight: 400;
}

/* ----- Acciones: siempre a la vista, también cuando la tabla se desliza de lado (en móvil no: taparía media tabla) ----- */
.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) thead th:last-child {
  right: 0;
  z-index: 90;
  text-align: center !important;
}

.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tbody tr.lr-fila > td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  overflow: visible;
  padding: 0 4px;
  border-left: 1px solid var(--lr-borde-suave);
  box-shadow: -6px 0 8px -8px rgba(15, 45, 76, 0.35);
  text-align: center;
}

.listado-registro .facturas-results-card .facturas-actions {
  gap: 4px;
}

.listado-registro .facturas-results-card .facturas-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-radius: 7px;
  font-size: 12px;
  transition: transform 0.1s ease, filter 0.15s ease;
}

.listado-registro .facturas-results-card .facturas-actions button:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

@media screen and (max-width: 768px) {
  .listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) thead th:last-child { right: auto; }

  .listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tbody tr.lr-fila > td:last-child {
    position: static;
    box-shadow: none;
  }
}

/* ----- Estados sin datos ----- */
.listado-registro .facturas-results-card tbody td.facturas-empty {
  height: 150px;
  padding: 28px 16px !important;
  border-bottom: 0;
  font-size: 13px;
  font-weight: 700;
  /* El texto queda a la vista aunque la tabla sea más ancha que la pantalla. */
  text-align: left !important;
  white-space: normal;
}

.listado-registro .facturas-results-card tbody td.facturas-empty::before {
  content: "\f570"; /* fa-file-invoice */
  display: block;
  margin-bottom: 10px;
  color: #b7cbea;
  font-family: "Font Awesome 6 Free";
  font-size: 30px;
  font-weight: 900;
}

.listado-registro .facturas-results-card tbody td.facturas-empty.error {
  color: #b42318 !important;
}

.listado-registro .facturas-results-card tbody td.facturas-empty.error::before {
  content: "\f071"; /* fa-triangle-exclamation */
  color: #f1a9a3;
}

/* ----- Totales por moneda: las cifras alineadas a la derecha, bajo su columna ----- */
.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tfoot td {
  box-sizing: border-box;
  height: var(--lr-pie);
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.2;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tfoot td:first-child {
  text-align: center;
}

.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tfoot td:nth-child(n+3) {
  padding-left: 6px;
}

.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tfoot tr:nth-last-child(2) td {
  bottom: var(--lr-pie);
}

.listado-registro :is(#tblGestionFacturas, #tblGestionCobros, #tblGestionAcuerdos, #tblGestionCreditos) tfoot tr:nth-last-child(3) td {
  bottom: calc(var(--lr-pie) * 2);
}

/* =====================================================================================================================
   5. Paginador
   ===================================================================================================================== */
.listado-registro .facturas-pagination {
  box-sizing: border-box;
  flex-wrap: wrap;
  border-top-color: var(--lr-borde);
  background: #fbfcfe;
}

.listado-registro .facturas-pagination-controls {
  flex-wrap: wrap;
}

.listado-registro .facturas-pagination-controls button {
  margin: 0;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.listado-registro .facturas-pagination-controls button:hover:not(:disabled, .active) {
  border-color: #9fc2f5;
  background: #eef5ff;
}

.listado-registro .facturas-pagination-controls button.active {
  box-shadow: 0 3px 8px rgba(47, 125, 242, 0.3);
}

.listado-registro :is(.facturas-btn, .facturas-pagination-controls button, .facturas-results-card button):focus-visible {
  outline: 2px solid var(--lr-foco);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .listado-registro * {
    transition: none !important;
  }
}

/* =====================================================================================================================
   6. Cada tabla. Los anchos incluyen el relleno; cuando sobra espacio se reparte en proporción.
   ===================================================================================================================== */

/* ----- Facturas: 18 columnas, sin deslizar desde 1684 px de tabla ----- */
.listado-registro #tblGestionFacturas { min-width: 1684px; }
.listado-registro #tblGestionFacturas thead th { text-align: left; }
.listado-registro #tblGestionFacturas thead th:nth-child(1) { width: 52px; text-align: center; }
.listado-registro #tblGestionFacturas thead th:nth-child(2) { width: 100px; }
.listado-registro #tblGestionFacturas thead th:nth-child(3) { width: 178px; }
.listado-registro #tblGestionFacturas thead th:nth-child(4) { width: 118px; }
.listado-registro #tblGestionFacturas thead th:nth-child(5) { width: 104px; }
.listado-registro #tblGestionFacturas thead th:nth-child(6) { width: 114px; }
.listado-registro #tblGestionFacturas thead th:nth-child(7) { width: 84px; text-align: center; }
.listado-registro #tblGestionFacturas thead th:nth-child(8) { width: 72px; text-align: center; }
.listado-registro #tblGestionFacturas thead th:nth-child(9) { width: 78px; text-align: center; }
.listado-registro #tblGestionFacturas thead th:nth-child(n+10):nth-child(-n+13) { width: 82px; text-align: center; }
.listado-registro #tblGestionFacturas thead th:nth-child(14) { width: 44px; text-align: center; }
.listado-registro #tblGestionFacturas thead th:nth-child(n+15):nth-child(-n+17) { width: 100px; text-align: right; }
.listado-registro #tblGestionFacturas thead th:nth-child(18) { width: 112px; }

.listado-registro #tblGestionFacturas tbody tr.lr-fila > td:nth-child(1),
.listado-registro #tblGestionFacturas tbody tr.lr-fila > td:nth-child(n+7):nth-child(-n+14) { text-align: center; }
.listado-registro #tblGestionFacturas tbody tr.lr-fila > td:nth-child(7),
.listado-registro #tblGestionFacturas tbody tr.lr-fila > td:nth-child(9) { padding-right: 3px; padding-left: 3px; }
.listado-registro #tblGestionFacturas tbody tr.lr-fila > td:nth-child(3) { font-weight: 600; }
.listado-registro #tblGestionFacturas tbody tr.lr-fila > td:nth-child(6) strong { color: #0b3a75; }
.listado-registro #tblGestionFacturas tbody tr.lr-fila > td:nth-child(n+10):nth-child(-n+17) { font-variant-numeric: tabular-nums; }
.listado-registro #tblGestionFacturas tbody tr.lr-fila > td:nth-child(n+15):nth-child(-n+17) { padding-left: 6px; text-align: right; }

/* El pie de facturas y el de créditos terminan en una celda vacía bajo «Acciones»: la acompaña, para que no asome una
   cifra donde arriba están los botones. (En cobros y acuerdos esa celda abarca varias columnas y no debe fijarse.) */
.listado-registro :is(#tblGestionFacturas, #tblGestionCreditos) tfoot td:last-child { right: 0; z-index: 76; }

@media screen and (max-width: 768px) {
  .listado-registro :is(#tblGestionFacturas, #tblGestionCreditos) tfoot td:last-child { right: auto; }
}

/* ----- Cobros: 13 columnas, sin deslizar desde 1546 px de tabla ----- */
.listado-registro #tblGestionCobros { min-width: 1546px; }
/* Cada encabezado se alinea como los datos que tiene debajo. */
.listado-registro #tblGestionCobros thead th { text-align: left; }
.listado-registro #tblGestionCobros thead th:nth-child(1) { width: 52px; text-align: center; }
.listado-registro #tblGestionCobros thead th:nth-child(2),
.listado-registro #tblGestionCobros thead th:nth-child(3) { width: 88px; text-align: center; }
.listado-registro #tblGestionCobros thead th:nth-child(4) { width: 108px; }
.listado-registro #tblGestionCobros thead th:nth-child(5) { width: 150px; }
.listado-registro #tblGestionCobros thead th:nth-child(6) { width: 210px; }
.listado-registro #tblGestionCobros thead th:nth-child(7) { width: 128px; }
.listado-registro #tblGestionCobros thead th:nth-child(8),
.listado-registro #tblGestionCobros thead th:nth-child(9) { width: 108px; text-align: right; }
.listado-registro #tblGestionCobros thead th:nth-child(10) { width: 184px; }
.listado-registro #tblGestionCobros thead th:nth-child(11) { width: 100px; text-align: center; }
.listado-registro #tblGestionCobros thead th:nth-child(12) { width: 110px; }
.listado-registro #tblGestionCobros thead th:nth-child(13) { width: 112px; }

.listado-registro #tblGestionCobros tbody tr.lr-fila > td { text-align: left; }
.listado-registro #tblGestionCobros tbody tr.lr-fila > td:nth-child(-n+3),
.listado-registro #tblGestionCobros tbody tr.lr-fila > td:nth-child(11),
.listado-registro #tblGestionCobros tbody tr.lr-fila > td:last-child { text-align: center; }
.listado-registro #tblGestionCobros tbody tr.lr-fila > td:nth-child(2),
.listado-registro #tblGestionCobros tbody tr.lr-fila > td:nth-child(3) { font-variant-numeric: tabular-nums; }
.listado-registro #tblGestionCobros tbody tr.lr-fila > td:nth-child(4) strong { color: #0b3a75; }
.listado-registro #tblGestionCobros tbody tr.lr-fila > td:nth-child(6) { font-weight: 600; }
.listado-registro #tblGestionCobros tbody tr.lr-fila > td:nth-child(8),
.listado-registro #tblGestionCobros tbody tr.lr-fila > td:nth-child(9) { text-align: right; font-variant-numeric: tabular-nums; }

/* ----- Acuerdos: 16 columnas, sin deslizar desde 1636 px de tabla ----- */
.listado-registro #tblGestionAcuerdos { min-width: 1636px; }
.listado-registro #tblGestionAcuerdos thead th { text-align: left; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(1) { width: 52px; text-align: center; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(2) { width: 78px; text-align: center; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(3) { width: 114px; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(4) { width: 200px; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(5) { width: 118px; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(6) { width: 108px; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(7) { width: 130px; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(8) { width: 84px; text-align: center; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(9) { width: 76px; text-align: center; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(10) { width: 104px; text-align: center; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(11) { width: 48px; text-align: center; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(12) { width: 108px; text-align: right; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(13) { width: 100px; text-align: right; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(14) { width: 108px; text-align: right; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(15) { width: 96px; text-align: center; }
.listado-registro #tblGestionAcuerdos thead th:nth-child(16) { width: 112px; }

.listado-registro #tblGestionAcuerdos tbody tr.lr-fila > td { text-align: left; }
.listado-registro #tblGestionAcuerdos tbody tr.lr-fila > td:nth-child(-n+2),
.listado-registro #tblGestionAcuerdos tbody tr.lr-fila > td:nth-child(n+8):nth-child(-n+11),
.listado-registro #tblGestionAcuerdos tbody tr.lr-fila > td:nth-child(15),
.listado-registro #tblGestionAcuerdos tbody tr.lr-fila > td:last-child { text-align: center; }
.listado-registro #tblGestionAcuerdos tbody tr.lr-fila > td:nth-child(2) strong { color: #0b3a75; }
.listado-registro #tblGestionAcuerdos tbody tr.lr-fila > td:nth-child(4) { font-weight: 600; }
.listado-registro #tblGestionAcuerdos tbody tr.lr-fila > td:nth-child(n+8):nth-child(-n+14) { font-variant-numeric: tabular-nums; }
.listado-registro #tblGestionAcuerdos tbody tr.lr-fila > td:nth-child(n+12):nth-child(-n+14) { text-align: right; }
.listado-registro #tblGestionAcuerdos tbody tr.lr-fila > td:nth-child(15) { padding-right: 3px; padding-left: 3px; }

.listado-registro #tblGestionAcuerdos .badge-status {
  display: inline-block;
  padding: 1px 7px;
  border: 1px solid #d5dee9;
  border-radius: 999px;
  background: #f1f5f9;
  color: #52627a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.listado-registro #tblGestionAcuerdos .badge-status.badge-pending {
  border-color: #f7c9c4;
  background: #fef1f0;
  color: #b42318;
}

.listado-registro #tblGestionAcuerdos .badge-status.badge-success {
  border-color: #bbe8d3;
  background: #ecfdf5;
  color: #047857;
}

/* ----- Créditos: 14 columnas, sin deslizar desde 1562 px de tabla ----- */
.listado-registro #tblGestionCreditos { min-width: 1562px; }
.listado-registro #tblGestionCreditos thead th { text-align: left; }
.listado-registro #tblGestionCreditos thead th:nth-child(1) { width: 52px; text-align: center; }
.listado-registro #tblGestionCreditos thead th:nth-child(2) { width: 114px; }
.listado-registro #tblGestionCreditos thead th:nth-child(3) { width: 220px; }
.listado-registro #tblGestionCreditos thead th:nth-child(4) { width: 128px; }
.listado-registro #tblGestionCreditos thead th:nth-child(5) { width: 120px; }
.listado-registro #tblGestionCreditos thead th:nth-child(6) { width: 110px; }
.listado-registro #tblGestionCreditos thead th:nth-child(7) { width: 150px; }
.listado-registro #tblGestionCreditos thead th:nth-child(8) { width: 112px; }
.listado-registro #tblGestionCreditos thead th:nth-child(n+9):nth-child(-n+12) { width: 84px; text-align: center; }
.listado-registro #tblGestionCreditos thead th:nth-child(13) { width: 108px; text-align: right; }
.listado-registro #tblGestionCreditos thead th:nth-child(14) { width: 112px; }

.listado-registro #tblGestionCreditos tbody tr.lr-fila > td { text-align: left; }
.listado-registro #tblGestionCreditos tbody tr.lr-fila > td:nth-child(1),
.listado-registro #tblGestionCreditos tbody tr.lr-fila > td:nth-child(n+9):nth-child(-n+12),
.listado-registro #tblGestionCreditos tbody tr.lr-fila > td:last-child { text-align: center; }
.listado-registro #tblGestionCreditos tbody tr.lr-fila > td:nth-child(3) { font-weight: 600; }
.listado-registro #tblGestionCreditos tbody tr.lr-fila > td:nth-child(6) strong { color: #0b3a75; }
.listado-registro #tblGestionCreditos tbody tr.lr-fila > td:nth-child(n+9):nth-child(-n+13) { font-variant-numeric: tabular-nums; }
.listado-registro #tblGestionCreditos tbody tr.lr-fila > td:nth-child(n+9):nth-child(-n+12) { padding-right: 3px; padding-left: 3px; }
.listado-registro #tblGestionCreditos tbody tr.lr-fila > td:nth-child(13) { text-align: right; }
