/* (Opcional) Importa la fuente si no lo has hecho */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
.app-brand .logo {
    max-width: 500px;
    max-height: 500px;
    width: 100%;
}
.logologin{
    max-width: 500px;
    max-height: 500px;
    width: 100%;
}
.toggle-visibility {
  margin-left: 10px;
  color: gray;
  cursor: pointer;
}
.toggle-visibility:hover {
  color: black;
}
.boton-tiemble {
  animation: shake 0.5s infinite;
}
 

.modal-dialog-scrollable .modal-content {
    overflow: auto;
}
.form-select,.form-control,input[type="text"] ,.filters-container input[type="date"], .filters-container select {
  border: 1px solid #ffffff!important;
}
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}
#usuForm{
    overflow:auto;
}
/*VIAJES RUTAS*/
.id_ubicacion_recolecta,.id_ubicacion_destino{
  border:none!important;
  
}
.viajes_rutas {
    background-color: white;
    width: 100%;
    max-width:5000px;
    height: 100%;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}
.viajes_rutas .botones{
    display:inline-block;
}
.viajes_rutas .buttons{
   
    margin-bottom:15px;
}
 .viajes_rutas h3 {
    text-align: center;
    margin-bottom: 20px;
}

 .viajes_rutas .select-box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

 .viajes_rutas select,  .viajes_rutas input[type="text"] {
    width: 48%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
    background-color: #f9f9f9;
    outline: none;
}

 .viajes_rutas .large-select {
    width: 100%;
    margin-bottom: 20px;
}



 .viajes_rutas .map {
    width: 100%;
    flex-grow: 1;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

 .viajes_rutas iframe {
    width: 100%;
    height: 100%;
    border: none;
}

 .viajes_rutas .routes {
    display: flex;
    justify-content: space-between;
}

 .viajes_rutas .route-box {
    background-color: #f9f9f9;
    width: 23%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    color: #333;
}


.routes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.route-box {
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    width: 300px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.route-box iframe {
    border: none;
    width: 100%;
    height: 200px;
    border-radius: 8px;
}
 /*CHECKLIST*/
 .checklist-item{
    border-top:3px solid rgb(201, 201, 201);  
    margin-top:20px;
    margin-bottom:20px;

 }

  .field {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
  }

  .label {
    font-weight: 600;
    color: #333;
  }

  .value {
    color: #007aff;
  }

  .field:last-child {
    border-bottom: none;
  }

  .trailer-title {
    font-size: 1.5em;
    color: #333;
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
  }

  .trailer-table {
    width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
  }

  .trailer-table th, .trailer-table td {
    border: 1px solid #e0e0e0;
    padding: 15px;
    text-align: center;
  }

  .trailer-table th {
    background-color: #f0f0f5;
    font-weight: 600;
    color: #333;
  }

  .trailer-table td {
    color: #555;
  }
 /*CHECKLIST*/

 /*PESOS PRODUCTOS*/
.peso_productos {
    display: flex;
    gap: 20px;
    padding: 20px;
    width: 100%;
}

.peso_fila {
    display: flex;
    gap: 20px;
    padding: 20px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.peso_columna {
    flex: 1;
    min-width: 250px;
}
.ronda_titulo {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #333;
  font-weight: bold;
}

.container_peso{
  width: 100%;
  overflow:auto;
}
.container-turnos{
  width: 100%;
  max-width: 700px;
  overflow:auto;
  margin:0 auto;
}
 
/* --- Estilo para resaltar la fila correcta (borde superior e inferior) --- */
.tabla-turnos tr {
    border: 2px solid #a3d9a5;
    
}
.tabla_apple {
    width: 100%;
    border-collapse: collapse;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.tabla_apple thead {
    background-color: #f5f5f7;
    color: #333;
    font-weight: bold;
}

.tabla_apple th,
.tabla_apple td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.tabla_apple tr:hover {
    background-color: #f1f1f1;
}

.tabla_apple tbody tr:last-child td {
    border-bottom: none;
}

.imagenes_peso {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
}

.imagen_item {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.imagen_evidencia {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

  
 /*PESOS PRODUCTOS*/

 .fo_btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  background-color: #007aff;
  color: #fff;
  font-weight: 500;
  transition: background-color 0.2s;
}

.fo_btn-success {
  background-color: #28a745;
}

.fo_btn:hover {
  background-color: #005bb5;
}

#fo-container .fo_item {
  margin-bottom: 1rem;
}

input[type="text"], input[type="file"] {
  width: 100%;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 0.5rem;
}

.fo_label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: block;
}


#fo-container-guardados {
  margin-top: 20px;
}

.fo-guardado {
  position: relative;
  padding: 10px 40px 10px 15px; /* Espacio para el botón de eliminar */
  background-color: #ffffff;
  border: 1px solid #d1d1d6;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fo-nombre {
  font-weight: bold;
  color: #333;
}

.eliminar-fo {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  color: #ff3b30;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
}

.eliminar-fo:hover {
  color: #d32f2f;
}
/*MOSTRAR FO*/
/* Contenedor de FO guardados */
.fo-guardado {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tabla de datos */
.fo-table {
    width: 100%;
    border-collapse: collapse;
}

.fo-table td {
    padding: 8px 12px;
    vertical-align: middle;
}

.fo-table td:first-child {
    font-weight: 600;
    color: #333;
}

/* Estilo para el botón de descarga */
.fo-table a {
    color: #007aff;
    text-decoration: none;
    font-weight: 600;
}

.fo-table a:hover {
    text-decoration: underline;
}

/* Estilo para el ícono de basura */
.delete-icon {
    text-align: right;
}

.eliminar-fo {
    background: none;
    border: none;
    color: #ff3b30;
    font-size: 1.2rem;
    cursor: pointer;
    outline: none;
    transition: color 0.2s;
}

.eliminar-fo:hover {
    color: #ff1f1f;
}

.bi-trash-fill {
    font-size: 1.2rem;
    color: #ff3b30;
}

/*MOSTRAR FO*/



 .incidencias {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas */
  gap: 10px; /* Espacio entre imágenes */
  margin-top: 20px;
}

 .incidencias img {
  width: 100%;
  height: auto;
  border-radius: 5px; /* Opcional: bordes redondeados */
}
.ver-grande-btn,.descargar-btn{
  margin-bottom:5px;
  width: 100%;
}
/*FO*/
#fo-container {
    padding: 10px;
}

.fo_item {
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
}

.fo_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.fo_header label {
    font-weight: bold;
    margin-right: 8px;
}

.delete-fo {
    background: none;
    border: none;
    color: #d9534f;
    cursor: pointer;
    font-size: 16px;
}

.fo_row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.fo_row label {
    font-weight: bold;
    min-width: 120px; /* Asegura que las etiquetas tengan el mismo ancho */
}

.fo_row_full {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.fo_row_full input[type="text"],
.fo_row_full input[type="number"],
.fo_row_full select {
    flex: 1;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
    height: 38px;
    margin: 0; /* Elimina márgenes adicionales */
}

.fo_row_full input[type="text"]:focus,
.fo_row_full input[type="number"]:focus,
.fo_row_full select:focus {
    outline: none;
    border-color: #66afe9; /* Cambia color de borde al enfocarse */
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.6);
}

.add-fo-button {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    color: #fff;
    background-color: #28a745;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.add-fo-button:hover {
    background-color: #218838;
}

/*FO*/

.permission-container {
  display: flex;
  gap: 2rem;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.list-container {
  flex: 1;
}

.list-container h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #333;
}

.profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  min-height: 500px;
  overflow-y: auto;
}

.profile-list li {
  padding: 0.5rem;
  font-size: 1rem;
  color: #555;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.profile-list li:hover {
  background-color: #3b5998;
  color: #fff;
}

.profile-list li.selected {
  background-color: #2d4373;
  color: #fff;
}

.permission-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.permission-list li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #555;
}

