<!-- ==========================================================================
   Shared Dashboard Footer — included by all dashboard pages
   ========================================================================== -->
                <!-- footer @s -->
                <div class="nk-footer nk-footer-fluid">
                    <div class="container-fluid">
                        <div class="nk-footer-wrap">
                            <div class="nk-footer-copyright">
                                &copy; <?= date('Y') ?> <?= htmlspecialchars(getSetting('site_name', 'Deutsche Bank Holdings Delaware')) ?> &mdash; All rights reserved.
                            </div>
                            <div class="nk-footer-links">
                                <ul class="nav nav-sm">
                                    <li class="nav-item"><a class="nav-link" href="../terms.html">Terms</a></li>
                                    <li class="nav-item"><a class="nav-link" href="../privacy-policy.html">Privacy</a></li>
                                    <li class="nav-item"><a class="nav-link" href="contact">Help</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- footer @e -->
            </div>
            <!-- wrap @e -->
        </div>
        <!-- main @e -->
    </div>
    <!-- app-root @e -->

    <!-- JavaScript -->
    <script src="assets/js/jquery.min.js"></script>
    <script src="../js/country.js"></script>
    <script src="assets/js/bundle.js?ver=2.4.0"></script>
    <script src="assets/js/scripts.js?ver=2.4.0"></script>
    <script src="assets/js/charts/chart-crypto.js?ver=2.4.0"></script>
    <script src="../js/sweetalert.js"></script>
    <script src="assets/js/custom.js"></script>
    <script src="../js/toastr.js"></script>

    <!-- Mobile sidebar: close on link click -->
    <script>
    document.addEventListener('DOMContentLoaded', function () {
        var sidebar = document.querySelector('.nk-sidebar');
        var overlay = document.querySelector('.nk-sidebar-overlay');
        document.querySelectorAll('.nk-menu-link').forEach(function (link) {
            link.addEventListener('click', function () {
                if (window.innerWidth < 1200) {
                    setTimeout(function () {
                        if (sidebar) sidebar.classList.remove('nk-sidebar-active');
                        if (overlay) overlay.classList.remove('nk-sidebar-overlay-show');
                        document.body.style.overflow = '';
                    }, 150);
                }
            });
        });
    });
    </script>
</body>
</html>
