@charset "UTF-8";
/* Código legible en el detalle de errores de transferencias.
   El selector de estilos conserva compatibilidad con los artefactos ya publicados. */
.swal2-popup:has(.transferencia-error-detalle),
.swal2-popup:has(table th:nth-child(2)[style*="color:#991b1b"]):has(table td:nth-child(2)[style*="font-weight:600"][style*="color:#b91c1c"]) {
  width: 900px !important;
  max-width: calc(100vw - 32px) !important;
}

.swal2-popup.transferencia-errores-popup {
  width: 1000px !important;
}
.swal2-popup.transferencia-errores-popup .transferencia-error-detalle {
  background: #fff7f7;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px;
}
.swal2-popup.transferencia-errores-popup .transferencia-error-detalle table {
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
.swal2-popup.transferencia-errores-popup .transferencia-error-detalle th {
  color: #991b1b;
  border-bottom: 2px solid #fecaca;
}
.swal2-popup.transferencia-errores-popup .transferencia-error-detalle td {
  border-bottom: 1px solid #fee2e2;
}
.swal2-popup.transferencia-errores-popup .transferencia-error-detalle th, .swal2-popup.transferencia-errores-popup .transferencia-error-detalle td {
  padding: 7px 8px;
}
.swal2-popup.transferencia-errores-popup .transferencia-error-detalle th:nth-child(4), .swal2-popup.transferencia-errores-popup .transferencia-error-detalle td:nth-child(4) {
  width: 64px;
  text-align: center;
  vertical-align: top;
}
.swal2-popup.transferencia-errores-popup .transferencia-error-detalle .transferencia-codigo {
  font-weight: 700;
  color: #b91c1c;
}

.transferencia-ver,
.transferencia-movimientos-paginas button {
  border: 1px solid #2d6bb3;
  border-radius: 6px;
  min-height: 26px;
  padding: 3px 12px;
  color: white;
  background: linear-gradient(135deg, #247de0, #174b99);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}
.transferencia-ver:hover:not(:disabled),
.transferencia-movimientos-paginas button:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.transferencia-ver:disabled,
.transferencia-movimientos-paginas button:disabled {
  opacity: 0.45;
  cursor: default;
}

.transferencia-ayuda {
  font-size: 11px;
  color: #627189;
  line-height: 1.5;
}

.transferencia-movimientos-popup {
  max-width: calc(100vw - 32px) !important;
}

.transferencia-movimientos {
  text-align: left;
  font-size: 12px;
  color: #173152;
}
.transferencia-movimientos-contexto {
  padding: 10px 12px;
  border: 1px solid #cbdcf0;
  border-radius: 8px;
  background: linear-gradient(120deg, #eef6ff, #f6faff);
  line-height: 1.6;
}
.transferencia-movimientos-saldos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.transferencia-movimientos-saldos > div {
  flex: 1 1 180px;
  padding: 8px 10px;
  border: 1px solid #d8e3ef;
  border-radius: 7px;
  background: #f6faff;
}
.transferencia-movimientos-saldos span {
  display: block;
  font-size: 11px;
}
.transferencia-movimientos-saldos strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
}
.transferencia-movimientos-aviso {
  padding: 9px 11px;
  border: 1px solid #f5ca77;
  border-radius: 7px;
  background: #fff8e8;
  color: #784b12;
  line-height: 1.5;
}
.transferencia-movimientos-tabla {
  max-height: 48vh;
  overflow: auto;
  border: 1px solid #d6e2ef;
  border-radius: 7px;
}
.transferencia-movimientos table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 11px;
}
.transferencia-movimientos th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eaf2fc;
  color: #193b66;
  white-space: nowrap;
}
.transferencia-movimientos td, .transferencia-movimientos th {
  padding: 7px 8px;
  border-bottom: 1px solid #e4ebf4;
  vertical-align: top;
}
.transferencia-movimientos td:nth-child(n+7), .transferencia-movimientos th:nth-child(n+7) {
  text-align: right;
  white-space: nowrap;
}
.transferencia-movimientos tbody tr:nth-child(even) {
  background: #f5f8fc;
}
.transferencia-movimientos tr.saldo-negativo, .transferencia-movimientos div.saldo-negativo {
  background: #fff0f0;
  color: #a71928;
}
.transferencia-movimientos-paginas {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.transferencia-movimientos-paginas span {
  margin-right: auto;
}

.transferencia-error-detalle table,
.swal2-popup:has(table th:nth-child(2)[style*="color:#991b1b"]):has(table td:nth-child(2)[style*="font-weight:600"][style*="color:#b91c1c"]) table {
  width: 100%;
  min-width: 560px;
  table-layout: fixed;
}
.transferencia-error-detalle th:first-child,
.transferencia-error-detalle td:first-child,
.swal2-popup:has(table th:nth-child(2)[style*="color:#991b1b"]):has(table td:nth-child(2)[style*="font-weight:600"][style*="color:#b91c1c"]) th:first-child,
.swal2-popup:has(table th:nth-child(2)[style*="color:#991b1b"]):has(table td:nth-child(2)[style*="font-weight:600"][style*="color:#b91c1c"]) td:first-child {
  width: 36px;
  vertical-align: top;
}
.transferencia-error-detalle th:nth-child(2),
.transferencia-error-detalle td:nth-child(2),
.swal2-popup:has(table th:nth-child(2)[style*="color:#991b1b"]):has(table td:nth-child(2)[style*="font-weight:600"][style*="color:#b91c1c"]) th:nth-child(2),
.swal2-popup:has(table th:nth-child(2)[style*="color:#991b1b"]):has(table td:nth-child(2)[style*="font-weight:600"][style*="color:#b91c1c"]) td:nth-child(2) {
  width: 190px;
  min-width: 190px;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  vertical-align: top;
}
.transferencia-error-detalle th:nth-child(3),
.transferencia-error-detalle td:nth-child(3),
.swal2-popup:has(table th:nth-child(2)[style*="color:#991b1b"]):has(table td:nth-child(2)[style*="font-weight:600"][style*="color:#b91c1c"]) th:nth-child(3),
.swal2-popup:has(table th:nth-child(2)[style*="color:#991b1b"]):has(table td:nth-child(2)[style*="font-weight:600"][style*="color:#b91c1c"]) td:nth-child(3) {
  overflow-wrap: anywhere;
  vertical-align: top;
}