
/* Hacer la tabla desplazable horizontalmente en pantallas pequeñas */
#divTablaDestacados {
    overflow-x: auto;
    width: 100%;
}

/* Asegurar que la tabla no se encoge demasiado */
#dataTable {
    min-width: 600px; /* Ajusta este valor si tu tabla necesita más espacio */
}


/* Sobrescribe el estilo por defecto de DataTables */
#dataTable_filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0;
}

/* Mejora de estilo para tus filtros dentro de #list */
#dataTable_filter #list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Ajuste adicional si el input de búsqueda sigue ahí */
#dataTable_filter input[type="search"] {
    padding: 6px 12px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-width: 300px;
}


#list select {
    margin-left: 8px;
    padding: 6px 12px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 140px;
    background: #fff;
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px; /* más espacio vertical entre filas */
    font-size: 1em;
}

.table thead th {
    background-color: #f0f0f0;
    color: #333;
    padding: 14px 10px;
    text-align: left;
    border-radius: 6px 6px 0 0;
    border-bottom: 1px solid #ccc;
}

.table tbody tr {
    background-color: #fff;
    box-shadow: 0 0 4px rgba(0,0,0,0.05);
    border-radius: 6px;
}

.table tbody td {
    padding: 14px 10px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.table tbody tr:hover {
    background-color: #f9f9f9;
}


a:hover {
    text-decoration: underline;
}
