File size: 33,199 Bytes
21ab45d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ANTIHACK PANEL | Security 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">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');
        
        :root {
            --primary: #1e40af;
            --secondary: #1e3a8a;
            --accent: #3b82f6;
            --dark: #0f172a;
            --danger: #ef4444;
            --success: #10b981;
        }
        
        body {
            font-family: 'Roboto', sans-serif;
            background-color: #f1f5f9;
        }
        
        .logo-font {
            font-family: 'Orbitron', sans-serif;
        }
        
        .sidebar {
            transition: all 0.3s ease;
        }
        
        .dashboard-card {
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        
        .dashboard-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        }
        
        .security-level {
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
        }
        
        .threat-card {
            border-left: 4px solid var(--danger);
        }
        
        .activity-card {
            border-left: 4px solid var(--accent);
        }
        
        .scrollbar-hide::-webkit-scrollbar {
            display: none;
        }
        
        .scrollbar-hide {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        
        .blink {
            animation: blink-animation 1.5s steps(5, start) infinite;
        }
        
        @keyframes blink-animation {
            to {
                visibility: hidden;
            }
        }
    </style>
</head>
<body class="bg-gray-100">
    <div class="flex h-screen overflow-hidden">
        <!-- Sidebar -->
        <div class="sidebar bg-white w-64 border-r border-gray-200 flex flex-col">
            <div class="p-4 border-b border-gray-200">
                <div class="flex items-center space-x-2">
                    <div class="w-8 h-8 rounded-full bg-blue-600 flex items-center justify-center">
                        <i class="fas fa-shield-alt text-white"></i>
                    </div>
                    <span class="logo-font text-xl font-bold text-blue-800">ANTIHACK</span>
                </div>
            </div>
            
            <div class="flex-1 overflow-y-auto p-4 space-y-4">
                <div>
                    <p class="text-xs uppercase text-gray-500 font-semibold mb-2">Dashboard</p>
                    <a href="#" class="flex items-center space-x-3 p-2 rounded-lg bg-blue-50 text-blue-700">
                        <i class="fas fa-tachometer-alt w-5 text-center"></i>
                        <span>Overview</span>
                    </a>
                </div>
                
                <div>
                    <p class="text-xs uppercase text-gray-500 font-semibold mb-2">Security</p>
                    <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
                        <i class="fas fa-fire w-5 text-center"></i>
                        <span>Threat Detection</span>
                    </a>
                    <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
                        <i class="fas fa-shield-virus w-5 text-center"></i>
                        <span>Firewall</span>
                    </a>
                    <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
                        <i class="fas fa-user-lock w-5 text-center"></i>
                        <span>Access Control</span>
                    </a>
                </div>
                
                <div>
                    <p class="text-xs uppercase text-gray-500 font-semibold mb-2">Monitoring</p>
                    <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
                        <i class="fas fa-chart-line w-5 text-center"></i>
                        <span>Activity Logs</span>
                    </a>
                    <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
                        <i class="fas fa-network-wired w-5 text-center"></i>
                        <span>Network Traffic</span>
                    </a>
                </div>
                
                <div>
                    <p class="text-xs uppercase text-gray-500 font-semibold mb-2">Settings</p>
                    <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
                        <i class="fas fa-cog w-5 text-center"></i>
                        <span>System Settings</span>
                    </a>
                    <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
                        <i class="fas fa-users-cog w-5 text-center"></i>
                        <span>User Management</span>
                    </a>
                </div>
            </div>
            
            <div class="p-4 border-t border-gray-200">
                <div class="flex items-center space-x-3">
                    <div class="w-10 h-10 rounded-full bg-gray-200 flex items-center justify-center">
                        <i class="fas fa-user text-gray-600"></i>
                    </div>
                    <div>
                        <p class="font-medium">Admin User</p>
                        <p class="text-xs text-gray-500">Super Administrator</p>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Main Content -->
        <div class="flex-1 overflow-auto">
            <!-- Header -->
            <header class="bg-white border-b border-gray-200 p-4 flex justify-between items-center">
                <div class="flex items-center space-x-4">
                    <button class="md:hidden">
                        <i class="fas fa-bars text-gray-600"></i>
                    </button>
                    <h1 class="text-xl font-bold text-gray-800">Security Dashboard</h1>
                </div>
                
                <div class="flex items-center space-x-4">
                    <div class="relative">
                        <button class="p-2 rounded-full hover:bg-gray-100">
                            <i class="fas fa-bell text-gray-600"></i>
                            <span class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full"></span>
                        </button>
                    </div>
                    <div class="relative">
                        <button class="p-2 rounded-full hover:bg-gray-100">
                            <i class="fas fa-question-circle text-gray-600"></i>
                        </button>
                    </div>
                </div>
            </header>
            
            <!-- Dashboard Content -->
            <main class="p-6">
                <!-- Status Cards -->
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
                    <div class="dashboard-card bg-white rounded-lg shadow p-6">
                        <div class="flex justify-between items-start">
                            <div>
                                <p class="text-sm text-gray-500">Active Threats</p>
                                <h3 class="text-2xl font-bold text-red-500 mt-1">12</h3>
                            </div>
                            <div class="p-3 rounded-full bg-red-100 text-red-500">
                                <i class="fas fa-exclamation-triangle"></i>
                            </div>
                        </div>
                        <div class="mt-4">
                            <div class="h-2 bg-gray-200 rounded-full overflow-hidden">
                                <div class="h-full bg-red-500 rounded-full" style="width: 60%"></div>
                            </div>
                            <p class="text-xs text-gray-500 mt-1">Higher than usual</p>
                        </div>
                    </div>
                    
                    <div class="dashboard-card bg-white rounded-lg shadow p-6">
                        <div class="flex justify-between items-start">
                            <div>
                                <p class="text-sm text-gray-500">Protected Systems</p>
                                <h3 class="text-2xl font-bold text-blue-500 mt-1">48</h3>
                            </div>
                            <div class="p-3 rounded-full bg-blue-100 text-blue-500">
                                <i class="fas fa-shield-alt"></i>
                            </div>
                        </div>
                        <div class="mt-4">
                            <div class="h-2 bg-gray-200 rounded-full overflow-hidden">
                                <div class="h-full bg-blue-500 rounded-full" style="width: 90%"></div>
                            </div>
                            <p class="text-xs text-gray-500 mt-1">All systems secured</p>
                        </div>
                    </div>
                    
                    <div class="dashboard-card bg-white rounded-lg shadow p-6">
                        <div class="flex justify-between items-start">
                            <div>
                                <p class="text-sm text-gray-500">Security Events</p>
                                <h3 class="text-2xl font-bold text-yellow-500 mt-1">237</h3>
                            </div>
                            <div class="p-3 rounded-full bg-yellow-100 text-yellow-500">
                                <i class="fas fa-bell"></i>
                            </div>
                        </div>
                        <div class="mt-4">
                            <div class="h-2 bg-gray-200 rounded-full overflow-hidden">
                                <div class="h-full bg-yellow-500 rounded-full" style="width: 45%"></div>
                            </div>
                            <p class="text-xs text-gray-500 mt-1">5 new since last hour</p>
                        </div>
                    </div>
                    
                    <div class="dashboard-card bg-white rounded-lg shadow p-6">
                        <div class="flex justify-between items-start">
                            <div>
                                <p class="text-sm text-gray-500">Response Time</p>
                                <h3 class="text-2xl font-bold text-green-500 mt-1">0.8s</h3>
                            </div>
                            <div class="p-3 rounded-full bg-green-100 text-green-500">
                                <i class="fas fa-bolt"></i>
                            </div>
                        </div>
                        <div class="mt-4">
                            <div class="h-2 bg-gray-200 rounded-full overflow-hidden">
                                <div class="h-full bg-green-500 rounded-full" style="width: 95%"></div>
                            </div>
                            <p class="text-xs text-gray-500 mt-1">Optimal performance</p>
                        </div>
                    </div>
                </div>
                
                <!-- Security Level and Threat Map -->
                <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
                    <div class="lg:col-span-2 bg-white rounded-lg shadow overflow-hidden">
                        <div class="p-6">
                            <div class="flex justify-between items-center mb-4">
                                <h2 class="text-lg font-bold text-gray-800">Threat Map</h2>
                                <div class="flex space-x-2">
                                    <button class="px-3 py-1 text-xs bg-blue-50 text-blue-600 rounded-full">Live</button>
                                    <button class="px-3 py-1 text-xs bg-gray-100 text-gray-600 rounded-full">Past 24h</button>
                                </div>
                            </div>
                            
                            <div class="relative h-64 bg-gray-100 rounded-lg overflow-hidden">
                                <div class="absolute inset-0 flex items-center justify-center">
                                    <div class="text-center">
                                        <i class="fas fa-globe-americas text-4xl text-gray-300 mb-2"></i>
                                        <p class="text-gray-400">Loading threat data...</p>
                                    </div>
                                </div>
                                
                                <!-- Simulated threat points -->
                                <div class="absolute top-1/4 left-1/4 w-3 h-3 bg-red-500 rounded-full animate-pulse"></div>
                                <div class="absolute top-1/3 right-1/3 w-3 h-3 bg-red-500 rounded-full animate-pulse"></div>
                                <div class="absolute bottom-1/4 left-1/2 w-3 h-3 bg-red-500 rounded-full animate-pulse"></div>
                                <div class="absolute top-1/2 right-1/4 w-3 h-3 bg-red-500 rounded-full animate-pulse"></div>
                                <div class="absolute bottom-1/3 left-1/3 w-3 h-3 bg-orange-500 rounded-full animate-pulse"></div>
                                <div class="absolute top-1/4 right-1/4 w-3 h-3 bg-orange-500 rounded-full animate-pulse"></div>
                            </div>
                            
                            <div class="mt-4 grid grid-cols-3 gap-4">
                                <div class="text-center">
                                    <p class="text-sm text-gray-500">Critical</p>
                                    <p class="font-bold text-red-500">4</p>
                                </div>
                                <div class="text-center">
                                    <p class="text-sm text-gray-500">High</p>
                                    <p class="font-bold text-orange-500">3</p>
                                </div>
                                <div class="text-center">
                                    <p class="text-sm text-gray-500">Medium</p>
                                    <p class="font-bold text-yellow-500">5</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="security-level rounded-lg shadow overflow-hidden text-white">
                        <div class="p-6">
                            <h2 class="text-lg font-bold mb-4">Security Level</h2>
                            
                            <div class="flex justify-center mb-6">
                                <div class="relative w-40 h-40">
                                    <svg class="w-full h-full" viewBox="0 0 100 100">
                                        <!-- Background circle -->
                                        <circle cx="50" cy="50" r="45" fill="none" stroke="#1e3a8a" stroke-width="8"/>
                                        <!-- Progress circle -->
                                        <circle cx="50" cy="50" r="45" fill="none" stroke="#3b82f6" stroke-width="8" 
                                                stroke-dasharray="283" stroke-dashoffset="56.6" stroke-linecap="round"/>
                                        <!-- Center text -->
                                        <text x="50" y="50" text-anchor="middle" dy=".3em" font-size="24" font-weight="bold">80%</text>
                                    </svg>
                                </div>
                            </div>
                            
                            <div class="space-y-3">
                                <div class="flex justify-between items-center">
                                    <span>Firewall</span>
                                    <div class="flex items-center">
                                        <i class="fas fa-check-circle text-green-300 mr-1"></i>
                                        <span>Active</span>
                                    </div>
                                </div>
                                <div class="flex justify-between items-center">
                                    <span>IDS/IPS</span>
                                    <div class="flex items-center">
                                        <i class="fas fa-check-circle text-green-300 mr-1"></i>
                                        <span>Active</span>
                                    </div>
                                </div>
                                <div class="flex justify-between items-center">
                                    <span>Malware Scan</span>
                                    <div class="flex items-center">
                                        <i class="fas fa-exclamation-triangle text-yellow-300 mr-1"></i>
                                        <span>1 Alert</span>
                                    </div>
                                </div>
                                <div class="flex justify-between items-center">
                                    <span>DDoS Protection</span>
                                    <div class="flex items-center">
                                        <i class="fas fa-check-circle text-green-300 mr-1"></i>
                                        <span>Active</span>
                                    </div>
                                </div>
                            </div>
                            
                            <button class="mt-6 w-full py-2 bg-blue-400 hover:bg-blue-300 rounded-lg font-medium transition-colors">
                                Run Full Scan
                            </button>
                        </div>
                    </div>
                </div>
                
                <!-- Recent Threats and Activity Log -->
                <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
                    <div class="threat-card bg-white rounded-lg shadow overflow-hidden">
                        <div class="p-6">
                            <div class="flex justify-between items-center mb-4">
                                <h2 class="text-lg font-bold text-gray-800">Recent Threats</h2>
                                <button class="text-sm text-blue-600 hover:text-blue-800">View All</button>
                            </div>
                            
                            <div class="space-y-4">
                                <div class="flex items-start">
                                    <div class="p-2 rounded-full bg-red-100 text-red-500 mr-3">
                                        <i class="fas fa-skull-crossbones"></i>
                                    </div>
                                    <div class="flex-1">
                                        <div class="flex justify-between">
                                            <p class="font-medium">SQL Injection Attempt</p>
                                            <span class="text-xs text-gray-500">2 min ago</span>
                                        </div>
                                        <p class="text-sm text-gray-600">From: 192.168.1.45 (Internal)</p>
                                        <p class="text-xs text-gray-500 mt-1">Target: Customer Database</p>
                                    </div>
                                </div>
                                
                                <div class="flex items-start">
                                    <div class="p-2 rounded-full bg-orange-100 text-orange-500 mr-3">
                                        <i class="fas fa-bug"></i>
                                    </div>
                                    <div class="flex-1">
                                        <div class="flex justify-between">
                                            <p class="font-medium">Brute Force Attack</p>
                                            <span class="text-xs text-gray-500">15 min ago</span>
                                        </div>
                                        <p class="text-sm text-gray-600">From: 45.227.253.109 (Russia)</p>
                                        <p class="text-xs text-gray-500 mt-1">Target: Admin Login Page</p>
                                    </div>
                                </div>
                                
                                <div class="flex items-start">
                                    <div class="p-2 rounded-full bg-yellow-100 text-yellow-500 mr-3">
                                        <i class="fas fa-virus"></i>
                                    </div>
                                    <div class="flex-1">
                                        <div class="flex justify-between">
                                            <p class="font-medium">Malware Detected</p>
                                            <span class="text-xs text-gray-500">1 hour ago</span>
                                        </div>
                                        <p class="text-sm text-gray-600">File: invoice.exe</p>
                                        <p class="text-xs text-gray-500 mt-1">Location: Marketing/JohnD</p>
                                    </div>
                                </div>
                                
                                <div class="flex items-start">
                                    <div class="p-2 rounded-full bg-purple-100 text-purple-500 mr-3">
                                        <i class="fas fa-network-wired"></i>
                                    </div>
                                    <div class="flex-1">
                                        <div class="flex justify-between">
                                            <p class="font-medium">Port Scanning</p>
                                            <span class="text-xs text-gray-500">3 hours ago</span>
                                        </div>
                                        <p class="text-sm text-gray-600">From: 103.216.82.18 (China)</p>
                                        <p class="text-xs text-gray-500 mt-1">Ports: 22, 80, 443, 3389</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="activity-card bg-white rounded-lg shadow overflow-hidden">
                        <div class="p-6">
                            <div class="flex justify-between items-center mb-4">
                                <h2 class="text-lg font-bold text-gray-800">Activity Log</h2>
                                <button class="text-sm text-blue-600 hover:text-blue-800">View All</button>
                            </div>
                            
                            <div class="space-y-4 max-h-96 overflow-y-auto scrollbar-hide">
                                <div class="flex items-start">
                                    <div class="p-2 rounded-full bg-blue-100 text-blue-500 mr-3">
                                        <i class="fas fa-shield-alt"></i>
                                    </div>
                                    <div class="flex-1">
                                        <div class="flex justify-between">
                                            <p class="font-medium">Firewall Rule Updated</p>
                                            <span class="text-xs text-gray-500">5 min ago</span>
                                        </div>
                                        <p class="text-sm text-gray-600">User: admin</p>
                                        <p class="text-xs text-gray-500 mt-1">Blocked IP range: 103.216.82.0/24</p>
                                    </div>
                                </div>
                                
                                <div class="flex items-start">
                                    <div class="p-2 rounded-full bg-green-100 text-green-500 mr-3">
                                        <i class="fas fa-check-circle"></i>
                                    </div>
                                    <div class="flex-1">
                                        <div class="flex justify-between">
                                            <p class="font-medium">System Scan Completed</p>
                                            <span class="text-xs text-gray-500">27 min ago</span>
                                        </div>
                                        <p class="text-sm text-gray-600">Status: Clean</p>
                                        <p class="text-xs text-gray-500 mt-1">Scanned: 48,392 files</p>
                                    </div>
                                </div>
                                
                                <div class="flex items-start">
                                    <div class="p-2 rounded-full bg-indigo-100 text-indigo-500 mr-3">
                                        <i class="fas fa-user-plus"></i>
                                    </div>
                                    <div class="flex-1">
                                        <div class="flex justify-between">
                                            <p class="font-medium">New User Added</p>
                                            <span class="text-xs text-gray-500">1 hour ago</span>
                                        </div>
                                        <p class="text-sm text-gray-600">Username: jsmith</p>
                                        <p class="text-xs text-gray-500 mt-1">Role: Security Analyst</p>
                                    </div>
                                </div>
                                
                                <div class="flex items-start">
                                    <div class="p-2 rounded-full bg-teal-100 text-teal-500 mr-3">
                                        <i class="fas fa-cloud-download-alt"></i>
                                    </div>
                                    <div class="flex-1">
                                        <div class="flex justify-between">
                                            <p class="font-medium">Security Update</p>
                                            <span class="text-xs text-gray-500">2 hours ago</span>
                                        </div>
                                        <p class="text-sm text-gray-600">Version: 2.4.1</p>
                                        <p class="text-xs text-gray-500 mt-1">Patched 3 vulnerabilities</p>
                                    </div>
                                </div>
                                
                                <div class="flex items-start">
                                    <div class="p-2 rounded-full bg-pink-100 text-pink-500 mr-3">
                                        <i class="fas fa-lock"></i>
                                    </div>
                                    <div class="flex-1">
                                        <div class="flex justify-between">
                                            <p class="font-medium">Password Changed</p>
                                            <span class="text-xs text-gray-500">3 hours ago</span>
                                        </div>
                                        <p class="text-sm text-gray-600">User: mwilson</p>
                                        <p class="text-xs text-gray-500 mt-1">Forced password reset</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- Quick Actions -->
                <div class="bg-white rounded-lg shadow p-6 mb-6">
                    <h2 class="text-lg font-bold text-gray-800 mb-4">Quick Actions</h2>
                    
                    <div class="grid grid-cols-2 md:grid-cols-4 gap-4">
                        <button class="flex flex-col items-center p-4 rounded-lg bg-gray-50 hover:bg-gray-100 transition-colors">
                            <div class="p-3 rounded-full bg-blue-100 text-blue-500 mb-2">
                                <i class="fas fa-search"></i>
                            </div>
                            <span class="text-sm font-medium">Scan Now</span>
                        </button>
                        
                        <button class="flex flex-col items-center p-4 rounded-lg bg-gray-50 hover:bg-gray-100 transition-colors">
                            <div class="p-3 rounded-full bg-green-100 text-green-500 mb-2">
                                <i class="fas fa-shield-alt"></i>
                            </div>
                            <span class="text-sm font-medium">Enable Firewall</span>
                        </button>
                        
                        <button class="flex flex-col items-center p-4 rounded-lg bg-gray-50 hover:bg-gray-100 transition-colors">
                            <div class="p-3 rounded-full bg-purple-100 text-purple-500 mb-2">
                                <i class="fas fa-user-lock"></i>
                            </div>
                            <span class="text-sm font-medium">Lock System</span>
                        </button>
                        
                        <button class="flex flex-col items-center p-4 rounded-lg bg-gray-50 hover:bg-gray-100 transition-colors">
                            <div class="p-3 rounded-full bg-red-100 text-red-500 mb-2">
                                <i class="fas fa-bell-slash"></i>
                            </div>
                            <span class="text-sm font-medium">Silence Alerts</span>
                        </button>
                    </div>
                </div>
            </main>
        </div>
    </div>

    <script>
        // Toggle mobile menu
        document.querySelector('header button').addEventListener('click', function() {
            document.querySelector('.sidebar').classList.toggle('hidden');
            document.querySelector('.sidebar').classList.toggle('block');
        });
        
        // Simulate live threat updates
        setInterval(function() {
            const threatCount = document.querySelector('.threat-card h3');
            const currentCount = parseInt(threatCount.textContent);
            const newCount = currentCount + (Math.random() > 0.7 ? 1 : 0);
            if (newCount !== currentCount) {
                threatCount.textContent = newCount;
                threatCount.classList.add('animate-pulse');
                setTimeout(() => threatCount.classList.remove('animate-pulse'), 1000);
            }
        }, 5000);
        
        // Update security level animation
        let securityLevel = 80;
        const securityCircle = document.querySelector('circle[stroke-dashoffset]');
        
        setInterval(function() {
            securityLevel = Math.max(70, Math.min(90, securityLevel + (Math.random() * 4 - 2)));
            const offset = 283 * (1 - securityLevel / 100);
            securityCircle.setAttribute('stroke-dashoffset', offset);
            document.querySelector('.security-level text').textContent = Math.round(securityLevel) + '%';
        }, 3000);
        
        // Add blinking effect to critical alerts
        const criticalIcons = document.querySelectorAll('.fa-skull-crossbones');
        criticalIcons.forEach(icon => {
            setInterval(() => {
                icon.classList.toggle('blink');
            }, 2000);
        });
    </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=voizex/security" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>