<?php $pageTitle = 'Server Error'; require __DIR__ . '/../layout/header.php'; ?>
<div class="text-center py-5">
  <div class="display-1 fw-bold text-danger">500</div>
  <h3 class="mt-3">Server Error</h3>
  <p class="text-muted">Something went wrong. Check server logs for details.</p>
  <a href="<?= BASE_URL ?>/" class="btn btn-primary">Back to Dashboard</a>
</div>
<?php require __DIR__ . '/../layout/footer.php'; ?>
