
.navbar {
    background-color: #6652A6 !important; 
}

/* Agregar estos estilos */
.card-dashboard {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.card-dashboard:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-dashboard .card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
/*     background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important; */
}

.card-dashboard .card-body {
    padding: 1.5rem;
}

.card-dashboard h4 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-dashboard h6 {
    font-size: 1.1rem;
    font-weight: 700;
}

.card-dashboard p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.card-dashboard .progress {
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.1);
}

.card-dashboard .progress-bar {
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.card-dashboard small {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Colores específicos para cada tipo de movimiento */
.card-dashboard .bi {
    transition: transform 0.3s ease;
}

.card-dashboard:hover .bi {
    transform: scale(1.1);
}

/* Efecto de brillo para cards con buen porcentaje */
.card-dashboard[style*="background: linear-gradient"] {
    position: relative;
    overflow: hidden;
}

.card-dashboard[style*="background: linear-gradient"]::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .card-dashboard {
        margin-bottom: 1rem;
    }
    
    .card-dashboard h4 {
        font-size: 1.5rem;
    }
    
    .card-dashboard .bi {
        font-size: 2rem !important;
    }
}

.area-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.area-card h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.area-card h4 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.area-card small {
    font-size: 0.8rem;
    opacity: 0.9;
}
.bg-ingreso {
    background-color: #6652A6;
}

.bg-activa {
    background-color: #D7AC30;
}

.bg-egreso {
    background-color: #E1DDEE;
    color: #312658;
}

.bg-totales {
    background-color: #312658;
}
.btn-cigu {
    background-color: #6652A6;
    color: white;
}

.pagination {
    margin-bottom: 0;
}

.page-link {
    cursor: pointer;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.badge {
    font-size: 0.85em;
    min-width: 60px;
}

.form-select-sm, .form-control-sm {
    height: calc(1.5em + 0.5rem + 2px);
}

/* Estilos para la tabla responsive */
.table-responsive {
    max-height: 600px;
    overflow-y: auto;
}

/* Estilos para el header fijo si se desea */
.table-responsive thead th {
    position: sticky;
    top: 0;
    background-color: #6652A6;
    color: white;
    z-index: 10;
}

/* Estilos para el gráfico de entidad */
#graficoEntidadContainer .card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
}

#graficoEntidadContainer .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
}

#graficoEntidadContainer .chart-container {
    border-radius: 8px;
    background: white;
    padding: 20px;
    border: 1px solid #e9ecef;
}

/* Mejoras para los controles */
#graficoEntidadContainer .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

#graficoEntidadContainer .form-select:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

#graficoEntidadContainer .form-check-input:checked {
    background-color: #4e73df;
    border-color: #4e73df;
}

/* Responsive */
@media (max-width: 768px) {
    #graficoEntidadContainer .chart-container {
        height: 300px !important;
    }
    
    #graficoEntidadContainer .form-select {
        margin-bottom: 10px;
    }
}
.chartjs-tooltip {
    background: rgba(0, 0, 0, 0.8) !important;
    border-radius: 8px !important;
    padding: 10px !important;
}

.chartjs-tooltip-key {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
}
.export-btn {
    transition: all 0.3s ease;
}

.export-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    border-radius: 4px;
    margin: 2px;
}

.dropdown-item:hover {
    background-color: #4e73df;
    color: white;
}

#loadingExportacion {
    font-size: 0.9rem;
    color: #6c757d;
}
/* Contenedores de alertas por posición */
.alert-container {
    position: fixed;
    z-index: 9999;
    max-width: 400px;
}

.alert-container-top-right {
    top: 20px;
    right: 20px;
}

.alert-container-top-left {
    top: 20px;
    left: 20px;
}

.alert-container-bottom-right {
    bottom: 20px;
    right: 20px;
}

.alert-container-bottom-left {
    bottom: 20px;
    left: 20px;
}

.alert-container-top-center {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
}

.alert-container-bottom-center {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
}

/* Asegurar que las alertas sean responsive */
@media (max-width: 768px) {
    .alert-container {
        max-width: 95%;
    }
    
    .alert-container-top-right,
    .alert-container-top-left,
    .alert-container-bottom-right,
    .alert-container-bottom-left {
        left: 2.5%;
        right: 2.5%;
        width: 95%;
    }
    
 /* Estilos para la gráfica de mujeres activas */
#graficaMujeresActivasContainer .card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
}

#graficaMujeresActivasContainer .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
}

#graficaMujeresActivasContainer .chart-container {
    border-radius: 8px;
    background: white;
    padding: 20px;
    border: 1px solid #e9ecef;
}

/* Estadísticas */
#graficaMujeresActivasContainer .bg-light {
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

#graficaMujeresActivasContainer .bg-light h6 {
    font-size: 0.8rem;
    color: #6c757d;
}

#graficaMujeresActivasContainer .bg-light h4 {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    #graficaMujeresActivasContainer .chart-container {
        height: 400px !important;
    }
    
    #graficaMujeresActivasContainer .row.text-center .col-md-3 {
        margin-bottom: 10px;
    }
}
}