<div class="sidebar bg-dark text-white" id="sidebar">
    <div class="sidebar-header p-3">
        <h3 class="text-center">Admin Panel</h3>
    </div>
    <ul class="nav flex-column">
        <li class="nav-item">
            <a href="dashboard.php" class="nav-link text-white <?php echo (basename($_SERVER['PHP_SELF']) == 'dashboard.php') ? 'active' : ''; ?>">
                <i class="fas fa-tachometer-alt me-2"></i>
                Dashboard
            </a>
        </li>
        <li class="nav-item">
            <a href="users.php" class="nav-link text-white <?php echo (basename($_SERVER['PHP_SELF']) == 'users.php') ? 'active' : ''; ?>">
                <i class="fas fa-users me-2"></i>
                Users
            </a>
        </li>
        <li class="nav-item">
            <a href="settings.php" class="nav-link text-white <?php echo (basename($_SERVER['PHP_SELF']) == 'settings.php') ? 'active' : ''; ?>">
                <i class="fas fa-cog me-2"></i>
                Settings
            </a>
        </li>
        <li class="nav-item mt-auto">
            <a href="logout.php" class="nav-link text-white">
                <i class="fas fa-sign-out-alt me-2"></i>
                Logout
            </a>
        </li>
    </ul>
</div> 