File size: 29,271 Bytes
a8d1979
d9ea7a6
a8d1979
 
 
b0b6d49
a8d1979
 
 
b0b6d49
 
a8d1979
d9ea7a6
b0b6d49
a8d1979
 
b0b6d49
 
d9ea7a6
 
b0b6d49
 
 
d9ea7a6
 
b0b6d49
 
 
 
d9ea7a6
 
b0b6d49
 
 
 
 
 
d9ea7a6
 
b0b6d49
 
 
 
a8d1979
b0b6d49
d9ea7a6
a8d1979
 
 
b0b6d49
 
 
 
 
 
 
 
a8d1979
b0b6d49
 
 
 
 
d9ea7a6
 
b0b6d49
 
 
 
d9ea7a6
b0b6d49
 
 
 
d9ea7a6
b0b6d49
 
 
 
a8d1979
 
b0b6d49
 
d9ea7a6
b0b6d49
 
 
 
d9ea7a6
b0b6d49
 
 
 
 
 
 
 
d9ea7a6
 
a8d1979
b0b6d49
 
 
 
 
 
 
 
a8d1979
 
b0b6d49
 
 
 
 
 
d9ea7a6
b0b6d49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d9ea7a6
a8d1979
 
b0b6d49
a8d1979
b0b6d49
 
 
 
 
 
 
 
a8d1979
b0b6d49
 
a8d1979
 
b0b6d49
 
 
 
 
 
 
 
 
 
 
a8d1979
 
b0b6d49
 
 
 
 
 
 
 
 
 
 
a8d1979
 
 
 
b0b6d49
 
 
 
 
 
a8d1979
b0b6d49
 
a8d1979
 
b0b6d49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d9ea7a6
b0b6d49
 
 
 
 
 
 
 
 
 
 
 
 
 
d9ea7a6
b0b6d49
 
d9ea7a6
b0b6d49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d9ea7a6
b0b6d49
 
 
 
 
 
 
 
 
 
 
 
 
 
d9ea7a6
b0b6d49
 
d9ea7a6
b0b6d49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d9ea7a6
b0b6d49
 
 
 
 
 
 
 
 
 
 
 
 
 
d9ea7a6
b0b6d49
 
 
 
 
 
a8d1979
 
b0b6d49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a8d1979
b0b6d49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d9ea7a6
b0b6d49
a8d1979
b0b6d49
 
 
 
d9ea7a6
b0b6d49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d9ea7a6
b0b6d49
 
a8d1979
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>إدارة المنتجات - Conversena</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap');
        
        body {
            font-family: 'Tajawal', sans-serif;
            background-color: #f8fafc;
        }
        
        .rtl-grid {
            direction: rtl;
        }
        
        .product-card:hover .product-actions {
            opacity: 1;
            transform: translateY(0);
        }
        
        .status-badge {
            font-size: 0.75rem;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
        }
        
        .stock-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            display: inline-block;
            margin-left: 5px;
        }
        
        /* Custom scrollbar for RTL */
        .rtl-scroll {
            direction: ltr;
            overflow-y: auto;
        }
        .rtl-scroll-content {
            direction: rtl;
        }
    </style>
