<?php
// school_admission/public/forbidden.php
if (session_status() === PHP_SESSION_NONE) {
    session_start();
}
require_once __DIR__ . '/../includes/header.php'; // Include header for consistent look
?>
<div class="container text-center">
    <h2 class="mt-20" style="color: #ffc107;">Access Denied!</h2>
    <p>You do not have permission to view this page.</p>
    <p>Please contact your administrator if you believe this is an error.</p>
    <p><a href="dashboard.php" class="btn btn-primary">Go to Dashboard</a></p>
</div>
<?php
require_once __DIR__ . '/../includes/footer.php'; // Include footer
?>