.permission-list label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.permission-list input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #007bff;
}

.button-container {
  margin-top: 1rem;
  text-align: center;
}

.button-container button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.button-container button:hover {
  background-color: #0056b3;
}
/*PLANTILLA DE FIGMA DE OLDA*/
/*PLANTILLA DE FIGMA DE OLDA*/
/*PLANTILLA DE FIGMA DE OLDA*/
.app-brand {
    background: #0149A6;
}
.sidebar-wrapper {
    background-color: #0149A6;
}
.sidebar-menu>li>a {
    color: #ffffff;
}
.logo{
      border-radius: 10px
}

/*TABLAS */

/*
=================================================================
  SOLUCIÓN DEFINITIVA v3 - Padding reducido y selector corregido
=================================================================
*/


/*
=================================================================
  SOLUCIÓN v6 - HIPERESPECIFICIDAD (La Opción Nuclear)
=================================================================
*/
 

/* Aplica la fuente y el color de fondo general a la página */
body {
  font-family: 'Inter', sans-serif !important;
  background-color: #f8f9fa !important;
}


/* 1. ESTILOS PARA EL CONTENEDOR PRINCIPAL (LA TARJETA) */
.card {
  border: none !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important;
  padding: 0 !important; 
  background-color:transparent !important;
}

/* 2. ESTILOS PARA EL CUERPO DE LA TARJETA */
.card-body {
  padding: 1rem !important;
}


