File size: 33,253 Bytes
bc7b0bd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
398c621
bc7b0bd
 
 
 
 
 
 
 
 
 
 
398c621
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bc7b0bd
 
 
 
398c621
bc7b0bd
 
 
 
 
 
 
 
 
 
 
 
 
398c621
bc7b0bd
 
 
 
 
 
 
 
398c621
bc7b0bd
 
 
 
 
 
 
 
 
398c621
 
bc7b0bd
398c621
bc7b0bd
 
 
 
 
 
 
398c621
bc7b0bd
 
 
 
 
398c621
bc7b0bd
 
 
 
 
398c621
bc7b0bd
 
 
 
 
398c621
bc7b0bd
 
 
 
 
398c621
bc7b0bd
 
 
 
 
398c621
bc7b0bd
 
 
 
 
 
 
 
 
 
398c621
bc7b0bd
 
 
 
 
398c621
bc7b0bd
 
 
 
 
398c621
bc7b0bd
 
 
 
 
 
 
 
 
 
 
 
398c621
bc7b0bd
 
 
398c621
bc7b0bd
 
398c621
bc7b0bd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
398c621
bc7b0bd
 
 
398c621
 
 
bc7b0bd
398c621
bc7b0bd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
398c621
bc7b0bd
 
 
398c621
 
 
bc7b0bd
398c621
bc7b0bd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
398c621
bc7b0bd
 
 
398c621
 
 
bc7b0bd
398c621
bc7b0bd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
398c621
bc7b0bd
 
 
 
 
398c621
bc7b0bd
 
 
 
 
398c621
bc7b0bd
 
 
 
 
398c621
bc7b0bd
 
 
 
 
 
 
 
 
 
 
 
 
398c621
bc7b0bd
 
 
 
 
 
 
 
 
 
 
398c621
bc7b0bd
 
 
 
 
 
 
 
 
 
 
398c621
bc7b0bd
 
 
 
 
 
 
 
 
 
 
398c621
bc7b0bd
 
 
 
398c621
 
 
 
 
 
 
 
 
 
 
 
 
bc7b0bd
 
 
 
398c621
bc7b0bd
398c621
bc7b0bd
 
 
398c621
bc7b0bd
 
 
398c621
bc7b0bd
 
 
398c621
bc7b0bd
 
 
398c621
bc7b0bd
 
 
 
 
 
