/* Estilos globales para todos los DataTables */
table.dataTable {
  font-size: 0.90rem;
  margin-top: 1.2rem;
}
table.dataTable th, table.dataTable td {
  padding: 0.45rem 0.5rem;
  vertical-align: middle;
}
/* Notification section styles */
  .notification-section {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
  }

/*Estilos para el kanban*/

.kanban-column {
    min-height: 400px;
    border: 1px solid #ddd;
    padding: 10px;
    margin: 0 5px;
    overflow-y: auto;
}

.kanban-item {
    cursor: move;
}

.kanban-item.dragging {
    opacity: 0.5;
}

/*.card-header {
    background-color: #FF6347; /* Tomato color
}*/

.selectable .kanban-item {
    background-color: #e6e6e6;
}

.kanban-head {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .kanban-head-title {
    font-size: 2.5rem;
    color: #e4e4e4;
    padding: 0.8rem;
    border-radius: 0.5rem;
    margin: 0.3rem;
  }

  /*.kanban-table {
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 1rem;
  }*/

  .kanban-block {
    text-align: center;
    padding: 0.6rem;
    margin: 0.5rem;
    width: 30.5%;
    height: auto;
    /*min-width: 14rem;
    min-height: 4.5rem;*/
    border-radius: 0.3rem;
    box-shadow: 2px 2px 2px 4px rgba(255, 255, 255, 0.1);
  }

  .kanban-form {
    height: fit-content;
    display: flex;
    flex-direction: column;
    background-color: #018b01;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-radius: 0.5rem;
    box-shadow: 2px 2px 2px 4px rgba(255, 255, 255, 0.1);
  }

  .kanban-form-title {
    text-align: center;
    font-size: 1.5rem;
    color: #e4e4e4;
    border-radius: 0.5rem;
  }

  .input-text {
    height: 1.5rem;
    border-radius: 5px;
    border: 0;
    padding-left: 10px;
    margin: 0.3rem;
  }

  #creado {
    height: fit-content;
    background-color: #00ccff;
  }

  #enCamino {
    height: fit-content;
    background-color: #1aff00;
  }

  #entregado {
    height: fit-content;
    background-color: #00a7cc;
  }

  #noEntregado {
    height: fit-content;
    background-color: #f960f9;
  }

  .tarea {
    text-align: start;
    background-color: white;
    margin: 0.2rem 0rem 0.3rem 0rem;
    border: 0.1rem solid black;
    border-radius: 0.5rem;
    padding: 0.5rem 0.2rem 0.5rem 2rem;
  }
/*Estiilos de las columnas en el Kanban*/
.kanban-table {
  display: flex;
  flex-direction: column;
}

.kanban-header {
  display: flex;
  justify-content: space-between;
}

.kanban-column-header {
  background: #f0f0f0;
  padding: 10px;
  font-weight: bold;
  width: 24%; /* Ajusta esto según el número de columnas */
  text-align: center;
  box-sizing: border-box;
}

.kanban-content {
  display: flex;
  justify-content: space-between;
  height: 512px; /* Altura máxima de las columnas */
}

.kanban-column {
  width: 24%; /* Ajusta esto según el número de columnas */
  max-height: 512px; /* Altura máxima para el contenido de las columnas */
  overflow-y: hidden; /* Inicialmente oculto */
  border: 1px solid #ddd;
  box-sizing: border-box;
  position: relative;
}

.kanban-column-body {
  max-height: 512px;
  padding: 10px;
  overflow-y: auto;
}

.kanban-column:hover .kanban-column-body {
  overflow-y: auto; /* Mostrar desplazamiento solo al pasar el mouse */
}

.kanban-item {
  cursor: grab;
}

.kanban-item:active {
  cursor: grabbing;
}

  /** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }*/

 /*Common CSS*/
.receipt-template {
  width: 302px;
  margin: 0 auto;
}
.receipt-template .text-small {
  font-size: 8px;
}
.receipt-template .block {
  display: block;
}
.receipt-template .inline-block {
  display: inline-block;
}
.receipt-template .bold {
  font-weight: 700;
}
.receipt-template .italic {
  font-style: italic;
}
.receipt-template .align-right {
  text-align: right;
}
.receipt-template .align-center {
  text-align: center;
}
.receipt-template .main-title {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  margin: 5px 0;
  padding: 0;
}
.receipt-template .heading {
  position: relative;
}
.receipt-template .title {
  font-size: 14px;
  font-weight: 700;
  margin: 5px 0;
}
.receipt-template .sub-title {
  font-size: 10px;
  font-weight: 700;
  margin: 5px 0;
}
.receipt-template table {
  width: 100%;
}
/*.receipt-template td,
.receipt-template th {
  font-size: 12px;
}*/
.receipt-template th,
.receipt-template .products {
  font-size: 12px;
}
.receipt-template .info-area {
  font-size: 10px;
  line-height: 1.2;
}
.receipt-template .listing-area {
  line-height: 1.2;
}
/*.receipt-template .listing-area table {}*/
.receipt-template .listing-area table thead tr {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  font-weight: 700;
}
.receipt-template .listing-area table tbody tr {
  border-top: 1px dashed #000;
  border-bottom: 1px dashed #000;
}
.receipt-template .listing-area table tbody tr:last-child {
  border-bottom: none;
}
.receipt-template .listing-area table td {
  vertical-align: top;
}
/*.receipt-template .info-area table {}*/
.receipt-template .info-area table thead tr {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

/*Receipt Heading*/
.receipt-template .receipt-header {
  text-align: center;
}
.receipt-template .receipt-header .logo-area {
  width: 80px;
  height: 10px;
  margin: 0 auto;
}
.receipt-template .receipt-header .logo-area img.logo {
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
}
.receipt-template .receipt-header .address-area {
  margin-bottom: 5px;
  line-height: 1;
}
.receipt-template .receipt-header .info {
  font-size: 10px;
}
.receipt-template .receipt-header .store-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  padding: -10;
}

