File size: 51,601 Bytes
277ef96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Wildberries Analytics Platform</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>
        .sidebar {
            transition: all 0.3s ease;
        }
        .chart-container {
            height: 400px;
        }
        .report-builder {
            min-height: 500px;
            border: 2px dashed #e2e8f0;
            transition: all 0.3s ease;
        }
        .report-builder:hover {
            border-color: #818cf8;
        }
        .draggable-widget {
            cursor: grab;
            transition: all 0.2s ease;
        }
        .draggable-widget:active {
            cursor: grabbing;
        }
        .draggable-widget:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }
        .widget-placeholder {
            border: 2px dashed #818cf8;
            background-color: rgba(129, 140, 248, 0.1);
        }
        .api-response {
            max-height: 300px;
            overflow-y: auto;
        }
        .dark .dark\:bg-gray-800 {
            background-color: #1e293b;
        }
        .dark .dark\:text-white {
            color: #ffffff;
        }
    </style>
</head>
<body class="bg-gray-50 dark:bg-gray-900">
    <div class="flex h-screen overflow-hidden">
        <!-- Sidebar -->
        <div class="sidebar w-64 bg-white dark:bg-gray-800 shadow-lg flex-shrink-0">
            <div class="p-4 border-b border-gray-200 dark:border-gray-700">
                <div class="flex items-center">
                    <img src="https://via.placeholder.com/40" alt="Logo" class="h-8 w-8 mr-2">
                    <h1 class="text-xl font-bold text-gray-800 dark:text-white">WB Analytics</h1>
                </div>
            </div>
            <nav class="p-4">
                <div class="mb-6">
                    <h3 class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2 dark:text-gray-400">Основное</h3>
                    <ul>
                        <li class="mb-1">
                            <a href="#" class="flex items-center p-2 text-purple-700 dark:text-purple-400 bg-purple-50 dark:bg-gray-700 rounded-lg">
                                <i class="fas fa-chart-line mr-3"></i>
                                <span>Дашборд</span>
                            </a>
                        </li>
                        <li class="mb-1">
                            <a href="#" class="flex items-center p-2 text-gray-600 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg">
                                <i class="fas fa-shopping-bag mr-3"></i>
                                <span>Товары</span>
                            </a>
                        </li>
                        <li class="mb-1">
                            <a href="#" class="flex items-center p-2 text-gray-600 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg">
                                <i class="fas fa-truck mr-3"></i>
                                <span>Поставки</span>
                            </a>
                        </li>
                        <li class="mb-1">
                            <a href="#" class="flex items-center p-2 text-gray-600 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg">
                                <i class="fas fa-file-invoice-dollar mr-3"></i>
                                <span>Финансы</span>
                            </a>
                        </li>
                    </ul>
                </div>
                <div class="mb-6">
                    <h3 class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2 dark:text-gray-400">Отчеты</h3>
                    <ul>
                        <li class="mb-1">
                            <a href="#" class="flex items-center p-2 text-gray-600 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg">
                                <i class="fas fa-file-alt mr-3"></i>
                                <span>Стандартные</span>
                            </a>
                        </li>
                        <li class="mb-1">
                            <a href="#" class="flex items-center p-2 text-gray-600 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg">
                                <i class="fas fa-magic mr-3"></i>
                                <span>Конструктор</span>
                            </a>
                        </li>
                        <li class="mb-1">
                            <a href="#" class="flex items-center p-2 text-gray-600 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg">
                                <i class="fas fa-history mr-3"></i>
                                <span>История</span>
                            </a>
                        </li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2 dark:text-gray-400">Настройки</h3>
                    <ul>
                        <li class="mb-1">
                            <a href="#" class="flex items-center p-2 text-gray-600 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg">
                                <i class="fas fa-plug mr-3"></i>
                                <span>API ключи</span>
                            </a>
                        </li>
                        <li class="mb-1">
                            <a href="#" class="flex items-center p-2 text-gray-600 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg">
                                <i class="fas fa-user-cog mr-3"></i>
                                <span>Профиль</span>
                            </a>
                        </li>
                    </ul>
                </div>
            </nav>
        </div>

        <!-- Main Content -->
        <div class="flex-1 overflow-auto">
            <!-- Header -->
            <header class="bg-white dark:bg-gray-800 shadow-sm">
                <div class="flex items-center justify-between p-4">
                    <div class="flex items-center">
                        <button class="mr-4 text-gray-500 dark:text-gray-300">
                            <i class="fas fa-bars"></i>
                        </button>
                        <h2 class="text-xl font-semibold text-gray-800 dark:text-white">Конструктор отчетов</h2>
                    </div>
                    <div class="flex items-center space-x-4">
                        <div class="relative">
                            <input type="text" placeholder="Поиск..." class="pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white">
                            <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
                        </div>
                        <button class="p-2 text-gray-500 hover:text-gray-700 dark:text-gray-300 dark:hover:text-white">
                            <i class="fas fa-bell"></i>
                        </button>
                        <div class="flex items-center">
                            <img src="https://via.placeholder.com/40" alt="User" class="h-8 w-8 rounded-full mr-2">
                            <span class="text-gray-700 dark:text-white">Иван Иванов</span>
                        </div>
                    </div>
                </div>
            </header>

            <!-- Content -->
            <main class="p-6">
                <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
                    <!-- API Connection Panel -->
                    <div class="bg-white dark:bg-gray-800 rounded-lg shadow p-6">
                        <div class="flex items-center justify-between mb-4">
                            <h3 class="text-lg font-semibold text-gray-800 dark:text-white">Подключение к API Wildberries</h3>
                            <span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded-full dark:bg-green-900 dark:text-green-300">Активно</span>
                        </div>
                        <div class="mb-4">
                            <label for="api-key" class="block mb-2 text-sm font-medium text-gray-700 dark:text-gray-300">API ключ</label>
                            <div class="relative">
                                <input type="password" id="api-key" value="wb_1234567890abcdef" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-purple-500 focus:border-purple-500 block w-full p-2.5 pr-10 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white" readonly>
                                <button onclick="toggleApiKeyVisibility()" class="absolute right-2.5 bottom-2.5 text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-white">
                                    <i class="fas fa-eye"></i>
                                </button>
                            </div>
                        </div>
                        <div class="mb-4">
                            <label for="api-url" class="block mb-2 text-sm font-medium text-gray-700 dark:text-gray-300">URL API</label>
                            <input type="text" id="api-url" value="https://suppliers-api.wildberries.ru" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-purple-500 focus:border-purple-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white" readonly>
                        </div>
                        <div class="flex justify-between">
                            <button onclick="testApiConnection()" class="text-white bg-purple-700 hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 font-medium rounded-lg text-sm px-5 py-2.5 dark:bg-purple-600 dark:hover:bg-purple-700 focus:outline-none dark:focus:ring-purple-800">
                                Проверить соединение
                            </button>
                            <button onclick="showApiDocumentation()" class="text-purple-700 hover:text-white border border-purple-700 hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:border-purple-500 dark:text-purple-500 dark:hover:text-white dark:hover:bg-purple-600 dark:focus:ring-purple-900">
                                Документация API
                            </button>
                        </div>
                    </div>

                    <!-- API Response Preview -->
                    <div class="bg-white dark:bg-gray-800 rounded-lg shadow p-6 col-span-2">
                        <div class="flex items-center justify-between mb-4">
                            <h3 class="text-lg font-semibold text-gray-800 dark:text-white">Пример ответа API</h3>
                            <div class="flex space-x-2">
                                <button onclick="loadSampleData('sales')" class="text-xs bg-gray-100 hover:bg-gray-200 text-gray-800 font-medium px-3 py-1 rounded dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-600">
                                    Продажи
                                </button>
                                <button onclick="loadSampleData('stocks')" class="text-xs bg-gray-100 hover:bg-gray-200 text-gray-800 font-medium px-3 py-1 rounded dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-600">
                                    Остатки
                                </button>
                                <button onclick="loadSampleData('orders')" class="text-xs bg-gray-100 hover:bg-gray-200 text-gray-800 font-medium px-3 py-1 rounded dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-600">
                                    Заказы
                                </button>
                            </div>
                        </div>
                        <div class="api-response bg-gray-50 dark:bg-gray-700 p-4 rounded-lg">
                            <pre class="text-xs text-gray-800 dark:text-gray-300" id="api-response-content">Выберите тип данных для загрузки...</pre>
                        </div>
                    </div>
                </div>

                <!-- Report Builder Section -->
                <div class="bg-white dark:bg-gray-800 rounded-lg shadow p-6 mb-6">
                    <div class="flex items-center justify-between mb-6">
                        <h3 class="text-lg font-semibold text-gray-800 dark:text-white">Конструктор отчета</h3>
                        <div class="flex space-x-3">
                            <button onclick="saveReport()" class="text-white bg-purple-700 hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-purple-600 dark:hover:bg-purple-700 focus:outline-none dark:focus:ring-purple-800">
                                <i class="fas fa-save mr-2"></i> Сохранить
                            </button>
                            <button onclick="exportReport()" class="text-purple-700 hover:text-white border border-purple-700 hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 font-medium rounded-lg text-sm px-4 py-2 text-center dark:border-purple-500 dark:text-purple-500 dark:hover:text-white dark:hover:bg-purple-600 dark:focus:ring-purple-900">
                                <i class="fas fa-file-export mr-2"></i> Экспорт
                            </button>
                        </div>
                    </div>

                    <div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
                        <!-- Widgets Panel -->
                        <div class="bg-gray-50 dark:bg-gray-700 rounded-lg p-4">
                            <h4 class="text-sm font-semibold text-gray-700 dark:text-gray-300 mb-3">Доступные виджеты</h4>
                            <div class="space-y-3">
                                <div draggable="true" ondragstart="drag(event)" data-widget-type="chart-line" class="draggable-widget bg-white dark:bg-gray-600 p-3 rounded-lg shadow-sm cursor-move">
                                    <div class="flex items-center">
                                        <div class="bg-purple-100 dark:bg-purple-900 p-2 rounded-lg mr-3">
                                            <i class="fas fa-chart-line text-purple-600 dark:text-purple-300"></i>
                                        </div>
                                        <span class="text-sm font-medium text-gray-700 dark:text-gray-300">Линейный график</span>
                                    </div>
                                </div>
                                <div draggable="true" ondragstart="drag(event)" data-widget-type="chart-bar" class="draggable-widget bg-white dark:bg-gray-600 p-3 rounded-lg shadow-sm cursor-move">
                                    <div class="flex items-center">
                                        <div class="bg-blue-100 dark:bg-blue-900 p-2 rounded-lg mr-3">
                                            <i class="fas fa-chart-bar text-blue-600 dark:text-blue-300"></i>
                                        </div>
                                        <span class="text-sm font-medium text-gray-700 dark:text-gray-300">Столбчатая диаграмма</span>
                                    </div>
                                </div>
                                <div draggable="true" ondragstart="drag(event)" data-widget-type="chart-pie" class="draggable-widget bg-white dark:bg-gray-600 p-3 rounded-lg shadow-sm cursor-move">
                                    <div class="flex items-center">
                                        <div class="bg-green-100 dark:bg-green-900 p-2 rounded-lg mr-3">
                                            <i class="fas fa-chart-pie text-green-600 dark:text-green-300"></i>
                                        </div>
                                        <span class="text-sm font-medium text-gray-700 dark:text-gray-300">Круговая диаграмма</span>
                                    </div>
                                </div>
                                <div draggable="true" ondragstart="drag(event)" data-widget-type="table" class="draggable-widget bg-white dark:bg-gray-600 p-3 rounded-lg shadow-sm cursor-move">
                                    <div class="flex items-center">
                                        <div class="bg-yellow-100 dark:bg-yellow-900 p-2 rounded-lg mr-3">
                                            <i class="fas fa-table text-yellow-600 dark:text-yellow-300"></i>
                                        </div>
                                        <span class="text-sm font-medium text-gray-700 dark:text-gray-300">Таблица данных</span>
                                    </div>
                                </div>
                                <div draggable="true" ondragstart="drag(event)" data-widget-type="kpi" class="draggable-widget bg-white dark:bg-gray-600 p-3 rounded-lg shadow-sm cursor-move">
                                    <div class="flex items-center">
                                        <div class="bg-red-100 dark:bg-red-900 p-2 rounded-lg mr-3">
                                            <i class="fas fa-tachometer-alt text-red-600 dark:text-red-300"></i>
                                        </div>
                                        <span class="text-sm font-medium text-gray-700 dark:text-gray-300">KPI метрика</span>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <!-- Report Builder Area -->
                        <div class="report-builder bg-gray-50 dark:bg-gray-700 rounded-lg p-4 col-span-3" id="report-builder" ondrop="drop(event)" ondragover="allowDrop(event)">
                            <div class="flex items-center justify-between mb-4">
                                <h4 class="text-sm font-semibold text-gray-700 dark:text-gray-300">Рабочая область</h4>
                                <div class="flex space-x-2">
                                    <button onclick="clearReport()" class="text-xs bg-gray-200 hover:bg-gray-300 text-gray-800 font-medium px-3 py-1 rounded dark:bg-gray-600 dark:text-gray-300 dark:hover:bg-gray-500">
                                        <i class="fas fa-trash-alt mr-1"></i> Очистить
                                    </button>
                                    <button onclick="addSection()" class="text-xs bg-gray-200 hover:bg-gray-300 text-gray-800 font-medium px-3 py-1 rounded dark:bg-gray-600 dark:text-gray-300 dark:hover:bg-gray-500">
                                        <i class="fas fa-plus mr-1"></i> Раздел
                                    </button>
                                </div>
                            </div>

                            <div class="grid grid-cols-1 md:grid-cols-2 gap-4" id="report-content">
                                <!-- Placeholder when empty -->
                                <div class="col-span-2 flex flex-col items-center justify-center py-12 text-center" id="empty-placeholder">
                                    <i class="fas fa-magic text-4xl text-gray-300 mb-4"></i>
                                    <h4 class="text-lg font-medium text-gray-500 mb-2">Пустой отчет</h4>
                                    <p class="text-sm text-gray-400 max-w-md">Перетащите виджеты из панели слева или нажмите "Добавить раздел"</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Report Settings -->
                <div class="bg-white dark:bg-gray-800 rounded-lg shadow p-6">
                    <h3 class="text-lg font-semibold text-gray-800 dark:text-white mb-4">Настройки отчета</h3>
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                        <div>
                            <label for="report-name" class="block mb-2 text-sm font-medium text-gray-700 dark:text-gray-300">Название отчета</label>
                            <input type="text" id="report-name" placeholder="Мой отчет" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-purple-500 focus:border-purple-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white">
                        </div>
                        <div>
                            <label for="report-period" class="block mb-2 text-sm font-medium text-gray-700 dark:text-gray-300">Период</label>
                            <select id="report-period" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-purple-500 focus:border-purple-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white">
                                <option value="day">За день</option>
                                <option value="week" selected>За неделю</option>
                                <option value="month">За месяц</option>
                                <option value="quarter">За квартал</option>
                                <option value="year">За год</option>
                                <option value="custom">Произвольный период</option>
                            </select>
                        </div>
                        <div>
                            <label for="report-category" class="block mb-2 text-sm font-medium text-gray-700 dark:text-gray-300">Категория товаров</label>
                            <select id="report-category" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-purple-500 focus:border-purple-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white">
                                <option value="all">Все категории</option>
                                <option value="electronics">Электроника</option>
                                <option value="clothing">Одежда</option>
                                <option value="home">Дом и сад</option>
                                <option value="beauty">Красота</option>
                                <option value="kids">Детские товары</option>
                            </select>
                        </div>
                        <div>
                            <label for="report-frequency" class="block mb-2 text-sm font-medium text-gray-700 dark:text-gray-300">Автоматическое обновление</label>
                            <select id="report-frequency" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-purple-500 focus:border-purple-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white">
                                <option value="none">Не обновлять</option>
                                <option value="hourly">Каждый час</option>
                                <option value="daily">Ежедневно</option>
                                <option value="weekly">Еженедельно</option>
                            </select>
                        </div>
                    </div>
                </div>
            </main>
        </div>
    </div>

    <script>
        // Toggle API key visibility
        function toggleApiKeyVisibility() {
            const apiKeyInput = document.getElementById('api-key');
            const eyeIcon = event.currentTarget.querySelector('i');
            
            if (apiKeyInput.type === 'password') {
                apiKeyInput.type = 'text';
                eyeIcon.classList.replace('fa-eye', 'fa-eye-slash');
            } else {
                apiKeyInput.type = 'password';
                eyeIcon.classList.replace('fa-eye-slash', 'fa-eye');
            }
        }

        // Test API connection
        function testApiConnection() {
            // Simulate API connection test
            const button = event.currentTarget;
            const originalText = button.innerHTML;
            
            button.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Проверка...';
            button.disabled = true;
            
            setTimeout(() => {
                button.innerHTML = '<i class="fas fa-check-circle mr-2"></i> Успешно!';
                setTimeout(() => {
                    button.innerHTML = originalText;
                    button.disabled = false;
                }, 2000);
            }, 1500);
        }

        // Show API documentation
        function showApiDocumentation() {
            alert('Открытие документации API Wildberries в новом окне...');
            // In a real app, this would open the official API docs
        }

        // Load sample data
        function loadSampleData(type) {
            const responseContainer = document.getElementById('api-response-content');
            let sampleData = '';
            
            // Simulate loading
            responseContainer.innerHTML = '<div class="flex justify-center py-8"><i class="fas fa-spinner fa-spin text-gray-400"></i></div>';
            
            setTimeout(() => {
                if (type === 'sales') {
                    sampleData = `{
  "data": [
    {
      "date": "2023-05-01",
      "ordersCount": 42,
      "totalSales": 125600,
      "avgOrderValue": 2990,
      "returnsCount": 3
    },
    {
      "date": "2023-05-02",
      "ordersCount": 38,
      "totalSales": 112400,
      "avgOrderValue": 2958,
      "returnsCount": 2
    },
    {
      "date": "2023-05-03",
      "ordersCount": 56,
      "totalSales": 168900,
      "avgOrderValue": 3016,
      "returnsCount": 5
    }
  ],
  "total": {
    "ordersCount": 136,
    "totalSales": 406900,
    "avgOrderValue": 2992,
    "returnsCount": 10
  }
}`;
                } else if (type === 'stocks') {
                    sampleData = `{
  "stocks": [
    {
      "sku": "ABC123",
      "name": "Смартфон X Pro",
      "warehouse": "Москва",
      "quantity": 124,
      "inTransit": 50,
      "reserved": 12
    },
    {
      "sku": "DEF456",
      "name": "Наушники Wireless",
      "warehouse": "Санкт-Петербург",
      "quantity": 89,
      "inTransit": 30,
      "reserved": 8
    },
    {
      "sku": "GHI789",
      "name": "Чехол для телефона",
      "warehouse": "Казань",
      "quantity": 215,
      "inTransit": 0,
      "reserved": 25
    }
  ],
  "totalItems": 3,
  "totalQuantity": 428,
  "totalInTransit": 80,
  "totalReserved": 45
}`;
                } else if (type === 'orders') {
                    sampleData = `{
  "orders": [
    {
      "orderId": "WB12345678",
      "date": "2023-05-01T14:30:22Z",
      "sku": "ABC123",
      "name": "Смартфон X Pro",
      "quantity": 1,
      "price": 29990,
      "status": "delivered",
      "region": "Москва"
    },
    {
      "orderId": "WB12345679",
      "date": "2023-05-02T09:15:10Z",
      "sku": "DEF456",
      "name": "Наушники Wireless",
      "quantity": 2,
      "price": 5990,
      "status": "shipped",
      "region": "Санкт-Петербург"
    },
    {
      "orderId": "WB12345680",
      "date": "2023-05-03T16:45:33Z",
      "sku": "GHI789",
      "name": "Чехол для телефона",
      "quantity": 1,
      "price": 990,
      "status": "processing",
      "region": "Казань"
    }
  ],
  "totalOrders": 3,
  "totalItems": 4,
  "totalValue": 37960,
  "statusSummary": {
    "processing": 1,
    "shipped": 1,
    "delivered": 1
  }
}`;
                }
                
                responseContainer.textContent = sampleData;
                Prism.highlightElement(responseContainer);
            }, 800);
        }

        // Drag and drop functionality
        function allowDrop(ev) {
            ev.preventDefault();
            ev.currentTarget.classList.add('widget-placeholder');
        }

        function drag(ev) {
            ev.dataTransfer.setData("widget-type", ev.target.getAttribute('data-widget-type'));
        }

        function drop(ev) {
            ev.preventDefault();
            ev.currentTarget.classList.remove('widget-placeholder');
            
            const widgetType = ev.dataTransfer.getData("widget-type");
            addWidgetToReport(widgetType);
        }

        // Add widget to report
        function addWidgetToReport(widgetType) {
            const reportContent = document.getElementById('report-content');
            const emptyPlaceholder = document.getElementById('empty-placeholder');
            
            // Remove empty placeholder if it exists
            if (emptyPlaceholder) {
                emptyPlaceholder.remove();
            }
            
            // Create widget based on type
            let widgetHtml = '';
            const widgetId = 'widget-' + Date.now();
            
            switch(widgetType) {
                case 'chart-line':
                    widgetHtml = `
                        <div class="widget bg-white dark:bg-gray-600 rounded-lg shadow p-4" id="${widgetId}" data-widget-type="chart-line">
                            <div class="flex items-center justify-between mb-3">
                                <h5 class="text-sm font-medium text-gray-700 dark:text-gray-300">Линейный график</h5>
                                <div class="flex space-x-2">
                                    <button onclick="configureWidget('${widgetId}')" class="text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-white">
                                        <i class="fas fa-cog"></i>
                                    </button>
                                    <button onclick="removeWidget('${widgetId}')" class="text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-white">
                                        <i class="fas fa-times"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="chart-container">
                                <canvas id="${widgetId}-chart"></canvas>
                            </div>
                        </div>
                    `;
                    break;
                    
                case 'chart-bar':
                    widgetHtml = `
                        <div class="widget bg-white dark:bg-gray-600 rounded-lg shadow p-4" id="${widgetId}" data-widget-type="chart-bar">
                            <div class="flex items-center justify-between mb-3">
                                <h5 class="text-sm font-medium text-gray-700 dark:text-gray-300">Столбчатая диаграмма</h5>
                                <div class="flex space-x-2">
                                    <button onclick="configureWidget('${widgetId}')" class="text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-white">
                                        <i class="fas fa-cog"></i>
                                    </button>
                                    <button onclick="removeWidget('${widgetId}')" class="text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-white">
                                        <i class="fas fa-times"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="chart-container">
                                <canvas id="${widgetId}-chart"></canvas>
                            </div>
                        </div>
                    `;
                    break;
                    
                case 'chart-pie':
                    widgetHtml = `
                        <div class="widget bg-white dark:bg-gray-600 rounded-lg shadow p-4" id="${widgetId}" data-widget-type="chart-pie">
                            <div class="flex items-center justify-between mb-3">
                                <h5 class="text-sm font-medium text-gray-700 dark:text-gray-300">Круговая диаграмма</h5>
                                <div class="flex space-x-2">
                                    <button onclick="configureWidget('${widgetId}')" class="text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-white">
                                        <i class="fas fa-cog"></i>
                                    </button>
                                    <button onclick="removeWidget('${widgetId}')" class="text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-white">
                                        <i class="fas fa-times"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="chart-container">
                                <canvas id="${widgetId}-chart"></canvas>
                            </div>
                        </div>
                    `;
                    break;
                    
                case 'table':
                    widgetHtml = `
                        <div class="widget bg-white dark:bg-gray-600 rounded-lg shadow p-4" id="${widgetId}" data-widget-type="table">
                            <div class="flex items-center justify-between mb-3">
                                <h5 class="text-sm font-medium text-gray-700 dark:text-gray-300">Таблица данных</h5>
                                <div class="flex space-x-2">
                                    <button onclick="configureWidget('${widgetId}')" class="text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-white">
                                        <i class="fas fa-cog"></i>
                                    </button>
                                    <button onclick="removeWidget('${widgetId}')" class="text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-white">
                                        <i class="fas fa-times"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="overflow-x-auto">
                                <table class="w-full text-sm text-left text-gray-500 dark:text-gray-400">
                                    <thead class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400">
                                        <tr>
                                            <th scope="col" class="px-4 py-3">Дата</th>
                                            <th scope="col" class="px-4 py-3">Заказы</th>
                                            <th scope="col" class="px-4 py-3">Продажи</th>
                                            <th scope="col" class="px-4 py-3">Возвраты</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr class="bg-white border-b dark:bg-gray-800 dark:border-gray-700">
                                            <td class="px-4 py-2">2023-05-01</td>
                                            <td class="px-4 py-2">42</td>
                                            <td class="px-4 py-2">125,600 ₽</td>
                                            <td class="px-4 py-2">3</td>
                                        </tr>
                                        <tr class="bg-white border-b dark:bg-gray-800 dark:border-gray-700">
                                            <td class="px-4 py-2">2023-05-02</td>
                                            <td class="px-4 py-2">38</td>
                                            <td class="px-4 py-2">112,400 ₽</td>
                                            <td class="px-4 py-2">2</td>
                                        </tr>
                                        <tr class="bg-white border-b dark:bg-gray-800 dark:border-gray-700">
                                            <td class="px-4 py-2">2023-05-03</td>
                                            <td class="px-4 py-2">56</td>
                                            <td class="px-4 py-2">168,900 ₽</td>
                                            <td class="px-4 py-2">5</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    `;
                    break;
                    
                case 'kpi':
                    widgetHtml = `
                        <div class="widget bg-white dark:bg-gray-600 rounded-lg shadow p-4" id="${widgetId}" data-widget-type="kpi">
                            <div class="flex items-center justify-between mb-3">
                                <h5 class="text-sm font-medium text-gray-700 dark:text-gray-300">KPI метрика</h5>
                                <div class="flex space-x-2">
                                    <button onclick="configureWidget('${widgetId}')" class="text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-white">
                                        <i class="fas fa-cog"></i>
                                    </button>
                                    <button onclick="removeWidget('${widgetId}')" class="text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-white">
                                        <i class="fas fa-times"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="flex flex-col items-center justify-center py-4">
                                <span class="text-3xl font-bold text-purple-600 dark:text-purple-400 mb-1">136</span>
                                <span class="text-sm text-gray-500 dark:text-gray-400">Всего заказов</span>
                            </div>
                        </div>
                    `;
                    break;
            }
            
            // Add widget to report
            reportContent.insertAdjacentHTML('beforeend', widgetHtml);
            
            // Initialize chart if needed
            if (widgetType.includes('chart')) {
                setTimeout(() => {
                    initializeChart(widgetId);
                }, 100);
            }
        }

        // Initialize chart
        function initializeChart(widgetId) {
            const widget = document.getElementById(widgetId);
            const chartType = widget.getAttribute('data-widget-type').split('-')[1];
            const canvas = document.getElementById(`${widgetId}-chart`);
            const ctx = canvas.getContext('2d');
            
            // Sample data based on chart type
            let chartData = {};
            
            if (chartType === 'line') {
                chartData = {
                    labels: ['Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб', 'Вс'],
                    datasets: [{
                        label: 'Продажи',
                        data: [12000, 19000, 3000, 5000, 2000, 30000, 45000],
                        borderColor: 'rgb(99, 102, 241)',
                        backgroundColor: 'rgba(99, 102, 241, 0.1)',
                        tension: 0.1,
                        fill: true
                    }]
                };
            } else if (chartType === 'bar') {
                chartData = {
                    labels: ['Электроника', 'Одежда', 'Дом', 'Красота', 'Дети'],
                    datasets: [{
                        label: 'Продажи',
                        data: [120000, 190000, 80000, 50000, 70000],
                        backgroundColor: [
                            'rgba(99, 102, 241, 0.7)',
                            'rgba(59, 130, 246, 0.7)',
                            'rgba(16, 185, 129, 0.7)',
                            'rgba(245, 158, 11, 0.7)',
                            'rgba(244, 63, 94, 0.7)'
                        ],
                        borderColor: [
                            'rgba(99, 102, 241, 1)',
                            'rgba(59, 130, 246, 1)',
                            'rgba(16, 185, 129, 1)',
                            'rgba(245, 158, 11, 1)',
                            'rgba(244, 63, 94, 1)'
                        ],
                        borderWidth: 1
                    }]
                };
            } else if (chartType === 'pie') {
                chartData = {
                    labels: ['Электроника', 'Одежда', 'Дом', 'Красота', 'Дети'],
                    datasets: [{
                        data: [35, 25, 20, 10, 10],
                        backgroundColor: [
                            'rgba(99, 102, 241, 0.7)',
                            'rgba(59, 130, 246, 0.7)',
                            'rgba(16, 185, 129, 0.7)',
                            'rgba(245, 158, 11, 0.7)',
                            'rgba(244, 63, 94, 0.7)'
                        ],
                        borderColor: [
                            'rgba(99, 102, 241, 1)',
                            'rgba(59, 130, 246, 1)',
                            'rgba(16, 185, 129, 1)',
                            'rgba(245, 158, 11, 1)',
                            'rgba(244, 63, 94, 1)'
                        ],
                        borderWidth: 1
                    }]
                };
            }
            
            // Create chart
            new Chart(ctx, {
                type: chartType,
                data: chartData,
                options: {
                    responsive: true,
                    maintainAspectRatio: false,
                    plugins: {
                        legend: {
                            position: 'top',
                        },
                        tooltip: {
                            callbacks: {
                                label: function(context) {
                                    return context.dataset.label + ': ' + context.raw.toLocaleString() + ' ₽';
                                }
                            }
                        }
                    },
                    scales: chartType === 'line' || chartType === 'bar' ? {
                        y: {
                            beginAtZero: true,
                            ticks: {
                                callback: function(value) {
                                    return value.toLocaleString() + ' ₽';
                                }
                            }
                        }
                    } : {}
                }
            });
        }

        // Remove widget
        function removeWidget(widgetId) {
            if (confirm('Удалить этот виджет?')) {
                document.getElementById(widgetId).remove();
                
                // Show empty placeholder if no widgets left
                const reportContent = document.getElementById('report-content');
                if (reportContent.children.length === 0) {
                    reportContent.innerHTML = `
                        <div class="col-span-2 flex flex-col items-center justify-center py-12 text-center" id="empty-placeholder">
                            <i class="fas fa-magic text-4xl text-gray-300 mb-4"></i>
                            <h4 class="text-lg font-medium text-gray-500 mb-2">Пустой отчет</h4>
                            <p class="text-sm text-gray-400 max-w-md">Перетащите виджеты из панели слева или нажмите "Добавить раздел"</p>
                        </div>
                    `;
                }
            }
        }

        // Configure widget
        function configureWidget(widgetId) {
            alert('Открытие настроек виджета ' + widgetId);
            // In a real app, this would open a modal with configuration options
        }

        // Add section
        function addSection() {
            const reportContent = document.getElementById('report-content');
            const emptyPlaceholder = document.getElementById('empty-placeholder');
            
            // Remove empty placeholder if it exists
            if (emptyPlaceholder) {
                emptyPlaceholder.remove();
            }
            
            // Add section divider
            reportContent.insertAdjacentHTML('beforeend', `
                <div class="col-span-2 border-t-2 border-gray-200 dark:border-gray-700 my-4 relative">
                    <div class="absolute left-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-white dark:bg-gray-800 px-4">
                        <span class="text-sm font-medium text-gray-500 dark:text-gray-400">Новый раздел</span>
                    </div>
                </div>
            `);
        }

        // Clear report
        function clearReport() {
            if (confirm('Очистить весь отчет? Это действие нельзя отменить.')) {
                const reportContent = document.getElementById('report-content');
                reportContent.innerHTML = `
                    <div class="col-span-2 flex flex-col items-center justify-center py-12 text-center" id="empty-placeholder">
                        <i class="fas fa-magic text-4xl text-gray-300 mb-4"></i>
                        <h4 class="text-lg font-medium text-gray-500 mb-2">Пустой отчет</h4>
                        <p class="text-sm text-gray-400 max-w-md">Перетащите виджеты из панели слева или нажмите "Добавить раздел"</p>
                    </div>
                `;
            }
        }

        // Save report
        function saveReport() {
            const reportName = document.getElementById('report-name').value || 'Без названия';
            
            // Simulate saving
            const button = event.currentTarget;
            const originalText = button.innerHTML;
            
            button.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Сохранение...';
            button.disabled = true;
            
            setTimeout(() => {
                button.innerHTML = '<i class="fas fa-check-circle mr-2"></i> Сохранено!';
                setTimeout(() => {
                    button.innerHTML = originalText;
                    button.disabled = false;
                    
                    // Show notification
                    showNotification('Отчет "' + reportName + '" успешно сохранен', 'success');
                }, 1000);
            }, 1500);
        }

        // Export report
        function exportReport() {
            const reportName = document.getElementById('report-name').value || 'wildberries_report';
            const exportType = prompt('Выберите формат экспорта (PDF, Excel, Image):', 'PDF');
            
            if (exportType) {
                // Simulate exporting
                const button = event.currentTarget;
                const originalText = button.innerHTML;
                
                button.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Экспорт...';
                button.disabled = true;
                
                setTimeout(() => {
                    button.innerHTML = '<i class="fas fa-check-circle mr-2"></i> Готово!';
                    setTimeout(() => {
                        button.innerHTML = originalText;
                        button.disabled = false;
                        
                        // Show notification
                        showNotification('Отчет экспортирован в формате ' + exportType, 'success');
                    }, 1000);
                }, 2000);
            }
        }

        // Show notification
        function showNotification(message, type) {
            const notification = document.createElement('div');
            notification.className = `fixed bottom-4 right-4 flex items-center p-4 rounded-lg shadow-lg text-white ${type === 'success' ? 'bg-green-500' : 'bg-red-500'}`;
            notification.innerHTML = `
                <i class="fas ${type === 'success' ? 'fa-check-circle' : 'fa-exclamation-circle'} mr-2"></i>
                <span>${message}</span>
                <button onclick="this.parentElement.remove()" class="ml-4">
                    <i class="fas fa-times"></i>
                </button>
            `;
            
            document.body.appendChild(notification);
            
            setTimeout(() => {
                notification.remove();
            }, 5000);
        }

        // Initialize tooltips
        document.addEventListener('DOMContentLoaded', function() {
            // In a real app, we would initialize tooltips here
            // For example: tippy('[data-tippy-content]');
            
            // Load sample data by default
            loadSampleData('sales');
        });
    </script>
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></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=adasand/wdev" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>