/* Estilos para secciones del dashboard */
.section {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section.active {
    display: block !important;
    opacity: 1;
}

/* Asegurar que el dashboard sea visible */
#dashboardSection {
    min-height: 500px;
}

#dashboardSection.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Stats cards */
.stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Indicadores de carga */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Debug styles */
.debug-info {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 9999;
    max-width: 300px;
}
