/* Ajusta el tamaño de la imagen en el preview de Dropzone */
.dz-image img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  transform: scale(1) !important;
  border-radius: 0.75rem; /* si quieres mantener el estilo redondeado */
}

/* Elimina íconos de orden solo en la fila de filtros */
table.dataTable thead tr:nth-child(2) th,
table.dataTable thead tr:nth-child(2) th::before,
table.dataTable thead tr:nth-child(2) th::after {
  background-image: none !important;
  background: none !important;
  content: none !important;
}

table.dataTable thead tr:first-child th {
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: right center;
}

table.dataTable thead tr:first-child th.sorting {
  background-image: url('https://cdn.datatables.net/1.13.6/images/sort_both.png');
}

table.dataTable thead tr:first-child th.sorting_asc {
  background-image: url('https://cdn.datatables.net/1.13.6/images/sort_asc.png');
}

table.dataTable thead tr:first-child th.sorting_desc {
  background-image: url('https://cdn.datatables.net/1.13.6/images/sort_desc.png');
}


/* Forzar alineación derecha del footer del DataTable */
.dataTables_wrapper .row:last-child {
  display: flex !important;
  justify-content: flex-end !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Alineación precisa de los elementos internos */
.dataTables_wrapper .dataTables_info {
  order: 1;
  text-align: right !important;
  flex: 1 1 auto;
}

.dataTables_wrapper .dataTables_paginate {
  order: 2;
  justify-content: flex-end !important;
  display: flex !important;
  flex: 1 1 auto;
}


.dataTables_filter {
  float: none !important;
  text-align: right !important;
  display: flex;
  justify-content: flex-end;
  padding-right: 1rem;
}

.dataTables_filter label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
  /* ✅ Ajuste aquí */
  width: auto;
  max-width: none;
}

.dataTables_filter input {
  width: auto;
  max-width: 250px;
}


.dataTables_info {
  margin-top: 1rem; /* Puedes ajustar la cantidad como desees */
}

/* .dataTables_paginate .page-link {
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
} */




