/* ==========================================================================
   CAyFA · VISTA CLÁSICA
   Reproduce el aspecto de la versión anterior (panel.css, logon.css,
   add.css, estilos2.css y los <style> de cada página), pero unificado:
   todas las pantallas comparten los mismos colores, botones y tablas.
   ========================================================================== */

/* ---------- Base ---------- */
html, body { margin: 0; padding: 0; }
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #000;
    font-size: 14px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
*, *::before, *::after { box-sizing: border-box; }
h2 { text-align: center; margin: 10px 0 10px; }
img { max-width: 100%; }

/* Elementos que solo existen en la vista moderna */
.topbar, .crumbs, .kpis, .hero-actions, .tile-ico, .tile-go, .tile-body > strong, .tile-body > span,
.hero p, .auth-side, .login-card .sub, .field label, .pw > button, .solo-moderna,
.page-head-actions .btn-gris, .seg svg, .divider, .auth-hero { display: none !important; }
.solo-clasica { display: revert; }
em.solo-clasica { display: inline; font-style: normal; }

/* ---------- Barra mínima: volver + cambiar vista ---------- */
.barra-clasica {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 20px 0;
}
.icono-volver img { width: 24px; height: 24px; transition: filter 0.2s; vertical-align: middle; }
.icono-volver:hover img { filter: brightness(70%); }
.link-vista, .cambiar-vista {
    background: none; border: none; color: #007BFF; cursor: pointer;
    font-size: 13px; text-decoration: underline; padding: 4px 0; font-family: inherit;
}
.link-vista:hover, .cambiar-vista:hover { color: #0056b3; }

/* ---------- Contenido ---------- */
.page { flex: 1; width: 100%; padding: 10px 20px 60px; }

.modo {
    display: block; text-align: center; font-weight: bold;
    margin-bottom: 20px; color: #007BFF;
}

/* ---------- Botones (mismos colores que antes) ---------- */
button, .btn, .acciones a, .acciones button {
    padding: 8px 16px; font-size: 14px; font-family: Arial, sans-serif;
    border: none; border-radius: 4px; cursor: pointer;
    background-color: #007BFF; color: white; text-decoration: none;
    display: inline-block; line-height: normal; margin: 3px;
    transition: background-color 0.2s ease;
}
button:hover:not(:disabled), .btn:hover { background-color: #0056b3; }
button:disabled, .btn:disabled, button.desactivado {
    background-color: #ccc !important; color: #666 !important; cursor: not-allowed;
}

.btn-azul    { background-color: #007BFF !important; color: white !important; }
.btn-azul:hover    { background-color: #0069d9 !important; }
.btn-verde   { background-color: #28a745 !important; color: white !important; }
.btn-verde:hover   { background-color: #218838 !important; }
.btn-rojo    { background-color: #dc3545 !important; color: white !important; }
.btn-rojo:hover    { background-color: #c82333 !important; }
.btn-gris    { background-color: #6c757d !important; color: white !important; }
.btn-gris:hover    { background-color: #5a6268 !important; }
.btn-amarillo{ background-color: #e0a800 !important; color: white !important; }
.btn-amarillo:hover{ background-color: #ffc107 !important; }
.btn-naranja { background-color: #fd7e14 !important; color: white !important; }
.btn-naranja:hover { background-color: #e06c1f !important; }
.btn:disabled.btn-verde, .btn:disabled.btn-azul, .btn:disabled.btn-rojo { background-color: #ccc !important; color: #666 !important; }

.editar-btn { padding: 6px 12px; background-color: #28a745; color: white; border-radius: 4px; text-decoration: none; }
.whatsapp-btn { padding: 6px 12px; background-color: #8B0000; color: white; border-radius: 4px; text-decoration: none; }
.whatsapp-btn:hover:not(:disabled) { background-color: #a40000; }
.btn-wsp { background-color: #dc3545; padding: 6px 10px; }
.btn-wsp:hover:not(:disabled) { background-color: #b02a37; }
button.btn-calcular { font-size: 12px; padding: 5px 8px; margin-left: 5px; background-color: #17a2b8; flex: 0 0 auto; }
button.btn-calcular:hover { background-color: #138496; }

#btnAgregar   { background-color: #8B4513; }
#btnEditar    { background-color: #007BFF; }
#btnGuardar   { background-color: #28a745; }
#btnDescartar { background-color: #dc3545; }
#btnVolver    { background-color: #343a40; }

td .btn { font-size: 1rem; padding: 6px 12px; }

.acciones { text-align: center; margin-top: 20px; }
.acciones a { background-color: #6c757d; }
.acciones a:hover { background-color: #5a6268; }
.acciones button, .acciones a { padding: 10px 20px; font-size: 14px; border-radius: 5px; margin: 5px; }
.acciones button#btn-submit { background-color: #28a745; }
.acciones button#btn-submit:disabled { background-color: #dc3545 !important; color: white !important; }
.acciones button[type="reset"] { background-color: #dc3545; }

.botones-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.botones-container button { margin: 0; }
.botones-accion { display: flex; justify-content: space-between; align-items: center; gap: 4px; }

/* ---------- Campos ---------- */
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea {
    padding: 5px; font-size: 14px; font-family: Arial, sans-serif;
    border: 1px solid #aaa; border-radius: 2px; background: #fff; margin: 3px;
}
input[readonly], input:disabled { background-color: #e9e9e9; }

/* ---------- Tablas ---------- */
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 20px; background: white; }
th, td { border: 1px solid #ccc; padding: 6px 8px; font-size: 14px; text-align: center; }
th { background-color: #007BFF; color: white; }
tbody tr:nth-child(even) { background-color: #f2f2f2; }
#tablaCompanias, #tablaMoviles { width: auto; margin: 10px auto 0; }
.table-wrap:has(#tablaCompanias), .table-wrap:has(#tablaMoviles) { display: flex; justify-content: center; }
td select { margin: 0; }

td.editable { cursor: text; }
td.modified { background-color: #fff3cd !important; }
tr.eliminado { background-color: #ffb3b3 !important; }

.totales, tfoot td { background: #007BFF; color: white; font-weight: bold; }
.destacado-azul:not(:empty) { background: #007BFF; color: white; font-weight: bold; }

/* Auditoría */
.accion-crear      { background: #d4edda; }
.accion-cambio     { background: #fff3cd; }
.accion-delete,
.accion-desactivar { background: #f8d7da; }
.accion-activar    { background: #d1ecf1; }
.detalle-insert    { display: none; background: #eef !important; }
.expandible        { cursor: pointer; font-weight: bold; color: #007BFF; }
.pagination { text-align: center; margin-top: 10px; }
.pagination button { padding: 6px 12px; margin: 2px; }
.pagination button.disabled { background-color: #6c757d; }

/* ---------- Formularios de filtro (páginas con tabla) ---------- */
.page > form:not(:has(fieldset)) { text-align: center; margin-bottom: 15px; }
.page > form:not(:has(fieldset)) label { margin: 0 4px; }
.page > form:not(:has(fieldset)) .acciones { display: flex; justify-content: center; gap: 10px; margin-top: 0; }

/* ---------- Formularios de alta / edición (add.css) ---------- */
.container {
    width: 100%; max-width: 900px; margin: 0 auto;
    display: flex; flex-direction: column;
}
.container > h2 { margin-top: 10px; margin-bottom: 20px; }
.container > form, form:has(> fieldset) {
    background: #fff; padding: 20px; border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: flex; flex-direction: column; gap: 20px;
}
fieldset { margin: 0; border: 1px solid #ccc; padding: 15px; min-width: 0; }
legend { font-weight: bold; padding: 0 5px; }
.fila { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; margin: 10px 0; }
.fila > label { flex: 0 0 90px; font-size: 14px; text-align: right; white-space: nowrap; }
.fila > input:not([type="checkbox"]):not([type="radio"]), .fila > select { flex: 1; margin: 0; min-width: 0; }
.w-15 { min-width: 50px; } .w-20 { min-width: 70px; }
.checkbox-container { display: flex; align-items: center; gap: 10px; }
.checkbox-container label { flex: 0 0 auto; }
#map { height: 400px; width: 100%; margin-top: 15px; border: 1px solid #ccc; }
#overlay-block { position: fixed; inset: 0; background-color: rgba(255,255,255,0.7); z-index: 9998; }

/* Barra de depuración (solo root) */
.debug-row { display: flex; align-items: center; width: 100%; background-color: #ffe6e6; border: 1px dashed red;
             padding: 4px 10px; margin-bottom: 5px; font-size: 11px; color: #d00; }

/* ---------- Popups de datos maestros ---------- */
#popup-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9998; }
#popup-overlay + #popup {
    display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background-color: white; padding: 20px; border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3); z-index: 9999; text-align: center;
}
#popup input[type="text"] { width: 90%; margin-bottom: 10px; padding: 6px; }

/* ---------- Perfil / alta usuario / reset (estilos2.css) ---------- */
.form-container, .perfil-container, .reset-container {
    background-color: white; padding: 30px; border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1); text-align: center;
    width: 320px; max-width: 100%; margin: 40px auto;
}
.form-container input, .perfil-container input, .reset-container input,
.form-container select, .reset-container select,
.form-container button, .perfil-container button, .reset-container button,
.form-container > a, .perfil-container > a, .reset-container > a {
    width: 90%; padding: 10px; margin: 10px 0; display: inline-block;
    border-radius: 5px; font-size: 14px;
}
.form-container > a, .perfil-container > a, .reset-container > a {
    display: block; margin: 10px auto; background-color: #6c757d; color: white;
    text-decoration: none; text-align: center;
}
.form-container > a:hover, .perfil-container > a:hover, .reset-container > a:hover { background-color: #5a6268; }
a.logout { background-color: #dc3545 !important; }
a.logout:hover { background-color: #a71d2a !important; }
.perfil-container button.cambiar-vista { width: auto; background: none; color: #007BFF; padding: 4px 0; margin: 6px 0 0; }
.mensaje, .mensaje.exito { color: green; font-weight: bold; }
.mensaje.error, .mensaje_error { color: red; font-weight: bold; }

body.auth-simple { justify-content: center; align-items: center; }

/* ---------- Panel (panel.css) ---------- */
.panel-container {
    background-color: white; padding: 30px; border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1); text-align: center;
    width: 330px; max-width: 100%; margin: 10px auto;
    display: flex; flex-direction: column;
}
.hero h1 { font-size: 1.5em; margin: 0 0 20px; }
.hero .role::before { content: "("; }
.hero .role::after  { content: ")"; }
.section { display: flex; flex-direction: column; align-items: center; }
.section-title { font-size: 14px; font-weight: normal; margin: 8px 0 0; text-align: center; }
.grid { display: flex; flex-direction: column; align-items: center; width: 100%; }
.tile {
    order: var(--orden, 9);
    display: block; margin: 10px auto; padding: 10px; color: white;
    text-decoration: none; border-radius: 5px; width: 250px; text-align: center;
    background-color: #007BFF;
}
.tile .tile-body { display: block; }
.tile.c-btn-azul    { background-color: #007BFF; } .tile.c-btn-azul:hover    { background-color: #0056b3; }
.tile.c-btn-verde   { background-color: #28a745; } .tile.c-btn-verde:hover   { background-color: #218838; }
.tile.c-btn-rojo    { background-color: #dc3545; } .tile.c-btn-rojo:hover    { background-color: #a71d2a; }
.tile.c-btn-amarillo{ background-color: #e0a800; } .tile.c-btn-amarillo:hover{ background-color: #ffc107; }
.tile.c-btn-gris    { background-color: #6c757d; } .tile.c-btn-gris:hover    { background-color: #5a6268; }
.tile.c-btn-naranja { background-color: #fd7e14; } .tile.c-btn-naranja:hover { background-color: #e06c1f; }
.panel-container > a.tile { order: 99; }

/* ---------- Login (logon.css) ---------- */
body.login-page { background-color: #f2f2f2; }
.auth { flex: 1; display: flex; justify-content: center; align-items: center; min-height: 90vh; }
.auth-main { zoom: 1.25; }
.login-card {
    width: 300px; margin: 50px auto; padding: 25px; background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1); text-align: center;
}
.login-card .logo { width: 300px; max-width: 100%; height: auto; margin-bottom: 20px; }
.login-card h2 { display: none; }
.login-card form { margin: 0; }
.login-card input:not([type="checkbox"]), .login-card button[type="submit"] { width: 90%; padding: 10px; margin: 10px 0; }
.login-card .forgot { display: block; margin-top: 10px; color: #0000EE; }

/* ---------- Informe ---------- */
.page-head { text-align: center; margin-bottom: 10px; }
.page-head h1 { font-size: 1.5em; margin: 10px 0 5px; }
.page-head h1 .modo { display: block; font-size: 14px; margin: 6px 0 0; }
.page-head p { color: #555; margin: 0 0 10px; font-weight: bold; }
.page-head-actions { display: flex; justify-content: center; margin-bottom: 10px; }
.page-head-actions .btn-verde { padding: 6px 12px; border-radius: 0; }
.filters { text-align: center; margin-bottom: 20px; }
.filters-row { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.filters-row > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; align-items: center; }
.seg label { cursor: pointer; margin: 0 6px; }
.seg input { margin-right: 4px; }
.pill, .patente { font: inherit; }
.informe th, .informe td { font-size: 13px; }

/* ---------- Pie ---------- */
.app-footer {
    width: 100%; background-color: #f4f4f4; text-align: center;
    padding: 10px; font-size: 14px; color: #666;
    box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
}
.app-footer a { color: #666; }

/* Flatpickr: días con servicios en verde (como antes) */
.flatpickr-day.has-data { background: #28a745; color: white; border-color: #28a745; }

@media (max-width: 600px) {
    .fila { flex-direction: column; align-items: flex-start; }
    .fila > label { text-align: left; margin-bottom: 3px; flex: none; }
    .fila > input:not([type="checkbox"]):not([type="radio"]), .fila > select { width: 100% !important; flex: none; }
    .acciones { display: flex; flex-direction: column; gap: 10px; }
    .acciones button, .acciones a { width: 100%; }
    .auth-main { zoom: 1; }
}
@media print {
    .barra-clasica, .app-footer, .filters, .page-head-actions { display: none !important; }
}
.btn svg, button svg { display: none; }
.tile em { font-style: normal; }
.vistas-links { display: flex; justify-content: center; gap: 14px; margin-top: 8px; }
.barra-clasica > span { color: #999; font-size: 13px; }

/* ---------- Ver como (root), aviso, usuarios, ventanas ---------- */
.ver-como-clasica { font-size: 13px; margin-left: auto; margin-right: 16px; }
.ver-como-clasica select { margin: 0 0 0 4px; }
.aviso-simulacion { background: #fff3cd; border: 1px solid #ffe08a; color: #7a5b00; padding: 8px 12px; text-align: center; margin: 0 auto 15px; max-width: 900px; }
.aviso-simulacion a { color: #007BFF; margin-left: 8px; font-weight: bold; }
.rol-pill, .pill-yo { font: inherit; }
.pill-yo { color: #007BFF; font-weight: bold; }
.page > .mensaje { text-align: center; }
dialog.modal { border: none; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.3); padding: 20px; width: 360px; max-width: 95vw; }
dialog.modal::backdrop { background: rgba(0,0,0,0.5); }
dialog.modal form { display: flex; flex-direction: column; text-align: left; }
dialog.modal h3 { text-align: center; margin-top: 0; }
dialog.modal label { margin-top: 8px; font-weight: bold; font-size: 13px; }
dialog.modal input:not([type="hidden"]), dialog.modal select { width: 100%; margin: 3px 0; }
dialog.modal .ayuda { font-size: 12px; color: #666; }
dialog.modal .ayuda.error { color: red; }
.modal-botones { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
#tablaUsuarios .botones-accion { justify-content: center; gap: 6px; }

/* ---------- Páginas nuevas (ingresos, accesos, estadísticas) ---------- */
.estado { font-weight: bold; }
.estado-ok { color: green; } .estado-fallido { color: #dc3545; } .estado-vencida { color: #666; }
.texto-suave { color: #777; }
.logins-layout { display: flex; flex-direction: column; gap: 16px; }
.logins-ultimos { background: #fff; border: 1px solid #ccc; padding: 12px; max-width: 500px; margin: 0 auto; }
.ultimo-fila { display: flex; justify-content: space-between; border-top: 1px solid #eee; padding: 5px 0; }
.ultimo-fila small { color: #777; margin-left: 6px; }
.pestanas { text-align: center; margin: 10px 0 15px; }
.pestanas a { margin: 0 8px; color: #007BFF; }
.pestanas a.activa { font-weight: bold; text-decoration: none; color: #000; }
.config-card { background: #fff; padding: 12px; margin: 0 auto 15px; max-width: 1100px; }
.toggle input { transform: scale(1.3); }
.toggle span { display: none; }
.estado-activa { color: green; } .estado-prueba { color: #b8860b; } .estado-inactiva { color: #777; } .estado-aviso { color: #e06c1f; }
.tag-prueba { background: #e0a800; color: #000; padding: 0 5px; font-size: 11px; margin-left: 4px; }
.mini-ico { display: inline-block; width: 20px; height: 20px; }
.dos-col { display: flex; gap: 8px; } .dos-col > div { flex: 1; display: flex; flex-direction: column; }
.graficos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 1400px; margin: 0 auto 20px; }
.grafico { background: #fff; border: 1px solid #ccc; padding: 10px; }
.grafico-ancho { grid-column: 1 / -1; }
.grafico h3 { margin: 0 0 6px; font-size: 15px; text-align: center; }
.grafico header p { text-align: center; color: #777; margin: 0 0 6px; font-size: 12px; }
.lienzo { position: relative; height: 260px; } .lienzo.alto { height: 320px; }
.tablas-resumen { max-width: 1100px; margin: 0 auto; }
.pct { display: none; }
.kpis-est { display: none; }
.seg label { margin: 0 6px; }
.celda-acceso { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sel-version { font-size: 12px; }
.version-unica { font-size: 11px; color: #666; }

/* =============================================================================
   Páginas nuevas en estilo clásico (Revisar servicios v1): encabezado, filtros, ventanas, avisos
   ============================================================================= */
.page-head { text-align: center; margin: 10px 0 12px; }
.page-head h1 { font-size: 22px; margin: 0 0 4px; }
.page-head p { margin: 0 0 8px; color: #555; }
.page-head-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-head-actions .btn-gris:not(.solo-masivo) { display: inline-block !important; }
.revisar-filtros { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; margin: 0 0 14px; }
.revisar-filtros .filters-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.check-linea { display: inline-flex; align-items: center; gap: 6px; }
.texto-suave { color: #777; }
.maestro-ayuda { text-align: center; color: #666; font-size: 13px; }
.solo-masivo { display: none !important; }
body.modo-masivo .solo-masivo { display: revert !important; }
body.modo-masivo .cambios-pendientes.solo-masivo[hidden] { display: none !important; }
body.modo-masivo .no-masivo { display: none !important; }
.cambios-pendientes { background: #fff3cd; color: #7a5b00; padding: 4px 10px; border-radius: 4px; font-size: 13px; align-self: center; }
.tabla-revisar { font-size: 13px; }
.tabla-revisar tr.eliminado td { background: #ffb3b3 !important; }
table.tabla-maestro td.editable { background: #fffef0; cursor: text; outline: 1px dashed #ccc; }
table.tabla-maestro td.editable:focus { outline: 2px solid #007BFF; background: #fff; }
table.tabla-maestro td.modificado { background: #fff3cd !important; }
.botones-accion { display: flex; gap: 4px; justify-content: center; flex-wrap: nowrap; }
.btn-sm { padding: 4px 8px !important; font-size: 12px !important; }
.estado { font-size: 11px; padding: 1px 6px; border-radius: 3px; }
.estado-fallido { background: #f8d7da; color: #842029; }
table.tabla-ordenable thead th { cursor: pointer; }
table.tabla-ordenable thead th.orden-asc::after { content: ' ▲'; font-size: 9px; }
table.tabla-ordenable thead th.orden-desc::after { content: ' ▼'; font-size: 9px; }
dialog.modal.modal-ficha { width: min(760px, 95vw); }
.ficha-cabecera { display: flex; justify-content: space-between; align-items: flex-start; }
.ficha-cabecera h3 { margin: 0; }
.ficha-cabecera p { margin: 2px 0 8px; color: #666; font-size: 13px; }
.ficha-cerrar { background: none; border: 0; font-size: 22px; cursor: pointer; }
.ficha fieldset { border: 1px solid #ccc; margin: 0 0 10px; padding: 8px 12px 12px; }
.ficha legend { font-weight: bold; padding: 0 5px; }
.ficha-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 10px; }
.ficha-campo { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.ficha-campo.c2 { grid-column: span 2; }
.ficha-campo.c4 { grid-column: 1 / -1; }
.ficha-campo.check-linea { flex-direction: row; align-items: center; }
.ficha-campo input, .ficha-campo select { width: 100%; padding: 5px; box-sizing: border-box; }
.ficha-campo.check-linea input { width: auto; }
.modal-editar .ficha { max-height: calc(100vh - 220px); overflow-y: auto; }
.ayuda.error { color: #b02a37; font-size: 13px; min-height: 1em; }
.modal-botones { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
#avisos-flotantes { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 6px; width: min(440px, 92vw); }
.aviso-flotante { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #d4edda; color: #155724; border: 1px solid #c3e6cb; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.15); font-size: 14px; }
.aviso-flotante.aviso-error { background: #f8d7da; color: #721c24; border-color: #f5c6cb; }
.aviso-flotante.saliendo { opacity: 0; transition: opacity .25s; }
.aviso-ico { font-weight: bold; }
.aviso-txt { flex: 1; }
.aviso-flotante button { background: none; border: 0; font-size: 18px; cursor: pointer; color: inherit; padding: 0 4px; }
.aviso-barra { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: currentColor; opacity: .4; transform-origin: left; animation: aviso-tiempo var(--dur) linear forwards; }
@keyframes aviso-tiempo { to { transform: scaleX(0); } }
@media (max-width: 640px) { .ficha-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ficha-campo.c2 { grid-column: 1 / -1; } }
table.tabla-revisar th { padding: 6px 4px; font-size: 12px; }
table.tabla-revisar td { padding: 5px 4px; font-size: 12px; overflow-wrap: break-word; }
table.tabla-revisar .botones-accion { flex-direction: column; gap: 3px; }
table.tabla-revisar .botones-accion .btn-sm { width: 100%; }
table.tabla-revisar td[data-campo] { overflow-wrap: anywhere; }
table.tabla-revisar td[data-campo="km"], table.tabla-revisar td[data-campo="importe"], table.tabla-revisar td[data-campo="remito"] { white-space: nowrap; }
table.tabla-revisar td[data-campo] { overflow-wrap: break-word; }
table.tabla-revisar small.cargo { display: block; font-size: 10px; color: #777; }
.tipo-serv { font-weight: bold; }
