<header class="top-bar">
    <div style="display: flex; align-items: center; gap: 15px;">
        <div class="menu-toggle" onclick="toggleSidebar()" style="cursor: pointer; font-size: 1.2rem; color: #64748b;">
            <i class="fas fa-bars"></i>
        </div>
        <div class="breadcrumb" style="font-size: 0.9rem; color: #64748b;">
            Diyaliz Panel / <span style="color: #1e293b; font-weight: 600;">
                <?php 
                $baslik = $_GET['sayfa'] ?? 'Dashboard';
                echo ucwords(str_replace('-', ' ', $baslik)); 
                ?>
            </span>
        </div>
    </div>
    
    <div style="display: flex; align-items: center; gap: 20px;">
        <div style="position: relative; cursor: pointer;">
            <i class="fas fa-bell" style="color: #64748b; font-size: 1.1rem;"></i>
            <span style="position: absolute; top: -5px; right: -5px; background: #ef4444; color: white; font-size: 10px; padding: 2px 5px; border-radius: 50%;">4</span>
        </div>
        
        <div class="user-pill" style="display: flex; align-items: center; gap: 10px; background: #f1f5f9; padding: 5px 15px; border-radius: 50px;">
            <div style="width: 30px; height: 30px; background: #3b82f6; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: bold;">
                <?php echo strtoupper(substr($_SESSION['user_name'], 0, 1)); ?>
            </div>
            <span style="font-size: 0.85rem; font-weight: 600; color: #334155;">
                <?php echo $_SESSION['user_name']; ?>
            </span>
        </div>
    </div>
</header>