/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.sidebar .nav-link.active {
    color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/* Contenido principal */
main {
    padding-top: 0.2rem;
}

/* Cards */
.card {
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075);
}

.card-body {
    padding: 1.5rem;
}

/* Tablas */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    font-weight: 600;
}

/* Gráficos */
.chart-container {
    position: relative;
    
    width: 100%;
}

/* Responsivo */
@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}


/* Estilos específicos para paginación */
/* Estilos específicos para paginación */
.pagination-container {
    flex-wrap: wrap;
}

.page-item {
    margin: 2px;
}

.page-link {
    cursor: pointer;
    transition: all 0.3s ease;
    color: #495057;
    border: 1px solid #dee2e6;
    min-width: 40px;
    text-align: center;
}

.page-link:hover {
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #dee2e6;
    text-decoration: none;
}

.page-item.active .active-page {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    cursor: default;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #dee2e6;
}

.pagination-link {
    cursor: pointer !important;
    display: block;
    padding: 0.375rem 0.75rem;
}

/* Garantizar que los enlaces sean clickeables */
a.page-link {
    pointer-events: auto !important;
}

/* Estilos para paginación */
.pagination .page-item.active .page-link {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.pagination .page-link {
     color: #495057;
    cursor: pointer;
    margin: 0 2px;
    min-width: 38px;
    text-align: center;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    cursor: not-allowed;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
}