/* Estilos generales */
body {
    background-image: url('../img/fondo.jpg'); /* Usa aquí la imagen que has proporcionado */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.content-wrapper {
    background-color: rgba(255, 255, 255, 0.62);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 25px;
    margin: 30px auto;
}

/* Estilos de navegación */
.nav-tabs .nav-link {
    color: #3a3a3a;
    font-weight: 500;
    border-radius: 0;
    padding: 12px 20px;
}

.nav-tabs .nav-link.active {
    color: #009fe3;
    font-weight: 600;
    border-bottom: 3px solid #009fe3;
}

.tab-content {
    padding: 25px 10px;
}

/* Estilos de tablas */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

/* Estilos de gráficos */
.chart-container {
    height: 400px;
    margin: 20px 0;
}

/* Estilos de botones */
.btn-export {
    background-color: #009fe3;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 0;
    transition: background-color 0.3s;
}

.btn-export:hover {
    background-color: #342e74;
}

/* Estilos de encabezados */
h1, h2, h3 {
    color: #2c3e50;
}

/* Estilos de tarjetas de estadísticas */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 30px 0;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    margin: 10px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #009fe3;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Estilos personalizados para DataTables */
.dataTables_wrapper .dataTables_paginate .paginate_button.current, 
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #009fe3;
    color: white !important;
    border-color: #009fe3;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #e1bee7;
    color: #009fe3 !important;
    border-color: #009fe3;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #009fe3;
    border-radius: 4px;
    padding: 5px;
}

/* Animaciones y transiciones */
.tab-pane {
    transition: all 0.3s ease;
}

/* Footer personalizado */
.dashboard-footer {
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #6c757d;
}

.table>:not(caption)>*>* {
    background-color: #ffffff42 !important;
}

table.dataTable.table-striped>tbody>tr:nth-of-type(2n+1)>* {
    box-shadow: inset 0 0 0 9999px rgb(0 159 227 / 5%) !important;
}
