<!-- Sidebar -->
<aside id="sidebar" class="bg-admin text-gray-300 w-64 min-h-screen fixed lg:static inset-y-0 left-0 transform -translate-x-full lg:translate-x-0 transition-transform duration-300 ease-in-out z-40">
    <div class="p-6">
        <h1 class="text-2xl font-bold text-white hidden lg:block">Izhaan<span class="text-secondary">Printers</span></h1>
        <p class="text-[10px] text-gray-500 uppercase tracking-widest mt-1">Management Panel</p>
    </div>

    <nav class="mt-4 px-4 space-y-2">
        <a href="index.php" class="flex items-center gap-3 px-4 py-3 rounded-lg hover:bg-slate-800 transition group">
            <i class="fa-solid fa-gauge text-accent"></i>
            <span class="font-bangla">ড্যাশবোর্ড</span>
        </a>
        
        <a href="manage-categories.php" class="flex items-center gap-3 px-4 py-3 rounded-lg hover:bg-slate-800 transition">
            <i class="fa-solid fa-layer-group text-accent"></i>
            <span class="font-bangla">ক্যাটাগরি ম্যানেজ</span>
        </a>

        <a href="manage-products.php" class="flex items-center gap-3 px-4 py-3 rounded-lg hover:bg-slate-800 transition">
            <i class="fa-solid fa-boxes-stacked text-accent"></i>
            <span class="font-bangla">প্রোডাক্ট ম্যানেজ</span>
        </a>

        <a href="manage-orders.php" class="flex items-center gap-3 px-4 py-3 rounded-lg hover:bg-slate-800 transition">
            <i class="fa-solid fa-cart-shopping text-accent"></i>
            <span class="font-bangla">অর্ডার সমূহ</span>
        </a>
        
       <a href="manage-user.php" class="flex items-center gap-3 px-4 py-3 rounded-lg hover:bg-slate-800 transition">
    <i class="fa-solid fa-users text-accent"></i>
    <span class="font-bangla">ইউজার লিস্ট</span>
</a>
        </a>

        <a href="settings.php" class="flex items-center gap-3 px-4 py-3 rounded-lg hover:bg-slate-800 transition">
            <i class="fa-solid fa-gears text-accent"></i>
            <span class="font-bangla">সেটিংস</span>
        </a>

        <div class="pt-10">
            <a href="logout.php" class="flex items-center gap-3 px-4 py-3 rounded-lg bg-red-900/20 text-red-400 hover:bg-red-900 transition mt-auto">
                <i class="fa-solid fa-right-from-bracket"></i>
                <span class="font-bangla font-bold">লগআউট</span>
            </a>
        </div>
    </nav>
</aside>

<!-- Main Content Area -->
<main class="flex-1 min-w-0">
    <!-- Top Nav (Desktop) -->
    <div class="bg-white shadow-sm py-4 px-8 hidden lg:flex justify-between items-center border-b">
        <h2 class="text-gray-500 font-medium font-bangla">স্বাগতম, <?= htmlspecialchars($admin_name) ?></h2>
        <div class="flex items-center gap-4">
            <a href="../index.php" target="_blank" class="text-sm bg-blue-50 text-blue-600 px-4 py-2 rounded-full hover:bg-blue-100 transition">
                <i class="fa-solid fa-eye mr-1"></i> ওয়েবসাইট দেখুন
            </a>
        </div>
    </div>
    
    <!-- Page Content Container -->
    <div class="p-4 md:p-8">