<div class="topbar">
    <span class="menu-btn" onclick="toggleAdminSidebar()">☰</span>
    <div style="font-weight:600;">Admin Panel</div>
    <div>
        <button class="btn" type="button" onclick="toggleAdminTheme()">🌓 Theme</button>
        <span style="margin-left:10px;font-size:13px;">
            Logged in as <strong><?= htmlspecialchars($_SESSION['username'] ?? 'Admin'); ?></strong>
        </span>
    </div>
</div>
