<?php
require_once __DIR__ . '/../includes/init.php';
?>
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Unauthorized — <?= APP_NAME ?></title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="../assets/css/style.css">
</head><body class="auth-page">
<div class="auth-box text-center" style="max-width:380px;">
    <i class="bi bi-shield-exclamation" style="font-size:3rem;color:#c62828;"></i>
    <h4 class="mt-2 fw-bold">Access Denied</h4>
    <p class="text-muted">You don't have permission to view this page.</p>
    <a href="<?= BASE_URL ?>/modules/dashboard/index.php" class="btn btn-erp">
        <i class="bi bi-arrow-left me-2"></i>Go to Dashboard
    </a>
</div>
</body></html>
