/* ====== TABLAS DATATABLES PERSONALIZADAS ====== */

/* Fondo de cabecera */
.table.dataTable thead th {
    background-color: #343a40; /* gris oscuro */
    color: #fff;              /* texto blanco */
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

/* Fondo de filas alternadas */
.table.dataTable tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

/* Hover en filas */
.table.dataTable tbody tr:hover {
    background-color: #e9f5ff; /* azul claro */
}

/* Bordes más suaves */
.table.dataTable {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
}

/* Paginación personalizada */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 4px 10px;
    margin: 2px;
    border-radius: 4px;
    background-color: #f1f1f1;
    color: #333 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #007bff !important;
    color: #fff !important;
    border: none;
}

/* Input de búsqueda */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 4px 8px;
}

/* Select de "entries" */
.dataTables_wrapper .dataTables_length select {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 4px 8px;
}
