/* CobroFlow · Mover clientes entre rutas (supervisor / socio / manager). CSS puro, móvil primero. */
.tr-caja { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; overflow: hidden; }
.tr-cab { padding: 14px; border-bottom: 1px solid #f1f5f9; background: #f8fafc; }
.tr-cab h4 { margin: 0; font: 800 12px/1.3 Inter, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: #0f172a; }
.tr-cab p { margin: 4px 0 0; font-size: 12px; color: #64748b; }
.tr-barra { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 4px; }
.tr-barra input[type=search], .tr-barra select { flex: 1 1 180px; min-height: 46px; border: 1px solid #cbd5e1; border-radius: 12px; padding: 0 12px; font-size: 16px; background: #fff; }
.tr-info { padding: 4px 14px 8px; font-size: 12px; color: #64748b; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.tr-info button { border: 0; background: none; color: #4f46e5; font-weight: 800; min-height: 40px; }
.tr-lista { display: grid; gap: 8px; padding: 0 12px 12px; }
.tr-fila { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; cursor: pointer; }
.tr-fila:has(input:checked) { border-color: #6366f1; background: #eef2ff; }
.tr-fila input { width: 24px; height: 24px; flex: none; accent-color: #4f46e5; }
.tr-fila .tr-n { flex: 1; min-width: 0; display: grid; }
.tr-fila b { font-size: 14.5px; overflow-wrap: anywhere; } .tr-fila small { color: #64748b; font-size: 12px; overflow-wrap: anywhere; }
.tr-fila .tr-saldo { text-align: right; font-weight: 800; font-size: 13px; color: #0f172a; flex: none; }
.tr-fila .tr-saldo small { display: block; font-weight: 600; }
.tr-mas { margin: 0 12px 12px; width: calc(100% - 24px); min-height: 48px; border: 1px solid #cbd5e1; background: #fff; border-radius: 14px; font-weight: 800; }
.tr-accion { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 30; margin: 0 12px 12px; padding: 10px; border-radius: 16px; background: #0a192f; display: none; gap: 10px; align-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.tr-accion.visible { display: flex; }
.tr-accion span { flex: 1; color: #e2e8f0; font-weight: 700; font-size: 14px; }
.tr-accion button { min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: #10b981; color: #fff; font-weight: 800; font-size: 15px; }
.tr-vacio { text-align: center; color: #64748b; padding: 22px 8px; font-size: 14px; }
.tr-hist { border-top: 1px solid #f1f5f9; }
.tr-hist h5 { margin: 0; padding: 12px 14px 4px; font: 800 12px Inter, sans-serif; text-transform: uppercase; color: #475569; letter-spacing: .04em; }
.tr-hist-item { display: grid; gap: 2px; padding: 10px 14px; border-top: 1px solid #f1f5f9; font-size: 13px; }
.tr-hist-item small { color: #64748b; } .tr-hist-item .tr-deshacer { justify-self: start; margin-top: 6px; min-height: 42px; padding: 0 14px; border: 1px solid #cbd5e1; background: #fff; border-radius: 12px; font-weight: 800; }
.tr-chip { display: inline-block; font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 2px 8px; background: #e0e7ff; color: #3730a3; margin-left: 6px; } .tr-chip.deshecho { background: #fef3c7; color: #92400e; }
/* Hoja a pantalla completa en el celular */
#modalTraslado .tr-hoja { background: #fff; width: 100%; max-width: 520px; max-height: 92dvh; border-radius: 22px; display: flex; flex-direction: column; overflow: hidden; }
#modalTraslado .tr-hoja-cuerpo { padding: 14px; display: grid; gap: 12px; overflow-y: auto; }
#modalTraslado .tr-hoja-pie { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: grid; gap: 8px; border-top: 1px solid #e2e8f0; }
#modalTraslado label { display: grid; gap: 6px; font-size: 12px; font-weight: 800; color: #475569; text-transform: uppercase; }
#modalTraslado select, #modalTraslado input[type=text] { min-height: 50px; border: 1px solid #cbd5e1; border-radius: 12px; padding: 0 12px; font-size: 16px; text-transform: none; font-weight: 600; color: #0f172a; background: #fff; }
.tr-resumen { padding: 12px; border-radius: 14px; background: #f1f5f9; font-size: 13.5px; color: #334155; display: grid; gap: 4px; }
.tr-btn { min-height: 52px; border: 0; border-radius: 14px; font-weight: 800; font-size: 16px; }
.tr-btn.ok { background: #059669; color: #fff; } .tr-btn.claro { background: #fff; border: 1px solid #cbd5e1; color: #0f172a; }
@media (max-width: 767px) { #modalTraslado { padding: 0 !important; align-items: stretch !important; } #modalTraslado .tr-hoja { max-width: none; max-height: none; height: 100dvh; border-radius: 0; } #modalTraslado .tr-hoja-cuerpo { flex: 1; } }
