        </main>
    </div>

    <div class="overlay" aria-hidden="true"></div>
    <button type="button" class="back-to-top" aria-label="Voltar ao topo"><i class="bx bx-up-arrow-alt"></i></button>

    <footer class="page-footer">
        <div class="footer-premium">
            <span>© <?= date('Y') ?> <?= htmlspecialchars($panelName ?? 'THEFULL TV', ENT_QUOTES, 'UTF-8') ?></span>
            <span class="footer-dot">•</span>
            <span>Todos os direitos reservados</span>
            <span class="footer-dot">•</span>
            <a href="https://t.me/thefullmod" target="_blank" rel="noopener noreferrer"><i class="bx bxl-telegram"></i> Suporte THEFULL</a>
        </div>
    </footer>
</div>

<script src="<?= $BASE_URL ?>/assets/js/bootstrap.bundle.min.js"></script>
<script src="<?= $BASE_URL ?>/assets/plugins/metismenu/js/metisMenu.min.js"></script>
<script src="https://cdn.datatables.net/1.13.7/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.13.7/js/dataTables.bootstrap5.min.js"></script>
<script src="<?= $BASE_URL ?>/assets/js/panel-modern.js?v=<?= is_file(dirname(__DIR__) . '/assets/js/panel-modern.js') ? (int)@filemtime(dirname(__DIR__) . '/assets/js/panel-modern.js') : time() ?>"></script>
<?php $pageJsAsset = panel_page_asset('js', $currentPage, $BASE_URL); ?>
<?php if ($pageJsAsset !== null): ?>
<script src="<?= htmlspecialchars($pageJsAsset['url'], ENT_QUOTES, 'UTF-8') ?>?v=<?= (int)$pageJsAsset['version'] ?>"></script>
<?php endif; ?>
</body>
</html>