/*Invoice Info Area
.receipt-template .invoice-info-area {}*/

/*Customer Customer Area*/
.receipt-template .customer-area {
  margin-top: 10px;
}

/*Calculation Area*/
.receipt-template .calculation-area {
  border-top: 2px solid #000;
  font-weight: bold;
}
.receipt-template .calculation-area table td {
  text-align: right;
}
.receipt-template .calculation-area table td:nth-child(2) {
  border-bottom: 1px dashed #000;
}

/*Item Listing
.receipt-template .item-list table tr {}*/

/*Barcode Area*/
.receipt-template .barcode-area {
  margin-top: 10px;
  text-align: center;
}
.receipt-template .barcode-area img {
  max-width: 100%;
  display: inline-block;
}

/*Footer Area*/
.receipt-template .footer-area {
  line-height: 1.5;
  font-size: 8px;
}

.interlineado {
  line-height: 2.0;
}

.invoice-header {
  font-size: 10px;
}

/*Media Query*/
@media print {
  .receipt-template {
      width: 100%;
  }
}
@media all and (max-width: 215px) {}
/* Asegurar que el dropdown de búsqueda se muestre sobre el modal */
.pac-container { z-index: 100000 !important; }

#listActions .col-md-2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

#listActions select.form-control {
  width: 100%;
}

#actualizarEstadoMasivo, #actualizarRepartidorMasivo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.75rem;
}

#actualizarEstadoMasivo i, #actualizarRepartidorMasivo i {
  font-size: 1.2rem;
}

#cargaSpinner {
  display: none;
  position: absolute;
  height: 50px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px; /* Reducción del tamaño del spinner */
  color: #3c8dbc;
  text-align: center;
  z-index: 10; /* Para asegurar que no se superponga a otros elementos */
}

@keyframes spinner {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

#cargaSpinner i {
  font-size: 30px; /* Reducción del tamaño del ícono */
  animation: spinner 1s linear infinite;
}
/*Cambiar el acordion de los filtros de pedidos*/
.accordion-button {
  padding: 0.20rem 1rem; /* Reducir padding para disminuir la altura 0.4rem */
  font-size: 0.20rem; /* Reducir tamaño del texto */
  overflow: visible; /* Permite que el ícono se muestre completo */
  padding-right: 1rem; /* Agregar espacio adicional para el ícono */
}

.accordion-button::after {
  margin-left: -0.25rem; /* Mover la flecha hacia la izquierda */
  transform: scale(0.65); /* Reducir el tamaño del ícono */
  width: 1.5rem; /* Asegurar el ancho suficiente */
  height: 1rem; /* Asegurar la altura suficiente */
  content: ""; /* Si no se define contenido, Bootstrap puede no renderizar el ícono */
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg) scale(0.65); /* Flecha hacia arriba más pequeña */
}

.accordion-button.collapsed::after {
  transform: rotate(0deg) scale(0.65); /* Flecha hacia abajo más pequeña */
}

.accordion-body {
  padding-top: 0.5rem;
  padding-bottom: 0rem;
  padding-left: 1rem; /* Espaciado lateral izquierdo */
  padding-right: 1rem; /* Espaciado lateral derecho */
}

.d-flex.align-items-center {
  padding-top: 0.5rem;
  gap: 0.5rem; /* Espaciado uniforme entre elementos */
}

.table-custom-sm td, .table-custom-sm th {
  font-size: 14px; /* Tamaño de fuente reducido */
  /*padding: 2px;  Relleno reducido */
}

.myFontSelect2{
  font-size: 14px;
}

/*Estilos para el mapa de rutas entregas*/
.custom-marker {
  transition: all 0.2s ease;
  cursor: pointer;
}

.selected-marker {
  filter: drop-shadow(0 0 8px #ff0000);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.gm-style-iw button {
  padding: 8px 12px;
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.gm-style-iw button:hover {
  background: #cc0000;
}

/* Estilo para fila resaltada */
.fila-resaltada {
  animation: destacarFila 1s ease-in-out;
  background-color: #d4edda !important; /* verde claro */
}

/* Animación suave (puedes eliminarla si prefieres un fondo estático) */
@keyframes destacarFila {
  0% { background-color: #ffffff; }
  50% { background-color: #d4edda; }
  100% { background-color: #ffffff; }
}

.highlighted-success {
  background-color: #d4edda !important;
  transition: background-color 0.5s ease;
}