<nav style="background: #333; color: #fff; padding: 10px; display: flex; justify-content: space-between;">
    <strong>School Portal</strong>
    <div>
        <span>Role: <?php echo ucfirst($_SESSION['role']); ?></span> | 
        <a href="../auth/logout.php" style="color: #fff;">Logout</a>
    </div>
</nav>
<br>