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
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
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Chargeback Shield | Fraud Protection Dashboard</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">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.7.1/chart.min.js"></script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        
        body {
            margin: 0;
            overflow-x: hidden;
            font-family: 'Inter', sans-serif;
            background-color: #0a0a0f;
            color: #e2e2e2;
        }
        
        .glass-card {
            background: rgba(20, 20, 30, 0.5);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
            transition: all 0.3s ease;
        }
        
        .glass-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(0, 255, 100, 0.2);
            border-color: rgba(0, 255, 100, 0.3);
        }
        
        .neon-text {
            background: linear-gradient(90deg, #00ff64, #f6ff00);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 0 5px rgba(0, 255, 100, 0.5);
        }
        
        .neon-border {
            position: relative;
            border-radius: 12px;
        }
        
        .neon-border::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(90deg, #00ff64, #f6ff00);
            border-radius: 14px;
            z-index: -1;
        }
        
        .neon-shadow {
            box-shadow: 0 0 15px rgba(0, 255, 100, 0.5);
        }
        
        .status-badge {
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .status-pending {
            background: rgba(255, 165, 0, 0.2);
            color: #FFA500;
            box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
        }
        
        .status-won {
            background: rgba(0, 255, 0, 0.2);
            color: #00FF00;
            box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
        }
        
        .status-lost {
            background: rgba(255, 0, 0, 0.2);
            color: #FF0000;
            box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
        }
        
        .status-in-review {
            background: rgba(0, 191, 255, 0.2);
            color: #00BFFF;
            box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
        }
        
        .nav-link {
            position: relative;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #00ff64, #f6ff00);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }
        
        .nav-link.active::after {
            width: 100%;
        }
        
        .progress-bar {
            height: 6px;
            border-radius: 3px;
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        .progress-fill {
            height: 100%;
            border-radius: 3px;
            background: linear-gradient(90deg, #00ff64, #f6ff00);
            transition: width 0.3s ease;
        }
        
        .dispute-timeline {
            position: relative;
            padding-left: 30px;
        }
        
        .dispute-timeline::before {
            content: '';
            position: absolute;
            left: 10px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(180deg, #00ff64, #f6ff00);
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 20px;
        }
        
        .timeline-item::before {
            content: '';
            position: absolute;
            left: -30px;
            top: 5px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: linear-gradient(90deg, #00ff64, #f6ff00);
            box-shadow: 0 0 10px rgba(0, 255, 100, 0.7);
        }
        
        input, select, textarea {
            background: rgba(255, 255, 255, 0.05) !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            color: white !important;
        }
        
        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: #00ff64 !important;
            box-shadow: 0 0 10px rgba(0, 255, 100, 0.3) !important;
        }
        
        ::placeholder {
            color: rgba(255, 255, 255, 0.5) !important;
        }
        
        /* Glow effect */
        .glow {
            animation: glow 2s ease-in-out infinite alternate;
        }
        
        @keyframes glow {
            from {
                box-shadow: 0 0 5px rgba(0, 255, 100, 0.5);
            }
            to {
                box-shadow: 0 0 20px rgba(0, 255, 100, 0.8);
            }
        }
        
        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        
        ::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
        }
        
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, #00ff64, #f6ff00);
            border-radius: 4px;
        }
        
        /* Pulse animation */
        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }
            50% {
                transform: scale(1.05);
                opacity: 0.7;
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }
        
        .animate-pulse {
            animation: pulse 2s infinite;
        }
        
        /* Neon button */
        .neon-btn {
            background: linear-gradient(90deg, rgba(0, 255, 100, 0.1), rgba(246, 255, 0, 0.1));
            border: 1px solid #00ff64;
            color: #00ff64;
            transition: all 0.3s ease;
        }
        
        .neon-btn:hover {
            background: linear-gradient(90deg, rgba(0, 255, 100, 0.3), rgba(246, 255, 0, 0.3));
            box-shadow: 0 0 15px rgba(0, 255, 100, 0.5);
            color: #f6ff00;
            border-color: #f6ff00;
        }
        
        /* Alert styles */
        .alert-critical {
            background: rgba(255, 0, 0, 0.1);
            border-left: 4px solid #ff0000;
        }
        
        .alert-warning {
            background: rgba(255, 165, 0, 0.1);
            border-left: 4px solid #FFA500;
        }
        
        .alert-info {
            background: rgba(0, 191, 255, 0.1);
            border-left: 4px solid #00BFFF;
        }
        
        /* Dispute priority indicators */
        .priority-high {
            background: rgba(255, 0, 0, 0.2);
            color: #FF0000;
        }
        
        .priority-medium {
            background: rgba(255, 165, 0, 0.2);
            color: #FFA500;
        }
        
        .priority-low {
            background: rgba(0, 191, 255, 0.2);
            color: #00BFFF;
        }
        
        /* Fraud score indicator */
        .fraud-score {
            height: 10px;
            border-radius: 5px;
            background: linear-gradient(90deg, #00ff64, #f6ff00);
        }
    </style>
</head>
<body class="text-white">
    <!-- Header -->
    <header class="glass-card fixed w-full z-50">
        <div class="container mx-auto px-4 py-4">
            <div class="flex justify-between items-center">
                <div class="flex items-center space-x-3">
                    <div class="neon-border p-2 rounded-lg">
                        <i class="fas fa-shield-alt text-xl neon-text"></i>
                    </div>
                    <h1 class="text-2xl font-bold neon-text">CHARGEBACK SHIELD</h1>
                </div>
                <nav class="hidden md:flex space-x-8">
                    <a href="#" class="nav-link active text-white font-medium">Dashboard</a>
                    <a href="#" class="nav-link text-gray-400 hover:text-white font-medium">Disputes</a>
                    <a href="#" class="nav-link text-gray-400 hover:text-white font-medium">Analytics</a>
                    <a href="#" class="nav-link text-gray-400 hover:text-white font-medium">Rules</a>
                    <a href="#" class="nav-link text-gray-400 hover:text-white font-medium">Settings</a>
                </nav>
                <div class="flex items-center space-x-6">
                    <div class="relative">
                        <div class="neon-border p-2 rounded-lg cursor-pointer">
                            <i class="fas fa-bell text-xl neon-text"></i>
                        </div>
                        <span class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full animate-pulse"></span>
                    </div>
                    <div class="flex items-center space-x-3">
                        <div class="neon-border p-1 rounded-full">
                            <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-8 h-8 rounded-full">
                        </div>
                        <span class="font-medium">Fraud Team</span>
                        <i class="fas fa-chevron-down text-xs text-gray-400"></i>
                    </div>
                </div>
                <button class="md:hidden text-white">
                    <i class="fas fa-bars text-xl"></i>
                </button>
            </div>
        </div>
    </header>

    <!-- Main Content -->
    <main class="container mx-auto px-4 pt-28 pb-12 relative">
        <!-- Dashboard Overview -->
        <section class="mb-12">
            <div class="flex justify-between items-center mb-8">
                <div>
                    <h2 class="text-3xl font-bold mb-2">Chargeback <span class="neon-text">Dashboard</span></h2>
                    <p class="text-gray-400">Real-time fraud monitoring and dispute management</p>
                </div>
                <div class="flex space-x-4">
                    <div class="relative">
                        <select class="px-4 py-2 glass-card rounded-lg appearance-none pr-8">
                            <option>Last 7 days</option>
                            <option>Last 30 days</option>
                            <option>Last 90 days</option>
                            <option>This year</option>
                        </select>
                        <i class="fas fa-chevron-down absolute right-3 top-3 text-xs"></i>
                    </div>
                    <button id="newDisputeBtn" class="px-4 py-2 rounded-lg neon-btn hover:neon-shadow">
                        <i class="fas fa-plus mr-2"></i> New Dispute
                    </button>
                </div>
            </div>

            <!-- Key Metrics -->
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
                <!-- Total Disputes -->
                <div class="glass-card rounded-xl p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-gray-400 text-sm font-medium">Total Disputes</p>
                            <h3 class="text-3xl font-bold text-white mt-2">142</h3>
                            <p class="text-sm text-gray-400 mt-1"><span class="text-red-400">+12%</span> from last month</p>
                        </div>
                        <div class="p-3 rounded-lg neon-btn">
                            <i class="fas fa-exclamation-triangle text-white text-xl"></i>
                        </div>
                    </div>
                    <div class="mt-4">
                        <div class="progress-bar">
                            <div class="progress-fill" style="width: 72%"></div>
                        </div>
                    </div>
                </div>

                <!-- Dispute Amount -->
                <div class="glass-card rounded-xl p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-gray-400 text-sm font-medium">Dispute Amount</p>
                            <h3 class="text-3xl font-bold text-white mt-2">$24,589</h3>
                            <p class="text-sm text-gray-400 mt-1"><span class="text-red-400">+8%</span> from last month</p>
                        </div>
                        <div class="p-3 rounded-lg neon-btn">
                            <i class="fas fa-dollar-sign text-white text-xl"></i>
                        </div>
                    </div>
                    <div class="mt-4">
                        <div class="progress-bar">
                            <div class="progress-fill" style="width: 65%"></div>
                        </div>
                    </div>
                </div>

                <!-- Win Rate -->
                <div class="glass-card rounded-xl p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-gray-400 text-sm font-medium">Win Rate</p>
                            <h3 class="text-3xl font-bold text-white mt-2">68%</h3>
                            <p class="text-sm text-gray-400 mt-1"><span class="text-green-400">+5%</span> from last month</p>
                        </div>
                        <div class="p-3 rounded-lg neon-btn">
                            <i class="fas fa-trophy text-white text-xl"></i>
                        </div>
                    </div>
                    <div class="mt-4">
                        <div class="progress-bar">
                            <div class="progress-fill" style="width: 68%"></div>
                        </div>
                    </div>
                </div>

                <!-- Fraud Score -->
                <div class="glass-card rounded-xl p-6 glow">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-gray-400 text-sm font-medium">Fraud Risk</p>
                            <h3 class="text-3xl font-bold text-white mt-2">High</h3>
                            <p class="text-sm text-gray-400 mt-1">72% probability</p>
                        </div>
                        <div class="p-3 rounded-lg neon-btn">
                            <i class="fas fa-radar text-white text-xl"></i>
                        </div>
                    </div>
                    <div class="mt-4">
                        <div class="fraud-score" style="width: 72%"></div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Charts Section -->
        <section class="grid grid-cols-1 lg:grid-cols-2 gap-8 mb-12">
            <!-- Disputes Over Time -->
            <div class="glass-card rounded-xl p-6">
                <div class="flex justify-between items-center mb-6">
                    <h3 class="text-lg font-semibold text-white">Disputes Over Time</h3>
                    <div class="flex space-x-2">
                        <button class="px-3 py-1 text-xs rounded-lg glass-card">Daily</button>
                        <button class="px-3 py-1 text-xs rounded-lg glass-card">Weekly</button>
                        <button class="px-3 py-1 text-xs rounded-lg neon-btn">Monthly</button>
                    </div>
                </div>
                <div class="h-64">
                    <canvas id="disputesChart"></canvas>
                </div>
            </div>

            <!-- Dispute Reasons -->
            <div class="glass-card rounded-xl p-6">
                <div class="flex justify-between items-center mb-6">
                    <h3 class="text-lg font-semibold text-white">Dispute Reasons</h3>
                    <a href="#" class="neon-text text-sm font-medium hover:underline">View All</a>
                </div>
                <div class="h-64">
                    <canvas id="reasonsChart"></canvas>
                </div>
            </div>
        </section>

        <!-- Recent Disputes and Alerts -->
        <section class="grid grid-cols-1 lg:grid-cols-3 gap-8 mb-12">
            <!-- Recent Disputes -->
            <div class="lg:col-span-2 glass-card rounded-xl overflow-hidden">
                <div class="p-6 border-b border-gray-700">
                    <div class="flex justify-between items-center">
                        <h3 class="text-lg font-semibold text-white">Recent Disputes</h3>
                        <a href="#" class="neon-text text-sm font-medium hover:underline">View All</a>
                    </div>
                </div>
                <div class="overflow-y-auto max-h-96">
                    <table class="min-w-full divide-y divide-gray-700">
                        <thead class="bg-gray-800">
                            <tr>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">ID</th>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Amount</th>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Reason</th>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Status</th>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Priority</th>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Days Left</th>
                            </tr>
                        </thead>
                        <tbody class="divide-y divide-gray-700">
                            <!-- Dispute 1 -->
                            <tr class="hover:bg-gray-800 cursor-pointer">
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm font-medium">CB-4892</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">$249.99</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">Product Not Received</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="status-badge status-pending">Pending</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="status-badge priority-high">High</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">3</div>
                                </td>
                            </tr>
                            
                            <!-- Dispute 2 -->
                            <tr class="hover:bg-gray-800 cursor-pointer">
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm font-medium">CB-4891</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">$89.50</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">Unauthorized</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="status-badge status-in-review">In Review</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="status-badge priority-high">High</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">5</div>
                                </td>
                            </tr>
                            
                            <!-- Dispute 3 -->
                            <tr class="hover:bg-gray-800 cursor-pointer">
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm font-medium">CB-4890</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">$1,250.00</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">Credit Not Processed</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="status-badge status-won">Won</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="status-badge priority-medium">Medium</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">-</div>
                                </td>
                            </tr>
                            
                            <!-- Dispute 4 -->
                            <tr class="hover:bg-gray-800 cursor-pointer">
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm font-medium">CB-4889</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">$45.99</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">Duplicate Charge</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="status-badge status-lost">Lost</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="status-badge priority-low">Low</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">-</div>
                                </td>
                            </tr>
                            
                            <!-- Dispute 5 -->
                            <tr class="hover:bg-gray-800 cursor-pointer">
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm font-medium">CB-4888</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">$320.00</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">Product Not as Described</div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="status-badge status-pending">Pending</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="status-badge priority-medium">Medium</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="text-sm">7</div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>

            <!-- Fraud Alerts -->
            <div class="glass-card rounded-xl overflow-hidden">
                <div class="p-6 border-b border-gray-700">
                    <h3 class="text-lg font-semibold text-white">Fraud Alerts</h3>
                </div>
                <div class="overflow-y-auto max-h-96 p-4 space-y-4">
                    <!-- Alert 1 -->
                    <div class="p-4 rounded-lg alert-critical">
                        <div class="flex items-start space-x-3">
                            <div class="neon-border p-2 rounded-full">
                                <i class="fas fa-exclamation-triangle text-red-500"></i>
                            </div>
                            <div>
                                <h4 class="font-medium">High Risk Transaction</h4>
                                <p class="text-sm text-gray-400 mt-1">Order #78945 from new customer with mismatched billing/shipping</p>
                                <div class="flex space-x-2 mt-2">
                                    <span class="px-2 py-1 text-xs rounded bg-gray-700">$249.99</span>
                                    <span class="px-2 py-1 text-xs rounded bg-gray-700">New Customer</span>
                                </div>
                                <div class="mt-3 flex justify-end">
                                    <button class="px-3 py-1 text-xs rounded-lg neon-btn">Investigate</button>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Alert 2 -->
                    <div class="p-4 rounded-lg alert-warning">
                        <div class="flex items-start space-x-3">
                            <div class="neon-border p-2 rounded-full">
                                <i class="fas fa-exclamation-circle text-yellow-500"></i>
                            </div>
                            <div>
                                <h4 class="font-medium">Multiple Failed Attempts</h4>
                                <p class="text-sm text-gray-400 mt-1">Customer attempted 3 different payment methods in 5 minutes</p>
                                <div class="flex space-x-2 mt-2">
                                    <span class="px-2 py-1 text-xs rounded bg-gray-700">$89.50</span>
                                    <span class="px-2 py-1 text-xs rounded bg-gray-700">IP Mismatch</span>
                                </div>
                                <div class="mt-3 flex justify-end">
                                    <button class="px-3 py-1 text-xs rounded-lg neon-btn">Review</button>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Alert 3 -->
                    <div class="p-4 rounded-lg alert-info">
                        <div class="flex items-start space-x-3">
                            <div class="neon-border p-2 rounded-full">
                                <i class="fas fa-info-circle text-blue-400"></i>
                            </div>
                            <div>
                                <h4 class="font-medium">Unusual Purchase Pattern</h4>
                                <p class="text-sm text-gray-400 mt-1">Customer purchased 5 identical high-value items</p>
                                <div class="flex space-x-2 mt-2">
                                    <span class="px-2 py-1 text-xs rounded bg-gray-700">$1,250.00</span>
                                    <span class="px-2 py-1 text-xs rounded bg-gray-700">Bulk Order</span>
                                </div>
                                <div class="mt-3 flex justify-end">
                                    <button class="px-3 py-1 text-xs rounded-lg neon-btn">Verify</button>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Alert 4 -->
                    <div class="p-4 rounded-lg alert-warning">
                        <div class="flex items-start space-x-3">
                            <div class="neon-border p-2 rounded-full">
                                <i class="fas fa-credit-card text-yellow-500"></i>
                            </div>
                            <div>
                                <h4 class="font-medium">Card Testing Detected</h4>
                                <p class="text-sm text-gray-400 mt-1">Multiple small transactions from same IP in short period</p>
                                <div class="flex space-x-2 mt-2">
                                    <span class="px-2 py-1 text-xs rounded bg-gray-700">$1.00</span>
                                    <span class="px-2 py-1 text-xs rounded bg-gray-700">Card Testing</span>
                                </div>
                                <div class="mt-3 flex justify-end">
                                    <button class="px-3 py-1 text-xs rounded-lg neon-btn">Block IP</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Dispute Stats -->
        <section class="mb-12">
            <h3 class="text-xl font-semibold mb-6">Dispute Statistics</h3>
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
                <div class="glass-card p-4 rounded-lg flex items-center space-x-3">
                    <div class="p-2 rounded-lg neon-btn">
                        <i class="fas fa-clock text-white"></i>
                    </div>
                    <div>
                        <p class="text-xs text-gray-400">Avg. Response Time</p>
                        <p class="font-medium">2.4 days</p>
                    </div>
                </div>
                <div class="glass-card p-4 rounded-lg flex items-center space-x-3">
                    <div class="p-2 rounded-lg neon-btn">
                        <i class="fas fa-check-circle text-white"></i>
                    </div>
                    <div>
                        <p class="text-xs text-gray-400">Prevented Disputes</p>
                        <p class="font-medium">42</p>
                    </div>
                </div>
                <div class="glass-card p-4 rounded-lg flex items-center space-x-3">
                    <div class="p-2 rounded-lg neon-btn">
                        <i class="fas fa-comments text-white"></i>
                    </div>
                    <div>
                        <p class="text-xs text-gray-400">Customer Refunds</p>
                        <p class="font-medium">18</p>
                    </div>
                </div>
                <div class="glass-card p-4 rounded-lg flex items-center space-x-3">
                    <div class="p-2 rounded-lg neon-btn">
                        <i class="fas fa-star text-white"></i>
                    </div>
                    <div>
                        <p class="text-xs text-gray-400">Disputes/Mo</p>
                        <p class="font-medium">35</p>
                    </div>
                </div>
            </div>
        </section>

        <!-- New Dispute Modal -->
        <div id="newDisputeModal" class="fixed inset-0 bg-black bg-opacity-70 flex items-center justify-center z-50 hidden backdrop-blur-sm">
            <div class="glass-card rounded-xl w-full max-w-3xl max-h-screen overflow-y-auto">
                <div class="p-6 border-b border-gray-700 flex justify-between items-center">
                    <h3 class="text-xl font-semibold text-white">Create New Dispute</h3>
                    <button id="closeNewDisputeModal" class="text-gray-400 hover:text-white">
                        <i class="fas fa-times text-xl"></i>
                    </button>
                </div>
                <div class="p-6">
                    <div class="mb-6">
                        <h4 class="text-sm font-medium text-gray-400 mb-4">1. Dispute Information</h4>
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                            <div>
                                <label class="block text-sm font-medium text-gray-400 mb-1">Transaction ID</label>
                                <input type="text" placeholder="Enter transaction ID" class="w-full px-3 py-2 rounded-md">
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-400 mb-1">Dispute Amount</label>
                                <input type="text" placeholder="Enter amount" class="w-full px-3 py-2 rounded-md">
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-400 mb-1">Dispute Date</label>
                                <input type="date" class="w-full px-3 py-2 rounded-md">
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-400 mb-1">Response Deadline</label>
                                <input type="date" class="w-full px-3 py-2 rounded-md">
                            </div>
                            <div class="col-span-2">
                                <label class="block text-sm font-medium text-gray-400 mb-1">Dispute Reason</label>
                                <select class="w-full px-3 py-2 rounded-md">
                                    <option>Product Not Received</option>
                                    <option>Unauthorized Transaction</option>
                                    <option>Credit Not Processed</option>
                                    <option>Duplicate Charge</option>
                                    <option>Product Not as Described</option>
                                    <option>Other</option>
                                </select>
                            </div>
                            <div class="col-span-2">
                                <label class="block text-sm font-medium text-gray-400 mb-1">Dispute Details</label>
                                <textarea rows="3" placeholder="Describe the dispute..." class="w-full px-3 py-2 rounded-md"></textarea>
                            </div>
                        </div>
                    </div>

                    <div class="mb-6">
                        <h4 class="text-sm font-medium text-gray-400 mb-4">2. Supporting Evidence</h4>
                        <div class="file-upload p-8 text-center">
                            <div class="flex flex-col items-center justify-center">
                                <i class="fas fa-cloud-upload-alt text-4xl neon-text mb-3"></i>
                                <p class="text-sm text-gray-400 mb-2">Drag and drop evidence files here or</p>
                                <button class="px-4 py-2 rounded-lg neon-btn">
                                    Browse Files
                                </button>
                                <p class="text-xs text-gray-500 mt-2">PDF, JPG, PNG, DOCX up to 25MB</p>
                            </div>
                        </div>
                    </div>

                    <div class="flex justify-end space-x-4">
                        <button class="px-6 py-2 glass-card text-white rounded-lg hover:neon-shadow">
                            Cancel
                        </button>
                        <button class="px-6 py-2 rounded-lg neon-btn neon-shadow">
                            Submit Dispute
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <!-- Footer -->
    <footer class="glass-card py-8 border-t border-gray-700">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <h4 class="text-lg font-semibold neon-text mb-4">Chargeback Shield</h4>
                    <p class="text-sm text-gray-400">Advanced fraud detection and dispute management system powered by AI.</p>
                </div>
                <div>
                    <h5 class="text-sm font-semibold text-gray-400 uppercase tracking-wider mb-4">Resources</h5>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-sm text-gray-400 hover:neon-text transition-colors">Documentation</a></li>
                        <li><a href="#" class="text-sm text-gray-400 hover:neon-text transition-colors">API</a></li>
                        <li><a href="#" class="text-sm text-gray-400 hover:neon-text transition-colors">Case Studies</a></li>
                        <li><a href="#" class="text-sm text-gray-400 hover:neon-text transition-colors">Support</a></li>
                    </ul>
                </div>
                <div>
                    <h5 class="text-sm font-semibold text-gray-400 uppercase tracking-wider mb-4">Company</h5>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-sm text-gray-400 hover:neon-text transition-colors">About</a></li>
                        <li><a href="#" class="text-sm text-gray-400 hover:neon-text transition-colors">Careers</a></li>
                        <li><a href="#" class="text-sm text-gray-400 hover:neon-text transition-colors">Privacy</a></li>
                        <li><a href="#" class="text-sm text-gray-400 hover:neon-text transition-colors">Terms</a></li>
                    </ul>
                </div>
                <div>
                    <h5 class="text-sm font-semibold text-gray-400 uppercase tracking-wider mb-4">Connect</h5>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-500 hover:neon-text transition-colors">
                            <i class="fab fa-twitter"></i>
                        </a>
                        <a href="#" class="text-gray-500 hover:neon-text transition-colors">
                            <i class="fab fa-linkedin"></i>
                        </a>
                        <a href="#" class="text-gray-500 hover:neon-text transition-colors">
                            <i class="fab fa-github"></i>
                        </a>
                    </div>
                    <div class="mt-4">
                        <p class="text-xs text-gray-500">Subscribe to our newsletter</p>
                        <div class="flex mt-2">
                            <input type="email" placeholder="Your email" class="px-3 py-2 rounded-l-md w-full text-sm">
                            <button class="px-3 py-2 rounded-r-md neon-btn text-sm">
                                <i class="fas fa-paper-plane"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="border-t border-gray-700 mt-8 pt-8">
                <p class="text-sm text-gray-500 text-center">© 2023 Chargeback Shield. All rights reserved.</p>
            </div>
        </div>
    </footer>

    <script>
        // Initialize charts
        document.addEventListener('DOMContentLoaded', function() {
            // Disputes Over Time Chart
            const disputesCtx = document.getElementById('disputesChart').getContext('2d');
            const disputesChart = new Chart(disputesCtx, {
                type: 'line',
                data: {
                    labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'],
                    datasets: [{
                        label: 'Disputes',
                        data: [12, 19, 15, 22, 18, 24, 30],
                        borderColor: '#00ff64',
                        backgroundColor: 'rgba(0, 255, 100, 0.1)',
                        borderWidth: 2,
                        tension: 0.4,
                        fill: true
                    }]
                },
                options: {
                    responsive: true,
                    maintainAspectRatio: false,
                    plugins: {
                        legend: {
                            display: false
                        }
                    },
                    scales: {
                        y: {
                            beginAtZero: true,
                            grid: {
                                color: 'rgba(255, 255, 255, 0.1)'
                            },
                            ticks: {
                                color: 'rgba(255, 255, 255, 0.7)'
                            }
                        },
                        x: {
                            grid: {
                                color: 'rgba(255, 255, 255, 0.1)'
                            },
                            ticks: {
                                color: 'rgba(255, 255, 255, 0.7)'
                            }
                        }
                    }
                }
            });

            // Dispute Reasons Chart
            const reasonsCtx = document.getElementById('reasonsChart').getContext('2d');
            const reasonsChart = new Chart(reasonsCtx, {
                type: 'doughnut',
                data: {
                    labels: ['Not Received', 'Unauthorized', 'Not as Described', 'Duplicate', 'Other'],
                    datasets: [{
                        data: [35, 25, 20, 15, 5],
                        backgroundColor: [
                            '#00ff64',
                            '#f6ff00',
                            '#00BFFF',
                            '#FFA500',
                            '#FF0000'
                        ],
                        borderWidth: 0
                    }]
                },
                options: {
                    responsive: true,
                    maintainAspectRatio: false,
                    plugins: {
                        legend: {
                            position: 'right',
                            labels: {
                                color: 'rgba(255, 255, 255, 0.7)'
                            }
                        }
                    },
                    cutout: '70%'
                }
            });

            // Modal functionality
            const newDisputeBtn = document.getElementById('newDisputeBtn');
            const newDisputeModal = document.getElementById('newDisputeModal');
            const closeNewDisputeModal = document.getElementById('closeNewDisputeModal');
            
            newDisputeBtn.addEventListener('click', () => {
                newDisputeModal.classList.remove('hidden');
            });
            
            closeNewDisputeModal.addEventListener('click', () => {
                newDisputeModal.classList.add('hidden');
            });
            
            // Close modal when clicking outside
            window.addEventListener('click', (event) => {
                if (event.target === newDisputeModal) {
                    newDisputeModal.classList.add('hidden');
                }
            });
            
            // Add hover effects to all glass cards
            const glassCards = document.querySelectorAll('.glass-card');
            glassCards.forEach(card => {
                card.addEventListener('mouseenter', () => {
                    card.style.transform = 'translateY(-5px)';
                });
                card.addEventListener('mouseleave', () => {
                    card.style.transform = '';
                });
            });
            
            // Add click effect to dispute rows
            const disputeRows = document.querySelectorAll('tbody tr');
            disputeRows.forEach(row => {
                row.addEventListener('click', () => {
                    // In a real app, this would open the dispute details
                    row.classList.toggle('bg-gray-800');
                });
            });
            
            // Add click effect to alert cards
            const alertCards = document.querySelectorAll('.p-4.rounded-lg');
            alertCards.forEach(card => {
                card.addEventListener('click', () => {
                    // In a real app, this would open the alert details
                    card.classList.toggle('bg-gray-800');
                });
            });
        });
    </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=LDrago-R/reverza" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>