<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Access Denied</title>
<style>
body { font-family: Arial, sans-serif; display: flex; align-items: center; justify-content: center; min-height: 100vh; margin: 0; background: #f1f5f9; }
.box { background: #fff; border-radius: 8px; padding: 40px 48px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.1); max-width: 420px; }
.icon { font-size: 48px; margin-bottom: 16px; }
h2 { margin: 0 0 8px; color: #1e3a5f; }
p { color: #555; margin: 0 0 24px; }
a { display: inline-block; padding: 9px 22px; background: #2563eb; color: #fff; border-radius: 5px; text-decoration: none; font-size: 14px; }
a:hover { background: #1d4ed8; }
</style>
</head>
<body>
<div class="box">
    <div class="icon">🔒</div>
    <h2>Access Denied</h2>
    <p>You do not have permission to access this page.<br>Please contact your administrator.</p>
    <a href="<?= defined('BASE_URL') ? BASE_URL : '/abc' ?>/dashboard.php">Go to Dashboard</a>
</div>
</body>
</html>
