<?php // superadmin/topbar.php ?>
<div class="sa-topbar">
  <h1><?php
    $titles = [
      'index.php'          => 'Dashboard',
      'create-project.php' => 'Create New Project',
      'edit-project.php'   => 'Edit Project',
      'manage-invitees.php'=> 'Manage Invitees',
      'rsvp-report.php'    => 'RSVP Report',
      'projects.php'       => 'All Projects',
    ];
    echo $titles[basename($_SERVER['PHP_SELF'])] ?? 'Super Admin';
  ?></h1>
  <span class="badge">Super Admin · <?= htmlspecialchars($_SESSION['sa_username'] ?? '') ?></span>
</div>
