  <!-- Footer -->
  <footer class="py-3 px-4 border-top bg-white mt-auto">
    <div class="d-flex flex-wrap justify-content-between align-items-center gap-2">
      <span class="text-muted" style="font-size:.8rem;">
        &copy; <?= date('Y') ?> <strong><?= APP_NAME ?></strong>
        &mdash; <?= e($pengaturan['nama_sekolah'] ?? APP_FULL_NAME) ?>
      </span>
      <span class="text-muted" style="font-size:.75rem;">v<?= APP_VERSION ?></span>
    </div>
  </footer>

  <!-- Bootstrap 5 JS Bundle -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
  <!-- App JS -->
  <script src="<?= BASE_URL ?>/assets/js/app.js"></script>
  <?php if (isset($extraJs)) echo $extraJs; ?>
</body>
</html>