/*
 ====================================================================
  REGLAS HIPERESPECÍFICAS PARA LA TABLA - A PRUEBA DE FRAMEWORKS
 ====================================================================
 */

/* 3. ESTILOS GENERALES DE LA TABLA */
.card-body .table.truncate.m-0 {
  margin-bottom: 0 !important;
  border: none !important;
}

/* 4. CABECERA DE LA TABLA (THEAD) */
.card-body .table.truncate.m-0 thead th {
  padding: 0.75rem 1rem !important;
  font-weight: 500 !important;
  color: #8898aa !important;
  text-align: left !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-size: 0.75rem !important;
  background-color: transparent !important;
  border: none !important;
}

/* 5. CELDAS DEL CUERPO DE LA TABLA (TBODY TD) */
.card-body .table.truncate.m-0 tbody td {
  padding: 0.75rem 1rem !important;
  color: #525f7f !important;
  vertical-align: middle !important;
  border: none !important;
  font-size: 0.9rem !important;
}

/* --- ALTERNANCIA DE COLORES CON HIPERESPECIFICIDAD --- */
 

/* Regla ultra específica para las filas pares */
.card-body .table.truncate.m-0 tbody tr:nth-child(even) {
    background-color: #ffffff !important;
}
.table {
--bs-table-bg: none;
}

/*BOTONES EN GENERAL*/
/*
=================================================================
  ESTILOS PARA BOTÓN MINIMALISTA (Anula Estilos de Bootstrap)
=================================================================
*/
 
/*
=================================================================
  ESTILOS PARA BOTÓN CON HOVER INVERSO Y EFECTO DE TEXTO DINÁMICO
=================================================================
*/

.botonroutteessential_primario {
 
  background-color: #ffffff !important;   /* Fondo blanco */
  border: 1px solid #044AAC !important;     /* Borde azul */
  color: #044AAC !important;               /* Texto azul */

  /* --- Tus otros estilos base se mantienen --- */
  text-align: center!important;
  margin-top: 10px;
  margin-left: 10px;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

  /* --- Propiedades clave para la animación --- */
  position: relative;
  overflow: hidden;
  z-index: 1; 
   transition: background-color 0.5s, color 0.5s;
}
 
.botonroutteessential_primario:hover {
  color:white!important;
  background-color: #044AAC!important; /* El color de fondo que aparecerá en el hover */
 
}
 

.botonminimalista {
  /* --- 1. Reinicio de Estilos de Bootstrap --- */
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important; /* Esquinas cuadradas, sin redondeo */
  box-shadow: none !important;
  
  /* --- 2. Estilo del Texto --- */
  color: #616161 !important; /* Color azul primario de Bootstrap. Cámbialo si usas otro azul. */
  font-weight: 600 !important; /* Texto en semi-negrita */
  
  /* --- 3. El "Subrayado" con Borde Inferior --- */
  border-bottom: 2px solid #0d6efd !important; /* Línea de 2px de grosor. ¡Esta es la clave! */
  
  /* --- 4. Ajuste de Espaciado --- */
  /* Padding horizontal muy pequeño y padding inferior para separar el texto de la línea */
  padding: 0.2rem 0.1rem 0.3rem 0.1rem !important;
  
  /* --- 5. Transición Suave para el Hover --- */
  transition: all 0.2s ease-in-out;
}

/* Efecto al pasar el mouse por encima */
.botonminimalista:hover {
  /* Hacemos el color un poco más oscuro al pasar el mouse */
  color: #0a58ca !important;
  border-bottom-color: #0a58ca !important;
}

/* Estilos para cuando el botón está activo o enfocado */
.botonminimalista:focus,
.botonminimalista:active {
  box-shadow: none !important; /* Nos aseguramos que no aparezca el "resplandor" de Bootstrap */
}

/*
============================================================
  ESTILOS v2 PARA VISTA DE VIAJES (Adaptado a PHP existente)
============================================================
*/

