<?php
require_once __DIR__ . '/../../config/constants.php';
require_once __DIR__ . '/../../config/database.php';
require_once __DIR__ . '/../../includes/auth.php';
require_once __DIR__ . '/../../includes/rbac.php';
require_once __DIR__ . '/../../includes/functions.php';
require_once __DIR__ . '/../../includes/layout.php';
require_once __DIR__ . '/../../includes/sidebar_helper.php';
requireLogin(); requireRole(ROLE_ADMIN);
$GLOBALS['BASE_URL_CSS'] = BASE_URL . '/public/assets/css/main.css';
$user = currentUser(); $notifCount = getUnreadNotifCount($user['id']);
renderHead('التقارير');
?>
<div class="sidebar" id="sidebar"><?php buildSidebar('reports','admin'); ?></div>
<div class="sidebar-overlay" id="sidebarOverlay"></div>
<div class="main-wrap">
<?php renderTopbar('التقارير', $notifCount); ?>
<div class="page-content"><div class="panel"><div class="panel-body text-center py-5">
  <div style="font-size:56px;margin-bottom:16px">🚧</div>
  <h4 class="font-amiri text-navy mb-2">التقارير</h4>
  <p class="text-muted">هذه الصفحة قيد التطوير.</p>
  <a href="dashboard.php" class="btn btn-gold mt-3"><i class="bi bi-arrow-right"></i> رجوع</a>
</div></div></div></div>
<?php renderFoot(); ?>