398c621
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bc7b0bd
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
<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>DocuWrite - Plateforme de Rédaction de Rapports</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>
        .editor-container {
            min-height: 500px;
            border: 1px solid #e2e8f0;
            border-radius: 0.5rem;
            padding: 1rem;
            background-color: white;
        }
        .sidebar-item:hover {
            background-color: #f1f5f9;
        }
        .document-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }
        .dropdown-menu {
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
        }
        .dropdown.active .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .fade-in {
            animation: fadeIn 0.3s ease-in-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        .modal-content {
            background-color: white;
            padding: 2rem;
            border-radius: 0.5rem;
            width: 90%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
        }
        .mobile-menu {
            display: none;
        }
        @media (max-width: 768px) {
            .mobile-menu {
                display: flex;
            }
            .desktop-sidebar {
                display: none;
            }
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <!-- Header -->
    <header class="bg-white shadow-sm sticky top-0 z-50">
        <div class="container mx-auto px-4 py-3 flex justify-between items-center">
            <div class="flex items-center space-x-2">
                <i class="fas fa-file-alt text-blue-600 text-2xl"></i>
                <h1 class="text-xl font-bold text-gray-800">DocuWrite</h1>
            </div>
            
            <div class="relative">
                <div class="flex items-center space-x-4">
                    <div class="relative">
                        <input type="text" placeholder="Rechercher..." class="pl-10 pr-4 py-2 border rounded-full focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent">
                        <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
                    </div>
                    <div class="dropdown relative">
                        <button class="flex items-center space-x-2 focus:outline-none" id="user-menu-button">
                            <div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white font-semibold">JD</div>
                            <span class="hidden md:inline text-gray-700">John Doe</span>
                            <i class="fas fa-chevron-down text-gray-500 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">
                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100"><i class="fas fa-user mr-2"></i>Profil</a>
                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100"><i class="fas fa-cog mr-2"></i>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" id="logout-btn"><i class="fas fa-sign-out-alt mr-2"></i>Déconnexion</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </header>

    <!-- Main Content -->
    <div class="container mx-auto px-4 py-6 flex">
        <!-- Desktop Sidebar -->
        <aside class="w-64 pr-6 desktop-sidebar">
            <div class="bg-white rounded-lg shadow-sm p-4 mb-6">
                <button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-md flex items-center justify-center" id="new-document-btn">
                    <i class="fas fa-plus mr-2"></i> Nouveau document
                </button>
            </div>
            
            <nav class="bg-white rounded-lg shadow-sm p-4">
                <ul class="space-y-1">
                    <li>
                        <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-blue-600 bg-blue-50" data-page="dashboard">
                            <i class="fas fa-home mr-3 text-blue-600"></i>
                            Tableau de bord
                        </a>
                    </li>
                    <li>
                        <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="documents">
                            <i class="fas fa-file-alt mr-3 text-gray-500"></i>
                            Mes documents
                        </a>
                    </li>
                    <li>
                        <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="folders">
                            <i class="fas fa-folder mr-3 text-gray-500"></i>
                            Dossiers
                        </a>
                    </li>
                    <li>
                        <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="shared">
                            <i class="fas fa-users mr-3 text-gray-500"></i>
                            Partagés avec moi
                        </a>
                    </li>
                    <li>
                        <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="favorites">
                            <i class="fas fa-star mr-3 text-gray-500"></i>
                            Favoris
                        </a>
                    </li>
                    <li>
                        <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="trash">
                            <i class="fas fa-trash mr-3 text-gray-500"></i>
                            Corbeille
                        </a>
                    </li>
                </ul>
                
                <div class="mt-6 pt-4 border-t border-gray-200">
                    <h3 class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">ESPACE DE TRAVAIL</h3>
                    <ul class="space-y-1">
                        <li>
                            <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="research">
                                <i class="fas fa-book mr-3 text-gray-500"></i>
                                Recherches
                            </a>
                        </li>
                        <li>
                            <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="recommendations">
                                <i class="fas fa-lightbulb mr-3 text-gray-500"></i>
                                Recommandations
                            </a>
                        </li>
                        <li>
                            <a href="#" class="sidebar-item flex items-center px-3 py-2 rounded-md text-gray-700 hover:text-gray-900" data-page="notes">
                                <i class="fas fa-sticky-note mr-3 text-gray-500"></i>
                                Notes personnelles
                            </a>
                        </li>
                    </ul>
                </div>
            </nav>
        </aside>

        <!-- Main Area -->
        <main class="flex-1">
            <!-- Dashboard Header -->
            <div class="bg-white rounded-lg shadow-sm p-6 mb-6" id="dashboard-content">
                <div class="flex justify-between items-center mb-6">
                    <h2 class="text-2xl font-bold text-gray-800">Tableau de bord</h2>
                    <div class="flex space-x-2">
                        <button class="px-3 py-1 border rounded-md text-sm flex items-center" id="filter-btn">
                            <i class="fas fa-filter mr-2 text-gray-500"></i> Filtrer
                        </button>
                        <button class="px-3 py-1 border rounded-md text-sm flex items-center" id="sort-btn">
                            <i class="fas fa-sort mr-2 text-gray-500"></i> Trier
                        </button>
                    </div>
                </div>
                
                <!-- Stats Cards -->
                <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6">
                    <div class="bg-blue-50 rounded-lg p-4">
                        <div class="flex justify-between items-start">
                            <div>
                                <p class="text-sm text-blue-800">Documents actifs</p>
                                <h3 class="text-2xl font-bold text-blue-900">24</h3>
                            </div>
                            <div class="bg-blue-100 p-2 rounded-full">
                                <i class="fas fa-file-alt text-blue-600"></i>
                            </div>
                        </div>
                        <p class="text-xs text-blue-700 mt-2">+3 depuis la semaine dernière</p>
                    </div>
                    
                    <div class="bg-green-50 rounded-lg p-4">
                        <div class="flex justify-between items-start">
                            <div>
                                <p class="text-sm text-green-800">Dossiers</p>
                                <h3 class="text-2xl font-bold text-green-900">8</h3>
                            </div>
                            <div class="bg-green-100 p-2 rounded-full">
                                <i class="fas fa-folder text-green-600"></i>
                            </div>
                        </div>
                        <p class="text-xs text-green-700 mt-2">Organisation optimale</p>
                    </div>
                    
                    <div class="bg-purple-50 rounded-lg p-4">
                        <div class="flex justify-between items-start">
                            <div>
                                <p class="text-sm text-purple-800">Collaborateurs</p>
                                <h3 class="text-2xl font-bold text-purple-900">5</h3>
                            </div>
                            <div class="bg-purple-100 p-2 rounded-full">
                                <i class="fas fa-users text-purple-600"></i>
                            </div>
                        </div>
                        <p class="text-xs text-purple-700 mt-2">2 nouveaux cette semaine</p>
                    </div>
                </div>
                
                <!-- Recent Documents -->
                <div class="mb-6">
                    <h3 class="text-lg font-semibold text-gray-800 mb-4">Documents récents</h3>
                    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
                        <!-- Document Card 1 -->
                        <div class="document-card bg-white border rounded-lg overflow-hidden shadow-sm transition-all duration-300 cursor-pointer">
                            <div class="p-4">
                                <div class="flex justify-between items-start mb-2">
                                    <div class="w-10 h-10 rounded-md bg-blue-100 flex items-center justify-center">
                                        <i class="fas fa-file-word text-blue-600"></i>
                                    </div>
                                    <div class="dropdown relative">
                                        <button class="text-gray-400 hover:text-gray-600 document-menu-btn">
                                            <i class="fas fa-ellipsis-v"></i>
                                        </button>
                                        <div class="dropdown-menu absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50">
                                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 open-document-btn">Ouvrir</a>
                                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 share-document-btn">Partager</a>
                                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 download-document-btn">Télécharger</a>
                                            <div class="border-t border-gray-200"></div>
                                            <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100 delete-document-btn">Supprimer</a>
                                        </div>
                                    </div>
                                </div>
                                <h4 class="font-medium text-gray-900 mb-1">Rapport annuel 2023</h4>
                                <p class="text-sm text-gray-500 mb-3">Analyse des performances et projections</p>
                                <div class="flex justify-between items-center text-xs text-gray-500">
                                    <span>Modifié il y a 2 jours</span>
                                    <div class="flex items-center">
                                        <i class="fas fa-user-friends mr-1"></i>
                                        <span>3</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- Document Card 2 -->
                        <div class="document-card bg-white border rounded-lg overflow-hidden shadow-sm transition-all duration-300 cursor-pointer">
                            <div class="p-4">
                                <div class="flex justify-between items-start mb-2">
                                    <div class="w-10 h-10 rounded-md bg-green-100 flex items-center justify-center">
                                        <i class="fas fa-file-powerpoint text-green-600"></i>
                                    </div>
                                    <div class="dropdown relative">
                                        <button class="text-gray-400 hover:text-gray-600 document-menu-btn">
                                            <i class="fas fa-ellipsis-v"></i>
                                        </button>
                                        <div class="dropdown-menu absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50">
                                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 open-document-btn">Ouvrir</a>
                                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 share-document-btn">Partager</a>
                                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 download-document-btn">Télécharger</a>
                                            <div class="border-t border-gray-200"></div>
                                            <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100 delete-document-btn">Supprimer</a>
                                        </div>
                                    </div>
                                </div>
                                <h4 class="font-medium text-gray-900 mb-1">Présentation stratégie Q4</h4>
                                <p class="text-sm text-gray-500 mb-3">Planification des objectifs trimestriels</p>
                                <div class="flex justify-between items-center text-xs text-gray-500">
                                    <span>Modifié il y a 1 semaine</span>
                                    <div class="flex items-center">
                                        <i class="fas fa-user-friends mr-1"></i>
                                        <span>5</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- Document Card 3 -->
                        <div class="document-card bg-white border rounded-lg overflow-hidden shadow-sm transition-all duration-300 cursor-pointer">
                            <div class="p-4">
                                <div class="flex justify-between items-start mb-2">
                                    <div class="w-10 h-10 rounded-md bg-yellow-100 flex items-center justify-center">
                                        <i class="fas fa-file-excel text-yellow-600"></i>
                                    </div>
                                    <div class="dropdown relative">
                                        <button class="text-gray-400 hover:text-gray-600 document-menu-btn">
                                            <i class="fas fa-ellipsis-v"></i>
                                        </button>
                                        <div class="dropdown-menu absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50">
                                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 open-document-btn">Ouvrir</a>
                                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 share-document-btn">Partager</a>
                                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 download-document-btn">Télécharger</a>
                                            <div class="border-t border-gray-200"></div>
                                            <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100 delete-document-btn">Supprimer</a>
                                        </div>
                                    </div>
                                </div>
                                <h4 class="font-medium text-gray-900 mb-1">Données financières</h4>
                                <p class="text-sm text-gray-500 mb-3">Analyse des indicateurs clés</p>
                                <div class="flex justify-between items-center text-xs text-gray-500">
                                    <span>Modifié aujourd'hui</span>
                                    <div class="flex items-center">
                                        <i class="fas fa-user-friends mr-1"></i>
                                        <span>2</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- Quick Actions -->
                <div>
                    <h3 class="text-lg font-semibold text-gray-800 mb-4">Actions rapides</h3>
                    <div class="grid grid-cols-2 md:grid-cols-4 gap-4">
                        <button class="bg-white border rounded-lg p-4 flex flex-col items-center text-center hover:bg-gray-50 transition-colors quick-action-btn" data-action="new-document">
                            <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mb-2">
                                <i class="fas fa-file-word text-blue-600"></i>
                            </div>
                            <span class="text-sm font-medium">Nouveau document</span>
                        </button>
                        <button class="bg-white border rounded-lg p-4 flex flex-col items-center text-center hover:bg-gray-50 transition-colors quick-action-btn" data-action="new-folder">
                            <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mb-2">
                                <i class="fas fa-folder-plus text-green-600"></i>
                            </div>
                            <span class="text-sm font-medium">Nouveau dossier</span>
                        </button>
                        <button class="bg-white border rounded-lg p-4 flex flex-col items-center text-center hover:bg-gray-50 transition-colors quick-action-btn" data-action="share">
                            <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mb-2">
                                <i class="fas fa-share-alt text-purple-600"></i>
                            </div>
                            <span class="text-sm font-medium">Partager</span>
                        </button>
                        <button class="bg-white border rounded-lg p-4 flex flex-col items-center text-center hover:bg-gray-50 transition-colors quick-action-btn" data-action="search">
                            <div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center mb-2">
                                <i class="fas fa-search text-yellow-600"></i>
                            </div>
                            <span class="text-sm font-medium">Recherche avancée</span>
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- Recommendations Section -->
            <div class="bg-white rounded-lg shadow-sm p-6 mb-6">
                <div class="flex justify-between items-center mb-6">
                    <h2 class="text-xl font-bold text-gray-800">Recommandations pour vous</h2>
                    <button class="text-blue-600 hover:text-blue-800 text-sm font-medium" id="view-all-recommendations">Voir tout</button>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
                    <!-- Recommendation 1 -->
                    <div class="border rounded-lg overflow-hidden hover:shadow-md transition-shadow">
                        <div class="bg-blue-50 p-4">
                            <h3 class="font-medium text-blue-800">Modèles</h3>
                        </div>
                        <div class="p-4">
                            <h4 class="font-medium text-gray-900 mb-2">Rapport d'analyse de marché</h4>
                            <p class="text-sm text-gray-600 mb-3">Structure complète pour vos analyses sectorielles avec sections prédéfinies et indicateurs clés.</p>
                            <button class="text-blue-600 hover:text-blue-800 text-sm font-medium use-template-btn">Utiliser ce modèle</button>
                        </div>
                    </div>
                    
                    <!-- Recommendation 2 -->
                    <div class="border rounded-lg overflow-hidden hover:shadow-md transition-shadow">
                        <div class="bg-green-50 p-4">
                            <h3 class="font-medium text-green-800">Sources</h3>
                        </div>
                        <div class="p-4">
                            <h4 class="font-medium text-gray-900 mb-2">Étude sectorielle 2023</h4>
                            <p class="text-sm text-gray-600 mb-3">Données récentes sur les tendances du marché dans votre secteur d'activité.</p>
                            <button class="text-green-600 hover:text-green-800 text-sm font-medium view-source-btn">Consulter la source</button>
                        </div>
                    </div>
                    
                    <!-- Recommendation 3 -->
                    <div class="border rounded-lg overflow-hidden hover:shadow-md transition-shadow">
                        <div class="bg-purple-50 p-4">
                            <h3 class="font-medium text-purple-800">Collaboration</h3>
                        </div>
                        <div class="p-4">
                            <h4 class="font-medium text-gray-900 mb-2">Équipe stratégie</h4>
                            <p class="text-sm text-gray-600 mb-3">3 membres de votre équipe travaillent sur des documents similaires.</p>
                            <button class="text-purple-600 hover:text-purple-800 text-sm font-medium join-team-btn">Rejoindre le groupe</button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Other Pages (Hidden by default) -->
            <div id="documents-content" class="hidden bg-white rounded-lg shadow-sm p-6 mb-6">
                <h2 class="text-2xl font-bold text-gray-800 mb-6">Mes documents</h2>
                <p class="text-gray-600">Contenu de la page des documents</p>
            </div>
            
            <div id="folders-content" class="hidden bg-white rounded-lg shadow-sm p-6 mb-6">
                <h2 class="text-2xl font-bold text-gray-800 mb-6">Dossiers</h2>
                <p class="text-gray-600">Contenu de la page des dossiers</p>
            </div>
            
            <!-- Add more pages as needed -->
        </main>
    </div>

    <!-- Mobile Bottom Navigation -->
    <div class="mobile-menu fixed bottom-0 left-0 right-0 bg-white shadow-lg border-t">
        <div class="flex justify-around">
            <a href="#" class="flex flex-col items-center py-3 px-4 text-blue-600 mobile-nav-btn" data-page="dashboard">
                <i class="fas fa-home text-lg"></i>
                <span class="text-xs mt-1">Accueil</span>
            </a>
            <a href="#" class="flex flex-col items-center py-3 px-4 text-gray-600 mobile-nav-btn" data-page="documents">
                <i class="fas fa-file-alt text-lg"></i>
                <span class="text-xs mt-1">Documents</span>
            </a>
            <a href="#" class="flex flex-col items-center py-3 px-4 text-gray-600" id="mobile-new-btn">
                <i class="fas fa-plus-circle text-lg bg-blue-600 text-white rounded-full p-1"></i>
                <span class="text-xs mt-1">Nouveau</span>
            </a>
            <a href="#" class="flex flex-col items-center py-3 px-4 text-gray-600 mobile-nav-btn" data-page="research">
                <i class="fas fa-search text-lg"></i>
                <span class="text-xs mt-1">Recherche</span>
            </a>
            <a href="#" class="flex flex-col items-center py-3 px-4 text-gray-600 mobile-nav-btn" data-page="profile">
                <i class="fas fa-user text-lg"></i>
                <span class="text-xs mt-1">Profil</span>
            </a>
        </div>
    </div>

    <!-- Modals -->
    <div class="modal" id="new-document-modal">
        <div class="modal-content">
            <div class="flex justify-between items-center mb-4">
                <h3 class="text-xl font-bold">Nouveau document</h3>
                <button class="text-gray-500 hover:text-gray-700" id="close-new-document-modal">&times;</button>
            </div>
            <form id="new-document-form">
                <div class="mb-4">
                    <label for="document-title" class="block text-sm font-medium text-gray-700 mb-1">Titre du document</label>
                    <input type="text" id="document-title" class="w-full px-3 py-2 border rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500">
                </div>
                <div class="mb-4">
                    <label for="document-folder" class="block text-sm font-medium text-gray-700 mb-1">Dossier</label>
                    <select id="document-folder" class="w-full px-3 py-2 border rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500">
                        <option value="">Aucun dossier</option>
                        <option value="1">Travail</option>
                        <option value="2">Personnel</option>
                        <option value="3">Projets</option>
                    </select>
                </div>
                <div class="mb-4">
                    <label class="block text-sm font-medium text-gray-700 mb-1">Modèle</label>
                    <div class="grid grid-cols-2 gap-2">
                        <button type="button" class="border rounded-md p-3 text-center hover:bg-gray-50 template-option" data-template="blank">
                            <i class="fas fa-file-alt text-2xl text-blue-500 mb-1"></i>
                            <p class="text-sm">Document vierge</p>
                        </button>
                        <button type="button" class="border rounded-md p-3 text-center hover:bg-gray-50 template-option" data-template="report">
                            <i class="fas fa-chart-bar text-2xl text-green-500 mb-1"></i>
                            <p class="text-sm">Rapport</p>
                        </button>
                        <button type="button" class="border rounded-md p-3 text-center hover:bg-gray-50 template-option" data-template="presentation">
                            <i class="fas fa-presentation text-2xl text-purple-500 mb-1"></i>
                            <p class="text-sm">Présentation</p>
                        </button>
                        <button type="button" class="border rounded-md p-3 text-center hover:bg-gray-50 template-option" data-template="notes">
                            <i class="fas fa-sticky-note text-2xl text-yellow-500 mb-1"></i>
                            <p class="text-sm">Notes</p>
                        </button>
                    </div>
                </div>
                <div class="flex justify-end space-x-3">
                    <button type="button" class="px-4 py-2 border rounded-md text-gray-700 hover:bg-gray-50" id="cancel-new-document">Annuler</button>
                    <button type="submit" class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700">Créer</button>
                </div>
            </form>
        </div>
    </div>

    <div class="modal" id="share-modal">
        <div class="modal-content">
            <div class="flex justify-between items-center mb-4">
                <h3 class="text-xl font-bold">Partager un document</h3>
                <button class="text-gray-500 hover:text-gray-700" id="close-share-modal">&times;</button>
            </div>
            <div class="mb-4">
                <label for="share-email" class="block text-sm font-medium text-gray-700 mb-1">Adresse email</label>
                <div class="flex">
                    <input type="email" id="share-email" class="flex-1 px-3 py-2 border rounded-l-md focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="email@exemple.com">
                    <button class="px-4 py-2 bg-blue-600 text-white rounded-r-md hover:bg-blue-700" id="add-collaborator-btn">Ajouter</button>
                </div>
            </div>
            <div class="mb-4">
                <label class="block text-sm font-medium text-gray-700 mb-1">Permissions</label>
                <select id="share-permission" class="w-full px-3 py-2 border rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500">
                    <option value="read">Lecture seule</option>
                    <option value="write">Lecture et écriture</option>
                    <option value="admin">Administrateur</option>
                </select>
            </div>
            <div class="mb-4">
                <label class="block text-sm font-medium text-gray-700 mb-1">Collaborateurs</label>
                <div class="border rounded-md p-3 max-h-40 overflow-y-auto" id="collaborators-list">
                    <p class="text-gray-500 text-sm">Aucun collaborateur ajouté</p>
                </div>
            </div>
            <div class="flex justify-end space-x-3">
                <button type="button" class="px-4 py-2 border rounded-md text-gray-700 hover:bg-gray-50" id="cancel-share">Annuler</button>
                <button type="button" class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700" id="confirm-share">Partager</button>
            </div>
        </div>
    </div>

    <div class="modal" id="logout-modal">
        <div class="modal-content">
            <div class="text-center">
                <i class="fas fa-sign-out-alt text-4xl text-blue-500 mb
</html>