</div>
    </div>
</div>

<!-- Scripts JS de Bootstrap y personalizados -->
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>

<script>
    // Mobile Sidebar Toggle
    document.addEventListener('DOMContentLoaded', function() {
        const toggleBtn = document.getElementById('sidebarToggle');
        const sidebar = document.querySelector('.sidebar');
        
        if (toggleBtn && sidebar) {
            toggleBtn.addEventListener('click', function() {
                if (sidebar.style.display === 'flex') {
                    sidebar.style.display = ''; // Reset to CSS rule (none on mobile)
                    sidebar.classList.remove('show');
                } else {
                    sidebar.style.display = 'flex';
                    sidebar.classList.add('show');
                }
            });
        }
    });
</script>

</body>
</html>