/* --- Estilos para el encabezado y filtros (Igual que antes) --- */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.page-title {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}
.header-actions .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  margin-left: 1rem;
}
.status-filters {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem;
  background-color: #e9ecef;
  border-radius: 0.75rem;
  width: fit-content;
}
.status-filters .form-check-input { display: none; }
.status-filters .form-check-label {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
  color: #6c757d;
}
.status-filters .form-check-input:checked + .form-check-label {
  background-color: #ffffff;
  color: #0d6efd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }
.status-dot.waiting { background-color: #000000; }
.status-dot.in-progress { background-color: #0d6efd; }
.status-dot.completed { background-color: #198754; }

/* --- Estilos para la Tabla con 3 Filas --- */

/* Estilo para la cabecera de estado que creaba tu PHP */
.fila-estado-viaje td {
    color: #495057 !important;
    background-color: #e9ecef !important;
    font-weight: bold !important;
    text-align: center !important;
}

/* Oculta las dos filas de acciones por defecto */
.fila-acciones {
    display: none;
}

/* El botón para expandir */
.toggle-row {
  background-color: #e9ecef !important;
  border: none !important;
  padding: 2px 6px !important;
  line-height: 1;
}
.toggle-row .bi {
  transition: transform 0.2s ease-in-out;
}
.fila-datos.expanded .toggle-row .bi {
  transform: rotate(180deg);
}

/* Contenido de las filas de acciones */
.fila-acciones td {
    padding: 1rem 1.5rem !important;
    background-color: #f0f2f5 !important;
}

/* Borde inferior solo en la última fila de acciones */
.fila-acciones-final {
    border-bottom: 4px solid #dee2e6 !important;
}

.fila-acciones .botonminimalista {
    margin: 0.25rem;
}





/* ====================================================== */
/* Estilos DEFINITIVOS v9 para el Botón Cerrar Modal      */
/* Crea el efecto de esquina superpuesta sin overflow    */
/* ====================================================== */

/* 1. Preparamos el contenedor del encabezado */
.modal-header {
  position: relative !important;
  border-bottom: none !important;
  /* Espacio para que el botón no tape el título */
  padding-top: 1.5rem !important;
}

/* 2. El gran círculo AZUL de fondo (usando un pseudo-elemento) */
.modal-header::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 80px !important; /* Tamaño del óvalo azul */
  height: 80px !important;
  background-color: #0d6efd !important;
  /* Creamos la forma de "esquina" con border-radius */
  border-radius: 0 0 0 100% !important; 
  z-index: 1 !important; /* Detrás del botón */
}


/* 3. Estilos para el botón de cerrar */
.modal-header .btn-close {
  /* --- Reinicio Total --- */
  all: unset !important;
  box-sizing: border-box !important;

  /* --- Posicionamiento y Profundidad --- */
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 2 !important; /* Por encima del fondo azul */
  
  /* --- Estilos del Círculo BLANCO --- */
  width: 28px !important;
  height: 28px !important;
  background-color: #ffffff !important;
  border-radius: 50% !important;
  
  /* --- Centrado del icono 'X' --- */
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* 4. La "X" AZUL (usando el SVG de Bootstrap) */
.modal-header .btn-close {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px !important;
}

/* 5. Efecto Hover */
.modal-header .btn-close:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}


/* Estilos para la cuadrícula de evidencias fotográficas en ver_checklist */
.evidencias-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; /* Espacio entre las imágenes */
  margin-top: 5px;
  padding-left: 5px; /* Para alinear con el texto de otros campos */
}

/* Estilos para cada imagen en miniatura */
.evidencia-thumbnail {
  max-width: 200px; /* Ancho máximo solicitado */
  height: 200px; /* Hacemos que la altura sea igual para que sean cuadradas */
  object-fit: cover; /* Asegura que la imagen cubra el espacio sin deformarse */
  border-radius: 8px;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.evidencia-thumbnail:hover {
  transform: scale(1.05); /* Efecto de zoom al pasar el mouse */
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}


.evidencias-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.evidencia-thumbnail {
    width: 100%;
    height: 80px; 
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: transform 0.2s ease-in-out;
}

.evidencia-thumbnail:hover {
    transform: scale(1.05);
}

/* Estilo para los campos de datos para que se alineen bien */
.checklist-item .col-lg-6, .checklist-item .col-12 {
    display: flex;
    align-items: baseline;
}



/* === ESTILOS PARA EVIDENCIAS (DISEÑO DE 5 COLUMNAS CORREGIDO) === */
.evidencia-group {
    width: 100%; /* <-- ESTA ES LA LÍNEA NUEVA Y CLAVE */
    margin-bottom: 2rem;
}

.evidencia-group h3 {
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.evidencias-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.evidencia-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.evidencia-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.evidencia-card .card-content {
    padding: 10px;
}

.evidencia-card .card-content p {
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

.evidencia-card .card-buttons {
    display: flex;
    gap: 5px;
}

.evidencia-card .card-buttons .btn {
    flex: 1;
    padding: 5px 8px;
    font-size: 0.8rem;
}

/* Ajuste para pantallas más pequeñas */
@media (max-width: 992px) {
    .evidencias-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .evidencias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

 

.botonminimalista.has-content {
    color: green !important;
    border-bottom: 2px solid green !important;
    font-weight: 500;
}


/* Estilos para la modal de Peso en la web */
.ronda-container { border: 1px solid #e9ecef; border-radius: 8px; padding: 20px; margin-top: 20px; text-align: left; }
.ronda_titulo { font-size: 1.2rem; font-weight: 600; padding-bottom: 10px; border-bottom: 2px solid #e9ecef; margin-bottom: 20px; }
.titulo-proceso { font-weight: 600; font-size: 1.1rem; color: #34495e; }
.checklist-item.card .label { font-weight: 500; margin-right: 5px; color: #6c757d; }
.checklist-item.card .value { font-weight: normal; color: #212529; }
.remolque-titulo { padding: 8px 12px; background-color: #e9ecef; border-radius: 5px; font-size: 1.05rem; }
.total-peso { margin-top: 30px; padding: 15px; background-color: #f8f9fa; border-top: 3px solid #007bff; text-align: right; }
.total-label { font-size: 1.2rem; font-weight: bold; }
.total-value { font-size: 1.3rem; font-weight: bold; color: #007bff; margin-left: 10px; }
.evidencia-thumbnail { width: 100%; height: 70px; object-fit: cover; border-radius: 5px; border: 1px solid #ddd; }

.tipo-peso-subgrupo .tipo-peso-titulo {
    font-size: 0.9rem;
    font-weight: bold;
    color: #6c757d;
    text-transform: uppercase;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/*
=================================================================
  CORRECCIONES DE MÁRGENES Y ESTILOS PARA MODAL DE PESO
=================================================================
*/

/* Contenedor principal de cada ronda (CARGA / DESCARGA) */
.ronda-container {
    padding: 1.5rem; /* Aumenta el padding general para dar más aire */
    margin-top: 20px;
    border: none;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    text-align: left;
}

/* Título principal de la ronda (CARGA / DESCARGA) */
.ronda-container .ronda_titulo {
    text-align: center;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

/* Contenedor de un proceso (Báscula Doble o Unitaria) */
.bloque-captura {
    margin-top: 1.5rem;
}

/* Título del proceso (PESO POR REMOLQUE, ENTRADA, SALIDA) */
.titulo-proceso {
    font-size: 1.1rem;
    font-weight: 600;
    color: #34495e;
    padding-left: 0.5rem; /* Añade un pequeño margen izquierdo */
    margin-bottom: 0;
}
.bloque-captura hr {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Contenedor para un remolque específico y sus capturas */
.remolque-subgrupo {
    margin-top: 2rem;
}

/* Título con el nombre del remolque */
.remolque-titulo {
    padding: 0.75rem 1rem;
    background-color: #f8f9fa; /* Fondo gris claro */
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem; /* Espacio antes de las tarjetas */
}

/* Sub-contenedor para ENTRADA/SALIDA dentro de un remolque */
.tipo-peso-subgrupo {
    margin-top: 1.5rem;
    /* Este padding asegura que las tarjetas no toquen los bordes */
    padding: 0 0.25rem;
}

.tipo-peso-titulo {
    font-size: 0.9rem;
    font-weight: bold;
    color: #6c757d;
    text-transform: uppercase;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    margin-left: 0.5rem; /* Alinea el subtítulo con las tarjetas */
    margin-right: 0.5rem;
}

/* Tarjeta individual de captura */
.checklist-item.card {
    border: 1px solid #e9ecef;
    transition: all 0.2s ease-in-out;
}
.checklist-item.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.checklist-item.card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Totalizador al final */
.total-peso {
    margin-top: 2.5rem;
    padding: 1rem 1.5rem;
    background-color: #e9ecef;
    border-radius: 8px;
}
.total-label {
    font-size: 1.1rem;
}
.total-value {
    font-size: 1.4rem;
}