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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ font-family: 'Arial', sans-serif;
6
+ }
7
+
8
+ body {
9
+ position: relative;
10
+ min-height: 100vh;
11
+ color: #5a3e2b;
12
+ overflow-x: hidden;
13
+ }
14
+
15
+ body::after {
16
+ content: '';
17
+ position: fixed;
18
+ top: 0;
19
+ left: 0;
20
+ width: 100%;
21
+ height: 100%;
22
+ background-image: var(--background-image, url('smartdocai.webp'));
23
+ background-size: cover;
24
+ background-position: center;
25
+ background-repeat: no-repeat;
26
+ z-index: -2;
27
+ opacity: 0.5;
28
+ }
29
+
30
+
31
+ body::before {
32
+ content: '';
33
+ position: fixed;
34
+ top: 0;
35
+ left: 0;
36
+ width: 100%;
37
+ height: 100%;
38
+ background: linear-gradient(125deg, rgba(253, 240, 144, 0.79) 0%, rgba(247, 123, 214, 0.83) 95%);
39
+ z-index: -1;
40
+ }
41
+
42
+
43
+ .app-container {
44
+ display: flex;
45
+ min-height: 100vh;
46
+ position: relative;
47
+ }
48
+
49
+ .sidebar {
50
+ width: 250px;
51
+ display: flex;
52
+ flex-direction: column;
53
+ gap: 30px;
54
+ border-right: 8px solid white;
55
+ padding-top: 20px;
56
+ background: transparent;
57
+ }
58
+
59
+ .logo-container {
60
+ text-align: center;
61
+ padding: 10px;
62
+ color: white;
63
+ border-radius: 10px;
64
+ margin: 0 10px;
65
+ }
66
+
67
+ .logo-top {
68
+ font-size: 28px;
69
+ font-weight: bold;
70
+ line-height: 1;
71
+ }
72
+
73
+ .logo-bottom {
74
+ font-size: 24px;
75
+ font-style: italic;
76
+ margin-top: 5px;
77
+ }
78
+
79
+ .menu-section {
80
+ display: flex;
81
+ flex-direction: column;
82
+ gap: 8px;
83
+ padding: 0 15px;
84
+ }
85
+
86
+ .menu-title {
87
+ padding: 12px 15px 5px;
88
+ font-weight: bold;
89
+ color: white;
90
+ font-size: 18px;
91
+ border-radius: 5px;
92
+ }
93
+
94
+ .menu-btn {
95
+ background: white;
96
+ border: none;
97
+ color: black;
98
+ padding: 12px 20px;
99
+ text-align: left;
100
+ cursor: pointer;
101
+ transition: all 0.3s ease;
102
+ font-size: 16px;
103
+ border-radius: 8px;
104
+ margin: 5px 0;
105
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
106
+ position: relative;
107
+ border: 2px solid transparent;
108
+ background-clip: padding-box;
109
+ }
110
+
111
+ /* Dégradé incliné autour du bouton */
112
+ .menu-btn::before {
113
+ content: '';
114
+ position: absolute;
115
+ top: -4px;
116
+ left: -4px;
117
+ right: -4px;
118
+ bottom: -4px;
119
+ background: linear-gradient(135deg, #ffa9f9 0%, #fff7ad 100%);
120
+ z-index: -1;
121
+ border-radius: 10px;
122
+ transform: rotate(3deg); /* Inclinaison du dégradé */
123
+ }
124
+
125
+ .menu-btn:hover {
126
+ transform: translateX(8px);
127
+ box-shadow: 0 5px 15px rgba(0,0,0,0.2);
128
+ }
129
+
130
+
131
+
132
+ .main-content-area {
133
+ flex: 1;
134
+ padding: 30px;
135
+ background: transparent;
136
+ }
137
+ /* Styles complémentaires */
138
+ .document-container {
139
+ max-width: 800px;
140
+ margin: 0 auto;
141
+ background: transparent;
142
+ }
143
+
144
+ .document-main-title {
145
+ color: white;
146
+ text-align: left;
147
+ margin-left: 0;
148
+ margin-bottom: 30px;
149
+ /*font-size: 1.8rem;
150
+ margin-bottom: 0.5rem;
151
+ font-weight: 600;*/
152
+ }
153
+
154
+ .document-subtitle {
155
+ /*
156
+ font-size: 1.4rem;
157
+ margin-top: 0;
158
+ margin-bottom: 2rem;
159
+ font-weight: 500;*/
160
+ color: black;
161
+ text-align: center;
162
+ margin-bottom: 50px;
163
+ }
164
+
165
+ .upload-container {
166
+ /* background: transparent;
167
+ margin-bottom: 2rem;
168
+ display: flex;
169
+ flex-direction: column;
170
+ align-items: center;*/
171
+ display: flex;
172
+ flex-direction: column;
173
+ align-items: center;
174
+ gap: 30px;
175
+ }
176
+
177
+ .file-drop-zone {
178
+ display: flex;
179
+ border: 4px solid white;
180
+ align-items: center;
181
+ justify-content: center;
182
+ border-radius: 8px;
183
+ padding: 2.5rem 1rem;
184
+ text-align: center;
185
+ margin-bottom: 30px;
186
+ transition: all 0.3s ease;
187
+ cursor: pointer;
188
+ gap: 10px;
189
+ width: 100%; /* Largeur fixe par rapport au parent */
190
+ max-width: 600px; /* Empêche qu'elle devienne trop large */
191
+ overflow: hidden; /* Coupe le texte qui dépasse */
192
+ white-space: nowrap; /* Empêche le texte de passer à la ligne */
193
+ text-overflow: ellipsis; /* Ajoute "..." si le texte est trop long */
194
+ }
195
+
196
+
197
+
198
+
199
+ .drop-text {
200
+ color:white;
201
+ font-weight: bold;
202
+ font-size: 1.2rem;
203
+ display: block;
204
+ }
205
+ .upload-icon {
206
+ width: 30px;
207
+ height: 30px;
208
+ cursor: pointer;
209
+
210
+ }
211
+
212
+
213
+ .file-input {
214
+ opacity: 0; /* Rendu invisible mais reste cliquable */
215
+ position: absolute;
216
+ width: 100%;
217
+ height: 100%;
218
+ top: 0;
219
+ left: 0;
220
+ cursor: pointer;
221
+ }
222
+
223
+ .summary-action-btn {
224
+ margin-bottom: 35px;
225
+ background: white;
226
+ border: 2px solid black;
227
+ color: black;
228
+ width: 150px;
229
+ height: 50px;
230
+ font-size: 20px;
231
+ padding: 10px 20px;
232
+ border-radius: 8px;
233
+ cursor: pointer;
234
+ font-weight: bold;
235
+ transition: 0.3s;
236
+ }
237
+
238
+
239
+ .results-container {
240
+ background: white;
241
+ border-radius: 12px;
242
+ padding: 2rem;
243
+ margin-top: 10px;
244
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
245
+ height: 230px;
246
+ }
247
+
248
+ .results-placeholder {
249
+ color: black;
250
+ font-weight: bold;
251
+ text-align: center;
252
+ padding: 3rem 1rem;
253
+ }
254
+
255
+ .placeholder-text {
256
+ margin: 0;
257
+ font-size: 1.3rem;
258
+ }
259
+
260
+ .titre {
261
+ text-align: center;
262
+ padding: 15px;
263
+ color: white;
264
+ border-radius: 10px;
265
+ margin: 0 10px;
266
+ font-size: 90px;
267
+ }
268
+
269
+ .about_us {
270
+ color: white;
271
+ text-align: center;
272
+ position: absolute;
273
+ bottom: 0;
274
+ padding-bottom: 30px;
275
+ }
276
+
277
+ .buttons-container {
278
+ display: grid;
279
+ grid-template-areas:
280
+ "images-title doc-title"
281
+ "images-buttons doc-buttons";
282
+ grid-template-columns: 1fr 1fr;
283
+ gap: 20px;
284
+ margin: 20px 10px;
285
+ width: 80%; /* Ajustez la largeur du conteneur selon vos besoins */
286
+ max-width: 600px; /* Limite la largeur maximale pour les grands écrans */
287
+ }
288
+
289
+ .operations-images {
290
+ position: absolute;
291
+ top: 30%;
292
+ left: 25%;
293
+ grid-area: images-title;
294
+ text-align: center;
295
+ color: white;
296
+ font-size: 30px;
297
+ }
298
+
299
+ .images-buttons {
300
+ padding-top: 85px;
301
+ grid-area: images-buttons;
302
+ display: flex;
303
+ flex-direction: column;
304
+ align-items: center;
305
+ position: absolute;
306
+ left: 30%;
307
+ top: 29%;
308
+ }
309
+
310
+ .operations-doc {
311
+ grid-area: doc-title;
312
+ text-align: center;
313
+ color: white;
314
+ font-size: 30px;
315
+ position:absolute;
316
+ left:55% ;
317
+
318
+ }
319
+
320
+ .doc-buttons {
321
+ grid-area: doc-buttons;
322
+ display: flex;
323
+ flex-direction: column;
324
+ align-items: center;
325
+ gap: 10px;
326
+ position:absolute;
327
+ left:58% ;
328
+ top: 30%;
329
+ }
330
+ .menu-btn {
331
+ background: white;
332
+ border: none;
333
+ color: black;
334
+ padding: 12px 20px;
335
+ text-align: left;
336
+ cursor: pointer;
337
+ transition: all 0.3s ease;
338
+ font-size: 16px;
339
+ border-radius: 8px;
340
+ margin: 5px 0;
341
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
342
+ position: relative;
343
+ border: 2px solid transparent;
344
+ background-clip: padding-box;
345
+ }
346
+
347
+
348
+
349
+ .button {
350
+ background: white; /* Couleur de fond blanche par défaut */
351
+ border: none;
352
+ padding: 15px 25px;
353
+ margin: 10px 0;
354
+ border-radius: 10px;
355
+ font-size: 16px;
356
+ cursor: pointer;
357
+ position: relative; /* Nécessaire pour positionner le pseudo-élément ::before */
358
+ width: 100%;
359
+ background-clip: padding-box;
360
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
361
+ border: 2px solid transparent;
362
+ transition: all 0.3s ease;
363
+
364
+ }
365
+
366
+ .button::before {
367
+ content: '';
368
+ position: absolute;
369
+ top: -4px;
370
+ left: -4px;
371
+ right: -4px;
372
+ bottom: -4px;
373
+ background: linear-gradient(135deg, #ffa9f9 0%, #fff7ad 100%);
374
+ z-index: -1;
375
+ border-radius: 10px;
376
+ transform: rotate(3deg); /* Inclinaison du dégradé */
377
+ }
378
+
379
+ .button:hover {
380
+ transform: translateX(8px);
381
+ box-shadow: 0 5px 15px rgba(0,0,0,0.2);
382
+ }
383
+
384
+ .question-container {
385
+ display: flex;
386
+ align-items: center;
387
+
388
+ gap: 200px;
389
+ overflow: visible;
390
+ margin-top: 0px;
391
+ }
392
+
393
+ #questionInput {
394
+ flex-grow: 1; /* L'input prend tout l'espace disponible */
395
+ padding: 5px;
396
+ font-size: 1.2rem;
397
+
398
+ border: none;
399
+ outline: none;
400
+ background: transparent;
401
+ text-align: center;
402
+ }
403
+ #questionInput::placeholder {
404
+ color:white;
405
+ font-weight: bold;
406
+ }
407
+
408
+
409
+ .question-btn {
410
+ margin-top: 0px;
411
+ margin-right: 250px;
412
+ width: 150px;
413
+ height: 50px;
414
+ font-size: 20px;
415
+ padding: 10px 20px;
416
+ background: white;
417
+ border: 2px solid black;
418
+ color: black;
419
+ border-radius: 8px;
420
+ cursor: pointer;
421
+ font-weight: bold;
422
+ }
423
+ .question {
424
+ display: flex;
425
+ border: 4px solid white;
426
+ align-items: center;
427
+ justify-content: center;
428
+ border-radius: 8px;
429
+ padding: 2.5rem 1rem;
430
+ text-align: center;
431
+ margin-bottom: 20px;
432
+ margin-left: 150px;
433
+ margin-top: 0px;
434
+ transition: all 0.3s ease;
435
+ cursor: pointer;
436
+ gap: 0px;
437
+ width: 600px;
438
+ height:100px ;
439
+ overflow: hidden; /* Coupe le texte qui dépasse */
440
+ white-space: nowrap; /* Empêche le texte de passer à la ligne */
441
+ text-overflow: ellipsis; /* Ajoute "..." si le texte est trop long */
442
+ }
443
+
444
+ .questionn-container {
445
+ display: flex;
446
+ align-items: center;
447
+
448
+ gap: 200px;
449
+ overflow: visible;
450
+ margin-top: 0px;
451
+ }
452
+
453
+ #questionnInput {
454
+ flex-grow: 1; /* L'input prend tout l'espace disponible */
455
+ padding: 5px;
456
+ font-size: 1.2rem;
457
+
458
+ border: none;
459
+ outline: none;
460
+ background: transparent;
461
+ text-align: center;
462
+ }
463
+ #questionnInput::placeholder {
464
+ color:white;
465
+ font-weight: bold;
466
+ }
467
+
468
+
469
+ .questionn-btn {
470
+ margin-top: 0px;
471
+ margin-right: 250px;
472
+ width: 150px;
473
+ height: 50px;
474
+ font-size: 20px;
475
+ padding: 10px 20px;
476
+ background: white;
477
+ border: 2px solid black;
478
+ color: black;
479
+ border-radius: 8px;
480
+ cursor: pointer;
481
+ font-weight: bold;
482
+ }
483
+ .questionn {
484
+ display: flex;
485
+ border: 4px solid white;
486
+ align-items: center;
487
+ justify-content: center;
488
+ border-radius: 8px;
489
+ padding: 2.5rem 1rem;
490
+ text-align: center;
491
+ margin-bottom: 20px;
492
+ margin-left: 150px;
493
+ margin-top: 0px;
494
+ transition: all 0.3s ease;
495
+ cursor: pointer;
496
+ gap: 0px;
497
+ width: 600px;
498
+ height:100px ;
499
+ overflow: hidden; /* Coupe le texte qui dépasse */
500
+ white-space: nowrap; /* Empêche le texte de passer à la ligne */
501
+ text-overflow: ellipsis; /* Ajoute "..." si le texte est trop long */
502
+ }
503
+ .resultss-container {
504
+ background: white;
505
+ border-radius: 12px;
506
+ padding: 2rem;
507
+ margin-top: 10px;
508
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
509
+ height: 230px;
510
+ }
511
+
512
+ .resultss-placeholder {
513
+ color: black;
514
+ font-weight: bold;
515
+ text-align: center;
516
+ padding: 3rem 1rem;
517
+ }
518
+
519
+ .action-container {
520
+ display: flex;
521
+ align-items: center;
522
+ gap: 200px; /* Espacement entre les éléments */
523
+ margin-top: 5px;
524
+ }
525
+ .language-dropdown {
526
+ padding: 10px ;
527
+ border-radius: 5px;
528
+ border: 1px solid #ccc;
529
+ font-size: 16px; /* Agrandit le texte */
530
+ width: 200px;
531
+
532
+ }
533
+ .summary-action-btn {
534
+ padding: 8px 15px;
535
+ background-color:white;
536
+ color: black;
537
+ border: none;
538
+ border-radius: 5px;
539
+ cursor: pointer;
540
+
541
+ }
542
+ .summary-action-btn:hover {
543
+ background-color:white;
544
+ }