File size: 34,946 Bytes
1890622
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ShopDash Pro - Dashboard</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .sidebar {
            transition: all 0.3s;
        }
        .sidebar-collapsed {
            width: 80px;
        }
        .sidebar-collapsed .sidebar-text {
            display: none;
        }
        .sidebar-collapsed .logo-text {
            display: none;
        }
        .sidebar-collapsed .menu-item {
            justify-content: center;
        }
        .content {
            transition: all 0.3s;
        }
        .sidebar-expanded .content {
            margin-left: 280px;
        }
        .sidebar-collapsed .content {
            margin-left: 80px;
        }
        .product-3d-viewer {
            width: 100%;
            height: 400px;
            background-color: #f3f4f6;
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        .product-360-viewer {
            width: 100%;
            height: 400px;
            background-color: #f3f4f6;
            border-radius: 0.5rem;
            position: relative;
            overflow: hidden;
        }
        .chart-container {
            position: relative;
            height: 300px;
            width: 100%;
        }
        .dropdown:hover .dropdown-menu {
            display: block;
        }
        .modal {
            transition: opacity 0.3s ease;
        }
        .modal-overlay {
            background-color: rgba(0, 0, 0, 0.5);
        }
        .animate-spin {
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        .tab-content {
            display: none;
        }
        .tab-content.active {
            display: block;
        }
        .drag-drop-area {
            border: 2px dashed #cbd5e0;
            border-radius: 0.5rem;
            padding: 2rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        .drag-drop-area:hover {
            border-color: #4f46e5;
            background-color: #f8fafc;
        }
        .image-preview {
            display: inline-block;
            position: relative;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
        }
        .image-preview img {
            height: 80px;
            width: 80px;
            object-fit: cover;
            border-radius: 0.25rem;
        }
        .image-preview .remove-image {
            position: absolute;
            top: -0.5rem;
            right: -0.5rem;
            background-color: #ef4444;
            color: white;
            border-radius: 50%;
            width: 1.25rem;
            height: 1.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            cursor: pointer;
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <!-- Sidebar -->
    <div class="sidebar fixed top-0 left-0 h-screen bg-indigo-800 text-white w-64 z-50" id="sidebar">
        <div class="p-4 flex items-center space-x-3">
            <div class="bg-white p-2 rounded-lg">
                <i class="fas fa-store text-indigo-800 text-xl"></i>
            </div>
            <span class="logo-text text-xl font-bold">ShopDash Pro</span>
        </div>
        <div class="mt-8">
            <div class="px-4 py-2 text-xs uppercase text-indigo-300 font-semibold">Menu Principal</div>
            <ul>
                <li>
                    <a href="#dashboard" class="menu-item flex items-center px-4 py-3 text-sm hover:bg-indigo-700 transition">
                        <i class="fas fa-tachometer-alt mr-3"></i>
                        <span class="sidebar-text">Tableau de bord</span>
                    </a>
                </li>
                <li>
                    <a href="#boutiques" class="menu-item flex items-center px-4 py-3 text-sm hover:bg-indigo-700 transition">
                        <i class="fas fa-store mr-3"></i>
                        <span class="sidebar-text">Boutiques</span>
                    </a>
                </li>
                <li>
                    <a href="#produits" class="menu-item flex items-center px-4 py-3 text-sm hover:bg-indigo-700 transition">
                        <i class="fas fa-box-open mr-3"></i>
                        <span class="sidebar-text">Produits</span>
                    </a>
                </li>
                <li>
                    <a href="#commandes" class="menu-item flex items-center px-4 py-3 text-sm hover:bg-indigo-700 transition">
                        <i class="fas fa-shopping-cart mr-3"></i>
                        <span class="sidebar-text">Commandes</span>
                    </a>
                </li>
                <li>
                    <a href="#analyses" class="menu-item flex items-center px-4 py-3 text-sm hover:bg-indigo-700 transition">
                        <i class="fas fa-chart-line mr-3"></i>
                        <span class="sidebar-text">Analyses</span>
                    </a>
                </li>
                <li>
                    <a href="#inventaire" class="menu-item flex items-center px-4 py-3 text-sm hover:bg-indigo-700 transition">
                        <i class="fas fa-warehouse mr-3"></i>
                        <span class="sidebar-text">Inventaire</span>
                    </a>
                </li>
                <li>
                    <a href="#dropshipping" class="menu-item flex items-center px-4 py-3 text-sm hover:bg-indigo-700 transition">
                        <i class="fas fa-truck mr-3"></i>
                        <span class="sidebar-text">Dropshipping</span>
                    </a>
                </li>
                <li>
                    <a href="#utilisateurs" class="menu-item flex items-center px-4 py-3 text-sm hover:bg-indigo-700 transition">
                        <i class="fas fa-users mr-3"></i>
                        <span class="sidebar-text">Utilisateurs</span>
                    </a>
                </li>
                <li>
                    <a href="#parametres" class="menu-item flex items-center px-4 py-3 text-sm hover:bg-indigo-700 transition">
                        <i class="fas fa-cog mr-3"></i>
                        <span class="sidebar-text">Paramètres</span>
                    </a>
                </li>
                <li>
                    <a href="#integrations" class="menu-item flex items-center px-4 py-3 text-sm hover:bg-indigo-700 transition">
                        <i class="fas fa-plug mr-3"></i>
                        <span class="sidebar-text">Intégrations API</span>
                    </a>
                </li>
            </ul>
        </div>
        <div class="absolute bottom-0 left-0 right-0 p-4 border-t border-indigo-700">
            <div class="flex items-center space-x-3">
                <div class="w-10 h-10 rounded-full bg-indigo-600 flex items-center justify-center">
                    <i class="fas fa-user"></i>
                </div>
                <div>
                    <div class="text-sm font-medium">Admin User</div>
                    <div class="text-xs text-indigo-300">Super Admin</div>
                </div>
            </div>
        </div>
    </div>

    <!-- Main Content -->
    <div class="content ml-64 p-6" id="main-content">
        <!-- Top Navigation -->
        <div class="flex justify-between items-center mb-6">
            <div class="flex items-center space-x-4">
                <button id="sidebar-toggle" class="text-gray-500 hover:text-gray-700">
                    <i class="fas fa-bars"></i>
                </button>
                <h1 class="text-2xl font-bold text-gray-800" id="page-title">Tableau de bord</h1>
            </div>
            <div class="flex items-center space-x-4">
                <div class="relative">
                    <button class="p-2 rounded-full hover:bg-gray-200">
                        <i class="fas fa-bell text-gray-600"></i>
                        <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
                    </button>
                </div>
                <div class="relative">
                    <button class="p-2 rounded-full hover:bg-gray-200">
                        <i class="fas fa-envelope text-gray-600"></i>
                        <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
                    </button>
                </div>
                <div class="dropdown relative">
                    <button class="flex items-center space-x-2">
                        <div class="w-8 h-8 rounded-full bg-indigo-600 flex items-center justify-center text-white">
                            <i class="fas fa-user"></i>
                        </div>
                        <span class="hidden md:inline">Admin</span>
                        <i class="fas fa-chevron-down text-xs"></i>
                    </button>
                    <div class="dropdown-menu absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50 hidden">
                        <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Profil</a>
                        <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Paramètres</a>
                        <div class="border-t border-gray-200"></div>
                        <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Déconnexion</a>
                    </div>
                </div>
            </div>
        </div>

        <!-- Page Content -->
        <div id="page-content">
            <!-- Dashboard Page -->
            <div id="dashboard-page" class="page">
                <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 p-6">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-gray-500 text-sm">Ventes totales</p>
                                <h3 class="text-2xl font-bold mt-1">€24,780</h3>
                                <p class="text-green-500 text-sm mt-1 flex items-center">
                                    <i class="fas fa-arrow-up mr-1"></i> 12% vs mois dernier
                                </p>
                            </div>
                            <div class="bg-indigo-100 p-3 rounded-full">
                                <i class="fas fa-euro-sign text-indigo-600 text-xl"></i>
                            </div>
                        </div>
                    </div>
                    <div class="bg-white rounded-lg shadow p-6">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-gray-500 text-sm">Commandes</p>
                                <h3 class="text-2xl font-bold mt-1">1,245</h3>
                                <p class="text-green-500 text-sm mt-1 flex items-center">
                                    <i class="fas fa-arrow-up mr-1"></i> 8% vs mois dernier
                                </p>
                            </div>
                            <div class="bg-green-100 p-3 rounded-full">
                                <i class="fas fa-shopping-cart text-green-600 text-xl"></i>
                            </div>
                        </div>
                    </div>
                    <div class="bg-white rounded-lg shadow p-6">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-gray-500 text-sm">Clients</p>
                                <h3 class="text-2xl font-bold mt-1">8,542</h3>
                                <p class="text-green-500 text-sm mt-1 flex items-center">
                                    <i class="fas fa-arrow-up mr-1"></i> 5% vs mois dernier
                                </p>
                            </div>
                            <div class="bg-blue-100 p-3 rounded-full">
                                <i class="fas fa-users text-blue-600 text-xl"></i>
                            </div>
                        </div>
                    </div>
                    <div class="bg-white rounded-lg shadow p-6">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-gray-500 text-sm">Boutiques</p>
                                <h3 class="text-2xl font-bold mt-1">42</h3>
                                <p class="text-green-500 text-sm mt-1 flex items-center">
                                    <i class="fas fa-arrow-up mr-1"></i> 3% vs mois dernier
                                </p>
                            </div>
                            <div class="bg-purple-100 p-3 rounded-full">
                                <i class="fas fa-store text-purple-600 text-xl"></i>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
                    <div class="bg-white rounded-lg shadow p-6 lg:col-span-2">
                        <div class="flex justify-between items-center mb-4">
                            <h3 class="text-lg font-semibold">Ventes des 30 derniers jours</h3>
                            <div class="flex space-x-2">
                                <button class="px-3 py-1 text-xs bg-indigo-100 text-indigo-700 rounded">30j</button>
                                <button class="px-3 py-1 text-xs bg-gray-100 text-gray-700 rounded">90j</button>
                                <button class="px-3 py-1 text-xs bg-gray-100 text-gray-700 rounded">12m</button>
                            </div>
                        </div>
                        <div class="chart-container">
                            <canvas id="salesChart"></canvas>
                        </div>
                    </div>
                    <div class="bg-white rounded-lg shadow p-6">
                        <div class="flex justify-between items-center mb-4">
                            <h3 class="text-lg font-semibold">Top catégories</h3>
                            <button class="text-indigo-600 text-sm">Voir tout</button>
                        </div>
                        <div class="space-y-4">
                            <div>
                                <div class="flex justify-between mb-1">
                                    <span class="text-sm font-medium">Électronique</span>
                                    <span class="text-sm font-medium">32%</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full h-2">
                                    <div class="bg-indigo-600 h-2 rounded-full" style="width: 32%"></div>
                                </div>
                            </div>
                            <div>
                                <div class="flex justify-between mb-1">
                                    <span class="text-sm font-medium">Mode</span>
                                    <span class="text-sm font-medium">24%</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full h-2">
                                    <div class="bg-green-500 h-2 rounded-full" style="width: 24%"></div>
                                </div>
                            </div>
                            <div>
                                <div class="flex justify-between mb-1">
                                    <span class="text-sm font-medium">Maison</span>
                                    <span class="text-sm font-medium">18%</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full h-2">
                                    <div class="bg-yellow-500 h-2 rounded-full" style="width: 18%"></div>
                                </div>
                            </div>
                            <div>
                                <div class="flex justify-between mb-1">
                                    <span class="text-sm font-medium">Beauté</span>
                                    <span class="text-sm font-medium">12%</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full h-2">
                                    <div class="bg-purple-500 h-2 rounded-full" style="width: 12%"></div>
                                </div>
                            </div>
                            <div>
                                <div class="flex justify-between mb-1">
                                    <span class="text-sm font-medium">Sports</span>
                                    <span class="text-sm font-medium">8%</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full h-2">
                                    <div class="bg-red-500 h-2 rounded-full" style="width: 8%"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
                    <div class="bg-white rounded-lg shadow p-6">
                        <div class="flex justify-between items-center mb-4">
                            <h3 class="text-lg font-semibold">Activité récente</h3>
                            <button class="text-indigo-600 text-sm">Voir tout</button>
                        </div>
                        <div class="space-y-4">
                            <div class="flex items-start">
                                <div class="bg-indigo-100 p-2 rounded-full mr-3">
                                    <i class="fas fa-shopping-cart text-indigo-600"></i>
                                </div>
                                <div>
                                    <p class="text-sm font-medium">Nouvelle commande #ORD-7890</p>
                                    <p class="text-xs text-gray-500">Il y a 5 minutes</p>
                                </div>
                                <div class="ml-auto">
                                    <span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Payé</span>
                                </div>
                            </div>
                            <div class="flex items-start">
                                <div class="bg-green-100 p-2 rounded-full mr-3">
                                    <i class="fas fa-user-plus text-green-600"></i>
                                </div>
                                <div>
                                    <p class="text-sm font-medium">Nouveau client enregistré</p>
                                    <p class="text-xs text-gray-500">Il y a 15 minutes</p>
                                </div>
                            </div>
                            <div class="flex items-start">
                                <div class="bg-purple-100 p-2 rounded-full mr-3">
                                    <i class="fas fa-store text-purple-600"></i>
                                </div>
                                <div>
                                    <p class="text-sm font-medium">Nouvelle boutique "TechGadgets"</p>
                                    <p class="text-xs text-gray-500">Il y a 1 heure</p>
                                </div>
                                <div class="ml-auto">
                                    <span class="px-2 py-1 bg-yellow-100 text-yellow-800 text-xs rounded-full">En attente</span>
                                </div>
                            </div>
                            <div class="flex items-start">
                                <div class="bg-blue-100 p-2 rounded-full mr-3">
                                    <i class="fas fa-box-open text-blue-600"></i>
                                </div>
                                <div>
                                    <p class="text-sm font-medium">Produit "SmartWatch X" mis à jour</p>
                                    <p class="text-xs text-gray-500">Il y a 2 heures</p>
                                </div>
                            </div>
                            <div class="flex items-start">
                                <div class="bg-red-100 p-2 rounded-full mr-3">
                                    <i class="fas fa-exclamation-triangle text-red-600"></i>
                                </div>
                                <div>
                                    <p class="text-sm font-medium">Stock faible pour "Écouteurs Bluetooth"</p>
                                    <p class="text-xs text-gray-500">Il y a 3 heures</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="bg-white rounded-lg shadow p-6">
                        <div class="flex justify-between items-center mb-4">
                            <h3 class="text-lg font-semibold">Commandes récentes</h3>
                            <button class="text-indigo-600 text-sm">Voir tout</button>
                        </div>
                        <div class="overflow-x-auto">
                            <table class="min-w-full divide-y divide-gray-200">
                                <thead class="bg-gray-50">
                                    <tr>
                                        <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">N° Commande</th>
                                        <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Client</th>
                                        <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Montant</th>
                                        <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Statut</th>
                                    </tr>
                                </thead>
                                <tbody class="bg-white divide-y divide-gray-200">
                                    <tr>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">#ORD-7890</td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Jean Dupont</td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">€249.99</td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Livré</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">#ORD-7889</td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Marie Lambert</td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">€129.99</td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="px-2 py-1 bg-blue-100 text-blue-800 text-xs rounded-full">Expédié</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">#ORD-7885</td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Pierre Martin</td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">€89.99</td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="px-2 py-1 bg-yellow-100 text-yellow-800 text-xs rounded-full">En traitement</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">#ORD-7882</td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sophie Bernard</td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">€199.99</td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="px-2 py-1 bg-purple-100 text-purple-800 text-xs rounded-full">Payé</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">#ORD-7878</td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Thomas Leroy</td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">€349.99</td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="px-2 py-1 bg-red-100 text-red-800 text-xs rounded-full">Annulé</span>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Boutiques Page -->
            <div id="boutiques-page" class="page hidden">
                <div class="flex justify-between items-center mb-6">
                    <h2 class="text-2xl font-bold">Gestion des boutiques</h2>
                    <button onclick="openModal('add-store-modal')" class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 flex items-center">
                        <i class="fas fa-plus mr-2"></i> Ajouter une boutique
                    </button>
                </div>

                <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 p-6">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-gray-500 text-sm">Boutiques totales</p>
                                <h3 class="text-2xl font-bold mt-1">42</h3>
                            </div>
                            <div class="bg-indigo-100 p-3 rounded-full">
                                <i class="fas fa-store text-indigo-600 text-xl"></i>
                            </div>
                        </div>
                    </div>
                    <div class="bg-white rounded-lg shadow p-6">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-gray-500 text-sm">Boutiques actives</p>
                                <h3 class="text-2xl font-bold mt-1">36</h3>
                                <p class="text-green-500 text-sm mt-1">86%</p>
                            </div>
                            <div class="bg-green-100 p-3 rounded-full">
                                <i class="fas fa-check-circle text-green-600 text-xl"></i>
                            </div>
                        </div>
                    </div>
                    <div class="bg-white rounded-lg shadow p-6">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-gray-500 text-sm">Demandes en attente</p>
                                <h3 class="text-2xl font-bold mt-1">5</h3>
                                <p class="text-yellow-500 text-sm mt-1">12%</p>
                            </div>
                            <div class="bg-yellow-100 p-3 rounded-full">
                                <i class="fas fa-clock text-yellow-600 text-xl"></i>
                            </div>
                        </div>
                    </div>
                    <div class="bg-white rounded-lg shadow p-6">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-gray-500 text-sm">Total vendeurs</p>
                                <h3 class="text-2xl font-bold mt-1">58</h3>
                            </div>
                            <div class="bg-purple-100 p-3 rounded-full">
                                <i class="fas fa-users text-purple-600 text-xl"></i>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="bg-white rounded-lg shadow mb-6">
                    <div class="p-4 border-b border-gray-200">
                        <div class="flex flex-col md:flex-row md:items-center md:justify-between">
                            <h3 class="text-lg font-semibold">Liste des boutiques</h3>
                            <div class="mt-2 md:mt-0 flex flex-col sm:flex-row space-y-2 sm:space-y-0 sm:space-x-2">
                                <input type="text" placeholder="Rechercher..." class="px-3 py-2 border border-gray-300 rounded-lg text-sm">
                                <select class="px-3 py-2 border border-gray-300 rounded-lg text-sm">
                                    <option>Toutes les boutiques</option>
                                    <option>Actives</option>
                                    <option>En attente</option>
                                    <option>Suspendues</option>
                                </select>
                                <button class="px-3 py-2 bg-gray-100 text-gray-700 rounded-lg text-sm hover:bg-gray-200">
                                    <i class="fas fa-filter mr-1"></i> Filtrer
                                </button>
                            </div>
                        </div>
                    </div>
                    <div class="overflow-x-auto">
                        <table class="min-w-full divide-y divide-gray-200">
                            <thead class="bg-gray-50">
                                <tr>
                                    <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Boutique</th>
                                    <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Propriétaire</th>
                                    <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Produits</th>
                                    <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Ventes</th>
                                    <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Statut</th>
                                    <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
                                </tr>
                            </thead>
                            <tbody class="bg-white divide-y divide-gray-200">
                                <tr>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="flex items-center">
                                            <div class="flex-shrink-0 h-10 w-10">
                                                <img class="h-10 w-10 rounded-full" src="https://via.placeholder.com/40" alt="">
                                            </div>
                                            <div class="ml-4">
                                                <div class="text-sm font-medium text-gray-900">TechGadgets</div>
                                                <div class="text-sm text-gray-500">techgadgets.shopdash.com</div>
                                            </div>
                                        </div>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="text-sm text-gray-900">Marc Dubois</div>
                                        <div class="text-sm text-gray-500">[email protected]</div>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">124</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">€12,450</td>
                                    <td class="px-6 py-4 whitespace-
<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=Cyrano2/dashboard" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>