/*Write your custom css in this file.*/
.dt-print-view{
     tfoot tr:first-child {
          display: none;
     }
}

@media print {
     .dt-print-view tfoot {
          display: table-row-group;
     }
}


table.dataTable tbody th, table.dataTable tbody td {
  padding: 4px 10px !important;
}

/* Historial de búsqueda */
.busqueda-autocomplete {
    position: absolute;
    z-index: 10000;
    background: #fff;
    width: 100%;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 6px 32px 0 rgba(30, 41, 59, 0.14);
    max-height: 240px;
    overflow-y: auto;
    margin-top: 2px;
    left: 0;
    border: none;
    padding: 0;
    animation: fadeInAutocomplete 0.18s;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

@keyframes fadeInAutocomplete {
    from { opacity: 0; transform: translateY(-8px);}
    to { opacity: 1; transform: translateY(0);}
}

.busqueda-autocomplete li {
    padding: 12px 18px;
    cursor: pointer;
    font-size: 14px;
    color: #1e293b;
    background: transparent;
    transition: background 0.15s, color 0.15s, padding-left 0.18s;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.busqueda-autocomplete li:last-child {
    border-bottom: none;
}

.busqueda-autocomplete li:hover,
.busqueda-autocomplete li.active {
    background: linear-gradient(90deg, #f1f5f9 90%, #e0e7ef 100%);
    color: #174ea6;
    padding-left: 30px;
}

.busqueda-autocomplete li::before {
    display: none;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #38bdf8;
    opacity: 0.7;
}
.busqueda-autocomplete li.active::before,
.busqueda-autocomplete li:hover::before {
    display: inline;
}

@media (max-width: 600px) {
    .busqueda-autocomplete {
        font-size: 15px;
    }
    .busqueda-autocomplete li {
        padding: 12px 10px;
    }
}
/* --- */