</head>
<body class="bg-gray-50">
    <div class="flex flex-col min-h-screen">
        <!-- Header -->
        <header class="bg-white shadow-sm py-4 px-6">
            <div class="flex items-center justify-between">
                <div>
                    <h1 class="text-2xl font-bold text-gray-800">إدارة المنتجات</h1>
                    <p class="text-sm text-gray-500">إجمالي المنتجات: ١٢٤</p>
                </div>
                
                <div class="flex items-center space-x-3 space-x-reverse">
                    <div class="relative">
                        <input type="text" placeholder="البحث عن منتج..." class="pr-10 pl-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 w-80">
                        <i class="fas fa-search absolute right-3 top-3 text-gray-400"></i>
                    </div>
                    
                    <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-lg flex items-center">
                        <i class="fas fa-plus ml-2"></i>
                        إضافة منتج جديد
                    </button>
                    
                    <button class="bg-gray-100 hover:bg-gray-200 text-gray-700 px-4 py-2 rounded-lg flex items-center">
                        <i class="fas fa-file-import ml-2"></i>
                        استيراد منتجات
                    </button>
                    
                    <button class="border border-gray-300 hover:bg-gray-50 text-gray-700 px-4 py-2 rounded-lg flex items-center">
                        <i class="fas fa-file-export ml-2"></i>
                        تصدير
                    </button>
                </div>
            </div>
        </header>

        <!-- Main Content -->
        <main class="flex-1 p-6">
            <!-- Filter Bar -->
            <div class="bg-white rounded-lg shadow-sm p-4 mb-6">
                <div class="flex flex-wrap items-center justify-between gap-4">
                    <div class="flex items-center space-x-4 space-x-reverse">
                        <div>
                            <label class="block text-sm font-medium text-gray-700 mb-1">جميع الفئات</label>
                            <select class="border border-gray-300 rounded-lg px-3 py-2 w-40">
                                <option>جميع الفئات</option>
                                <option>أجهزة إلكترونية</option>
                                <option>ملابس</option>
                                <option>أثاث</option>
                                <option>أطعمة</option>
                            </select>
                        </div>
                        
                        <div>
                            <label class="block text-sm font-medium text-gray-700 mb-1">حالة المخزون</label>
                            <select class="border border-gray-300 rounded-lg px-3 py-2 w-40">
                                <option>الكل</option>
                                <option>متوفر</option>
                                <option>منخفض</option>
                                <option>نفد المخزون</option>
                            </select>
                        </div>
                        
                        <div>
                            <label class="block text-sm font-medium text-gray-700 mb-1">نطاق السعر</label>
                            <div class="flex items-center space-x-2 space-x-reverse">
                                <input type="number" placeholder="الحد الأدنى" class="border border-gray-300 rounded-lg px-3 py-2 w-24">
                                <span>إلى</span>
                                <input type="number" placeholder="الحد الأقصى" class="border border-gray-300 rounded-lg px-3 py-2 w-24">
                            </div>
                        </div>
                    </div>
                    
                    <div class="flex items-center space-x-4 space-x-reverse">
                        <div>
                            <label class="block text-sm font-medium text-gray-700 mb-1">ترتيب حسب</label>
                            <select class="border border-gray-300 rounded-lg px-3 py-2 w-40">
                                <option>الأحدث</option>
                                <option>الأقدم</option>
                                <option>السعر (الأقل أولاً)</option>
                                <option>السعر (الأعلى أولاً)</option>
                                <option>الأكثر مبيعاً</option>
                            </select>
                        </div>
                        
                        <div class="flex items-center space-x-2 space-x-reverse pt-6">
                            <span class="text-sm text-gray-500">تصفية سريعة:</span>
                            <span class="bg-blue-100 text-blue-800 px-3 py-1 rounded-full text-sm">منتجات نشطة</span>
                            <span class="bg-yellow-100 text-yellow-800 px-3 py-1 rounded-full text-sm">تحذيرات مخزون</span>
                            <a href="#" class="text-sm text-blue-600 hover:underline">مسح الكل</a>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Stats Cards -->
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
                <div class="bg-white rounded-lg shadow-sm p-6 border-r-4 border-blue-500">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-gray-500 text-sm">إجمالي المنتجات</p>
                            <h3 class="text-2xl font-bold mt-1">١٢٤</h3>
                            <p class="text-green-500 text-sm mt-1">+٨ هذا الشهر</p>
                        </div>
                        <div class="bg-blue-100 p-3 rounded-full text-blue-600">
                            <i class="fas fa-box text-xl"></i>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white rounded-lg shadow-sm p-6 border-r-4 border-green-500">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-gray-500 text-sm">المنتجات النشطة</p>
                            <h3 class="text-2xl font-bold mt-1">١١٧</h3>
                            <p class="text-gray-500 text-sm mt-1">٩٤.٤٪ من الإجمالي</p>
                        </div>
                        <div class="bg-green-100 p-3 rounded-full text-green-600">
                            <i class="fas fa-check-circle text-xl"></i>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white rounded-lg shadow-sm p-6 border-r-4 border-yellow-500">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-gray-500 text-sm">تحذيرات المخزون</p>
                            <h3 class="text-2xl font-bold mt-1">١٢</h3>
                            <p class="text-yellow-500 text-sm mt-1">تحتاج إعادة تموين</p>
                        </div>
                        <div class="bg-yellow-100 p-3 rounded-full text-yellow-600">
                            <i class="fas fa-exclamation-triangle text-xl"></i>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white rounded-lg shadow-sm p-6 border-r-4 border-red-500">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-gray-500 text-sm">نفد المخزون</p>
                            <h3 class="text-2xl font-bold mt-1">٧</h3>
                            <p class="text-gray-500 text-sm mt-1">٥.٦٪ من الإجمالي</p>
                        </div>
                        <div class="bg-red-100 p-3 rounded-full text-red-600">
                            <i class="fas fa-times-circle text-xl"></i>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Low Stock Alert -->
            <div class="bg-yellow-50 border-l-4 border-yellow-400 p-4 mb-6 rounded-lg flex items-center justify-between">
                <div class="flex items-center">
                    <i class="fas fa-exclamation-triangle text-yellow-500 text-xl ml-3"></i>
                    <div>
                        <h4 class="font-medium text-yellow-800">لديك ١٢ منتجاً بمخزون منخفض</h4>
                        <p class="text-sm text-yellow-700">بعض المنتجات على وشك النفاد من المخزون</p>
                    </div>
                </div>
                <div class="flex items-center space-x-3 space-x-reverse">
                    <a href="#" class="text-yellow-700 hover:underline font-medium">عرض المنتجات</a>
                    <button class="text-yellow-500 hover:text-yellow-700">
                        <i class="fas fa-times"></i>
                    </button>
                </div>
            </div>
            
            <!-- View Toggle -->
            <div class="flex justify-between items-center mb-4">
                <div class="flex items-center space-x-2 space-x-reverse">
                    <button class="bg-blue-100 text-blue-600 px-3 py-1 rounded-lg">
                        <i class="fas fa-table mr-1"></i>
                        جدول
                    </button>
                    <button class="bg-white border border-gray-300 text-gray-600 px-3 py-1 rounded-lg hover:bg-gray-50">
                        <i class="fas fa-th-large mr-1"></i>
                        شبكة
                    </button>
                    <button class="bg-white border border-gray-300 text-gray-600 px-3 py-1 rounded-lg hover:bg-gray-50">
                        <i class="fas fa-list mr-1"></i>
                        قائمة
                    </button>
                </div>
                
                <div class="text-sm text-gray-500">
                    عرض ١-١٠ من ١٢٤ منتج
                </div>
            </div>
            
            <!-- Products Table -->
            <div class="bg-white rounded-lg shadow-sm overflow-hidden mb-6">
                <div class="overflow-x-auto rtl-scroll">
                    <div class="rtl-scroll-content">
                        <table class="min-w-full divide-y divide-gray-200">
                            <thead class="bg-gray-50">
                                <tr>
                                    <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        <input type="checkbox" class="h-4 w-4 text-blue-600 border-gray-300 rounded">
                                    </th>
                                    <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        صورة المنتج
                                    </th>
                                    <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        اسم المنتج
                                    </th>
                                    <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        الفئة
                                    </th>
                                    <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        السعر
                                    </th>
                                    <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        المخزون
                                    </th>
                                    <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        الحالة
                                    </th>
                                    <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        آخر تحديث
                                    </th>
                                    <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        الإجراءات
                                    </th>
                                </tr>
                            </thead>
                            <tbody class="bg-white divide-y divide-gray-200">
                                <!-- Product Row 1 -->
                                <tr class="hover:bg-gray-50">
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <input type="checkbox" class="h-4 w-4 text-blue-600 border-gray-300 rounded">
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <img src="https://via.placeholder.com/80" alt="Product" class="h-10 w-10 rounded object-cover">
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="text-sm font-medium text-gray-900">هاتف سامسونج جالكسي S22</div>
                                        <div class="text-sm text-gray-500">SKU: SAM-S22-BLK</div>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <span class="bg-blue-100 text-blue-800 status-badge">أجهزة إلكترونية</span>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="text-sm text-gray-900">٣٬٤٩٩ ريال</div>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="flex items-center">
                                            <span class="text-sm text-gray-900">٤٥</span>
                                            <span class="stock-indicator bg-green-500"></span>
                                        </div>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
                                            نشط
                                        </span>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
                                        منذ ٣ أيام
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
                                        <div class="relative inline-block text-left">
                                            <button type="button" class="text-gray-400 hover:text-gray-600">
                                                <i class="fas fa-ellipsis-v"></i>
                                            </button>
                                        </div>
                                    </td>
                                </tr>
                                
                                <!-- Product Row 2 -->
                                <tr class="hover:bg-gray-50">
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <input type="checkbox" class="h-4 w-4 text-blue-600 border-gray-300 rounded">
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <img src="https://via.placeholder.com/80" alt="Product" class="h-10 w-10 rounded object-cover">
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="text-sm font-medium text-gray-900">حذاء رياضي نايكي</div>
                                        <div class="text-sm text-gray-500">SKU: NK-RN-2022</div>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <span class="bg-purple-100 text-purple-800 status-badge">ملابس</span>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="text-sm text-gray-900">٤٩٩ ريال</div>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="flex items-center">
                                            <span class="text-sm text-gray-900">٥</span>
                                            <span class="stock-indicator bg-yellow-500"></span>
                                        </div>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
                                            نشط
                                        </span>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
                                        منذ أسبوع
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
                                        <div class="relative inline-block text-left">
                                            <button type="button" class="text-gray-400 hover:text-gray-600">
                                                <i class="fas fa-ellipsis-v"></i>
                                            </button>
                                        </div>
                                    </td>
                                </tr>
                                
                                <!-- Product Row 3 -->
                                <tr class="hover:bg-gray-50">
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <input type="checkbox" class="h-4 w-4 text-blue-600 border-gray-300 rounded">
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <img src="https://via.placeholder.com/80" alt="Product" class="h-10 w-10 rounded object-cover">
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="text-sm font-medium text-gray-900">ساعة أبل الذكية</div>
                                        <div class="text-sm text-gray-500">SKU: APP-W-S7</div>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <span class="bg-blue-100 text-blue-800 status-badge">أجهزة إلكترونية</span>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="text-sm text-gray-900">٢٬١١٩٩ ريال</div>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="flex items-center">
                                            <span class="text-sm text-gray-900">٠</span>
                                            <span class="stock-indicator bg-red-500"></span>
                                        </div>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
                                            نشط
                                        </span>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
                                        منذ يومين
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
                                        <div class="relative inline-block text-left">
                                            <button type="button" class="text-gray-400 hover:text-gray-600">
                                                <i class="fas fa-ellipsis-v"></i>
                                            </button>
                                        </div>
                                    </td>
                                </tr>
                                
                                <!-- More product rows would go here -->
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            
            <!-- Pagination -->
            <div class="flex items-center justify-between">
                <div class="flex items-center space-x-2 space-x-reverse">
                    <button class="px-3 py-1 border border-gray-300 rounded-lg text-gray-600 hover:bg-gray-50">
                        السابق
                    </button>
                    <button class="px-3 py-1 bg-blue-600 text-white rounded-lg">1</button>
                    <button class="px-3 py-1 border border-gray-300 rounded-lg text-gray-600 hover:bg-gray-50">2</button>
                    <button class="px-3 py-1 border border-gray-300 rounded-lg text-gray-600 hover:bg-gray-50">3</button>
                    <span class="px-2">...</span>
                    <button class="px-3 py-1 border border-gray-300 rounded-lg text-gray-600 hover:bg-gray-50">10</button>
                    <button class="px-3 py-1 border border-gray-300 rounded-lg text-gray-600 hover:bg-gray-50">
                        التالي
                    </button>
                </div>
                
                <div class="text-sm text-gray-500">
                    عرض ١٠ منتجات في الصفحة
                </div>
            </div>
        </main>
    </div>

    <!-- Bulk Actions Panel (Hidden by default) -->
    <div class="fixed bottom-0 left-0 right-0 bg-white shadow-lg border-t border-gray-200 p-4 hidden" id="bulkActionsPanel">
        <div class="container mx-auto flex items-center justify-between">
            <div class="flex items-center space-x-4 space-x-reverse">
                <span class="font-medium">٥ منتجات محددة</span>
                
                <select class="border border-gray-300 rounded-lg px-3 py-2">
                    <option>تحديث الحالة</option>
                    <option>تعطيل المنتجات</option>
                    <option>تفعيل المنتجات</option>
                </select>
                
                <select class="border border-gray-300 rounded-lg px-3 py-2">
                    <option>تطبيق خصم</option>
                    <option>خصم 10%</option>
                    <option>خصم 20%</option>
                    <option>خصم 30%</option>
                </select>
                
                <select class="border border-gray-300 rounded-lg px-3 py-2">
                    <option>نقل إلى فئة</option>
                    <option>أجهزة إلكترونية</option>
                    <option>ملابس</option>
                    <option>أثاث</option>
                </select>
            </div>
            
            <div class="flex items-center space-x-3 space-x-reverse">
                <button class="bg-white border border-gray-300 text-gray-700 px-4 py-2 rounded-lg hover:bg-gray-50">
                    <i class="fas fa-file-export ml-2"></i>
                    تصدير المحددة
                </button>
                
                <button class="bg-red-50 border border-red-200 text-red-600 px-4 py-2 rounded-lg hover:bg-red-100">
                    <i class="fas fa-trash-alt ml-2"></i>
                    حذف المحددة
                </button>
                
                <button class="text-gray-400 hover:text-gray-600" onclick="hideBulkActions()">
                    <i class="fas fa-times"></i>
                </button>
            </div>
        </div>
    </div>

    <script>
        // Toggle bulk actions panel
        function showBulkActions() {
            document.getElementById('bulkActionsPanel').classList.remove('hidden');
        }
        
        function hideBulkActions() {
            document.getElementById('bulkActionsPanel').classList.add('hidden');
        }
        
        // Simulate checkbox selection to show bulk actions
        document.addEventListener('DOMContentLoaded', function() {
            const checkboxes = document.querySelectorAll('input[type="checkbox"]');
            
            checkboxes.forEach(checkbox => {
                checkbox.addEventListener('change', function() {
                    const checkedBoxes = document.querySelectorAll('input[type="checkbox"]:checked');
                    
                    if (checkedBoxes.length > 0) {
                        showBulkActions();
                    } else {
                        hideBulkActions();
                    }
                });
            });
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=alkobr/secondproject2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>