Download index.html from LDrago-R/reverza: direct link, hf CLI and curl.
- Browser
- Download file 46.9 kB
-
https://huggingface.co/spaces/LDrago-R/reverza/resolve/main/index.html
- Command line
-
hf download hf://spaces/LDrago-R/reverza/index.html
-
curl -L -o index.html https://huggingface.co/spaces/LDrago-R/reverza/resolve/main/index.html
46.9 kB
| <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) ; | |
| border: 1px solid rgba(255, 255, 255, 0.1) ; | |
| color: white ; | |
| } | |
| input:focus, select:focus, textarea:focus { | |
| outline: none; | |
| border-color: #00ff64 ; | |
| box-shadow: 0 0 10px rgba(0, 255, 100, 0.3) ; | |
| } | |
| ::placeholder { | |
| color: rgba(255, 255, 255, 0.5) ; | |
| } | |
| /* 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> |