File size: 28,824 Bytes
acc38b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>MESP - Modern Efficient Savings Platform</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        /* Custom CSS for elements that need more specific styling */
        .gradient-bg {
            background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
        }
        .dashboard-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        .savings-progress {
            height: 8px;
            border-radius: 4px;
        }
        .nav-item.active {
            border-left: 4px solid #3b82f6;
            background-color: rgba(59, 130, 246, 0.1);
        }
        .transaction-history {
            max-height: 400px;
            overflow-y: auto;
        }
        /* Custom scrollbar */
        .transaction-history::-webkit-scrollbar {
            width: 6px;
        }
        .transaction-history::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        .transaction-history::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 3px;
        }
        .transaction-history::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }
    </style>
</head>
<body class="bg-gray-50">
    <div class="flex h-screen overflow-hidden">
        <!-- Sidebar -->
        <div class="hidden md:flex md:flex-shrink-0">
            <div class="flex flex-col w-64 gradient-bg text-white">
                <div class="flex items-center justify-center h-16 px-4 border-b border-blue-800">
                    <div class="flex items-center">
                        <i class="fas fa-piggy-bank text-2xl mr-2 text-blue-200"></i>
                        <span class="text-xl font-bold">MESP</span>
                    </div>
                </div>
                <div class="flex flex-col flex-grow px-4 py-4">
                    <div class="flex items-center px-4 py-3 mt-2 rounded-lg nav-item active">
                        <i class="fas fa-home mr-3"></i>
                        <span>Dashboard</span>
                    </div>
                    <div class="flex items-center px-4 py-3 mt-2 rounded-lg nav-item">
                        <i class="fas fa-wallet mr-3"></i>
                        <span>Savings</span>
                    </div>
                    <div class="flex items-center px-4 py-3 mt-2 rounded-lg nav-item">
                        <i class="fas fa-hand-holding-usd mr-3"></i>
                        <span>Loans</span>
                    </div>
                    <div class="flex items-center px-4 py-3 mt-2 rounded-lg nav-item">
                        <i class="fas fa-exchange-alt mr-3"></i>
                        <span>Transactions</span>
                    </div>
                    <div class="flex items-center px-4 py-3 mt-2 rounded-lg nav-item">
                        <i class="fas fa-chart-line mr-3"></i>
                        <span>Reports</span>
                    </div>
                    <div class="flex items-center px-4 py-3 mt-2 rounded-lg nav-item">
                        <i class="fas fa-users mr-3"></i>
                        <span>Members</span>
                    </div>
                    <div class="flex items-center px-4 py-3 mt-2 rounded-lg nav-item">
                        <i class="fas fa-cog mr-3"></i>
                        <span>Settings</span>
                    </div>
                </div>
                <div class="px-4 py-4 border-t border-blue-800">
                    <div class="flex items-center">
                        <img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile">
                        <div class="ml-3">
                            <p class="text-sm font-medium">Jane Cooper</p>
                            <p class="text-xs text-blue-200">Admin</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Main Content -->
        <div class="flex flex-col flex-1 overflow-hidden">
            <!-- Top Navigation -->
            <div class="flex items-center justify-between h-16 px-4 bg-white border-b border-gray-200">
                <div class="flex items-center md:hidden">
                    <button class="text-gray-500 focus:outline-none">
                        <i class="fas fa-bars"></i>
                    </button>
                </div>
                <div class="flex items-center">
                    <div class="relative">
                        <input type="text" class="w-full md:w-64 px-4 py-2 pl-10 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent" placeholder="Search...">
                        <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
                    </div>
                </div>
                <div class="flex items-center">
                    <button class="p-2 text-gray-500 rounded-full hover:bg-gray-100 focus:outline-none">
                        <i class="fas fa-bell"></i>
                    </button>
                    <button class="p-2 ml-2 text-gray-500 rounded-full hover:bg-gray-100 focus:outline-none">
                        <i class="fas fa-envelope"></i>
                    </button>
                    <div class="ml-4 relative">
                        <button class="flex items-center focus:outline-none">
                            <img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile">
                            <span class="ml-2 hidden md:inline">Jane Cooper</span>
                            <i class="fas fa-chevron-down ml-1 text-gray-500 hidden md:inline"></i>
                        </button>
                    </div>
                </div>
            </div>

            <!-- Main Content Area -->
            <div class="flex-1 overflow-auto p-4 bg-gray-50">
                <div class="mb-6">
                    <h1 class="text-2xl font-bold text-gray-800">Dashboard</h1>
                    <p class="text-gray-600">Welcome back, Jane! Here's your financial overview.</p>
                </div>

                <!-- Stats Cards -->
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
                    <div class="bg-white rounded-lg shadow-sm p-6 dashboard-card transition duration-300">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm font-medium text-gray-500">Total Savings</p>
                                <h3 class="text-2xl font-bold mt-1">Ksh 245,890</h3>
                            </div>
                            <div class="p-3 rounded-full bg-blue-100 text-blue-600">
                                <i class="fas fa-piggy-bank text-xl"></i>
                            </div>
                        </div>
                        <div class="mt-4">
                            <div class="flex items-center justify-between text-sm">
                                <span class="text-green-600">+12.5%</span>
                                <span class="text-gray-500">vs last month</span>
                            </div>
                        </div>
                    </div>

                    <div class="bg-white rounded-lg shadow-sm p-6 dashboard-card transition duration-300">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm font-medium text-gray-500">Active Loans</p>
                                <h3 class="text-2xl font-bold mt-1">Ksh 120,500</h3>
                            </div>
                            <div class="p-3 rounded-full bg-green-100 text-green-600">
                                <i class="fas fa-hand-holding-usd text-xl"></i>
                            </div>
                        </div>
                        <div class="mt-4">
                            <div class="flex items-center justify-between text-sm">
                                <span class="text-red-600">-3.2%</span>
                                <span class="text-gray-500">vs last month</span>
                            </div>
                        </div>
                    </div>

                    <div class="bg-white rounded-lg shadow-sm p-6 dashboard-card transition duration-300">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm font-medium text-gray-500">Dividends</p>
                                <h3 class="text-2xl font-bold mt-1">Ksh 15,200</h3>
                            </div>
                            <div class="p-3 rounded-full bg-purple-100 text-purple-600">
                                <i class="fas fa-chart-pie text-xl"></i>
                            </div>
                        </div>
                        <div class="mt-4">
                            <div class="flex items-center justify-between text-sm">
                                <span class="text-green-600">+8.7%</span>
                                <span class="text-gray-500">vs last year</span>
                            </div>
                        </div>
                    </div>

                    <div class="bg-white rounded-lg shadow-sm p-6 dashboard-card transition duration-300">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm font-medium text-gray-500">New Members</p>
                                <h3 class="text-2xl font-bold mt-1">24</h3>
                            </div>
                            <div class="p-3 rounded-full bg-yellow-100 text-yellow-600">
                                <i class="fas fa-users text-xl"></i>
                            </div>
                        </div>
                        <div class="mt-4">
                            <div class="flex items-center justify-between text-sm">
                                <span class="text-green-600">+20%</span>
                                <span class="text-gray-500">vs last month</span>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Savings Goals and Recent Transactions -->
                <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
                    <!-- Savings Goals -->
                    <div class="lg:col-span-2 bg-white rounded-lg shadow-sm p-6">
                        <div class="flex items-center justify-between mb-4">
                            <h2 class="text-lg font-semibold text-gray-800">Savings Goals</h2>
                            <button class="text-sm text-blue-600 hover:text-blue-800">View All</button>
                        </div>
                        
                        <div class="space-y-4">
                            <div>
                                <div class="flex items-center justify-between mb-1">
                                    <span class="font-medium">Emergency Fund</span>
                                    <span class="text-sm text-gray-600">Ksh 45,000 / Ksh 100,000</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full savings-progress">
                                    <div class="bg-blue-600 savings-progress" style="width: 45%"></div>
                                </div>
                            </div>
                            
                            <div>
                                <div class="flex items-center justify-between mb-1">
                                    <span class="font-medium">Education Fund</span>
                                    <span class="text-sm text-gray-600">Ksh 12,500 / Ksh 50,000</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full savings-progress">
                                    <div class="bg-green-500 savings-progress" style="width: 25%"></div>
                                </div>
                            </div>
                            
                            <div>
                                <div class="flex items-center justify-between mb-1">
                                    <span class="font-medium">Retirement</span>
                                    <span class="text-sm text-gray-600">Ksh 188,390 / Ksh 500,000</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full savings-progress">
                                    <div class="bg-purple-500 savings-progress" style="width: 38%"></div>
                                </div>
                            </div>
                        </div>
                        
                        <button class="mt-6 w-full py-2 px-4 border border-dashed border-gray-300 rounded-lg text-gray-500 hover:border-blue-500 hover:text-blue-500 transition duration-200">
                            <i class="fas fa-plus mr-2"></i> Add New Goal
                        </button>
                    </div>
                    
                    <!-- Quick Actions -->
                    <div class="bg-white rounded-lg shadow-sm p-6">
                        <h2 class="text-lg font-semibold text-gray-800 mb-4">Quick Actions</h2>
                        <div class="grid grid-cols-2 gap-4">
                            <button class="flex flex-col items-center justify-center p-4 rounded-lg border border-gray-200 hover:border-blue-500 hover:bg-blue-50 transition duration-200">
                                <div class="p-3 rounded-full bg-blue-100 text-blue-600 mb-2">
                                    <i class="fas fa-plus text-lg"></i>
                                </div>
                                <span class="text-sm font-medium">Deposit</span>
                            </button>
                            <button class="flex flex-col items-center justify-center p-4 rounded-lg border border-gray-200 hover:border-green-500 hover:bg-green-50 transition duration-200">
                                <div class="p-3 rounded-full bg-green-100 text-green-600 mb-2">
                                    <i class="fas fa-minus text-lg"></i>
                                </div>
                                <span class="text-sm font-medium">Withdraw</span>
                            </button>
                            <button class="flex flex-col items-center justify-center p-4 rounded-lg border border-gray-200 hover:border-purple-500 hover:bg-purple-50 transition duration-200">
                                <div class="p-3 rounded-full bg-purple-100 text-purple-600 mb-2">
                                    <i class="fas fa-hand-holding-usd text-lg"></i>
                                </div>
                                <span class="text-sm font-medium">Apply Loan</span>
                            </button>
                            <button class="flex flex-col items-center justify-center p-4 rounded-lg border border-gray-200 hover:border-yellow-500 hover:bg-yellow-50 transition duration-200">
                                <div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mb-2">
                                    <i class="fas fa-exchange-alt text-lg"></i>
                                </div>
                                <span class="text-sm font-medium">Transfer</span>
                            </button>
                        </div>
                    </div>
                </div>

                <!-- Recent Transactions and Loan Status -->
                <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
                    <!-- Recent Transactions -->
                    <div class="lg:col-span-2 bg-white rounded-lg shadow-sm p-6">
                        <div class="flex items-center justify-between mb-4">
                            <h2 class="text-lg font-semibold text-gray-800">Recent Transactions</h2>
                            <button class="text-sm text-blue-600 hover:text-blue-800">View All</button>
                        </div>
                        
                        <div class="transaction-history">
                            <div class="space-y-4">
                                <!-- Transaction Item -->
                                <div class="flex items-center justify-between p-3 hover:bg-gray-50 rounded-lg transition duration-150">
                                    <div class="flex items-center">
                                        <div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-3">
                                            <i class="fas fa-arrow-down"></i>
                                        </div>
                                        <div>
                                            <p class="font-medium">Deposit</p>
                                            <p class="text-sm text-gray-500">12 May 2023, 10:30 AM</p>
                                        </div>
                                    </div>
                                    <div class="text-right">
                                        <p class="font-medium text-green-600">+ Ksh 15,000</p>
                                        <p class="text-sm text-gray-500">Completed</p>
                                    </div>
                                </div>
                                
                                <!-- Transaction Item -->
                                <div class="flex items-center justify-between p-3 hover:bg-gray-50 rounded-lg transition duration-150">
                                    <div class="flex items-center">
                                        <div class="p-3 rounded-full bg-red-100 text-red-600 mr-3">
                                            <i class="fas fa-arrow-up"></i>
                                        </div>
                                        <div>
                                            <p class="font-medium">Withdrawal</p>
                                            <p class="text-sm text-gray-500">10 May 2023, 2:15 PM</p>
                                        </div>
                                    </div>
                                    <div class="text-right">
                                        <p class="font-medium text-red-600">- Ksh 5,000</p>
                                        <p class="text-sm text-gray-500">Completed</p>
                                    </div>
                                </div>
                                
                                <!-- Transaction Item -->
                                <div class="flex items-center justify-between p-3 hover:bg-gray-50 rounded-lg transition duration-150">
                                    <div class="flex items-center">
                                        <div class="p-3 rounded-full bg-purple-100 text-purple-600 mr-3">
                                            <i class="fas fa-hand-holding-usd"></i>
                                        </div>
                                        <div>
                                            <p class="font-medium">Loan Payment</p>
                                            <p class="text-sm text-gray-500">8 May 2023, 9:00 AM</p>
                                        </div>
                                    </div>
                                    <div class="text-right">
                                        <p class="font-medium text-green-600">+ Ksh 3,500</p>
                                        <p class="text-sm text-gray-500">Completed</p>
                                    </div>
                                </div>
                                
                                <!-- Transaction Item -->
                                <div class="flex items-center justify-between p-3 hover:bg-gray-50 rounded-lg transition duration-150">
                                    <div class="flex items-center">
                                        <div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mr-3">
                                            <i class="fas fa-exchange-alt"></i>
                                        </div>
                                        <div>
                                            <p class="font-medium">Transfer</p>
                                            <p class="text-sm text-gray-500">5 May 2023, 4:45 PM</p>
                                        </div>
                                    </div>
                                    <div class="text-right">
                                        <p class="font-medium text-red-600">- Ksh 2,000</p>
                                        <p class="text-sm text-gray-500">Completed</p>
                                    </div>
                                </div>
                                
                                <!-- Transaction Item -->
                                <div class="flex items-center justify-between p-3 hover:bg-gray-50 rounded-lg transition duration-150">
                                    <div class="flex items-center">
                                        <div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-3">
                                            <i class="fas fa-arrow-down"></i>
                                        </div>
                                        <div>
                                            <p class="font-medium">Deposit</p>
                                            <p class="text-sm text-gray-500">1 May 2023, 11:20 AM</p>
                                        </div>
                                    </div>
                                    <div class="text-right">
                                        <p class="font-medium text-green-600">+ Ksh 10,000</p>
                                        <p class="text-sm text-gray-500">Completed</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Loan Status -->
                    <div class="bg-white rounded-lg shadow-sm p-6">
                        <h2 class="text-lg font-semibold text-gray-800 mb-4">Loan Status</h2>
                        
                        <div class="space-y-4">
                            <div class="p-4 border border-gray-200 rounded-lg">
                                <div class="flex items-center justify-between mb-2">
                                    <span class="font-medium">Personal Loan</span>
                                    <span class="text-sm px-2 py-1 bg-blue-100 text-blue-800 rounded-full">Active</span>
                                </div>
                                <div class="text-sm text-gray-600 mb-2">
                                    <div class="flex justify-between mb-1">
                                        <span>Amount:</span>
                                        <span>Ksh 50,000</span>
                                    </div>
                                    <div class="flex justify-between mb-1">
                                        <span>Interest Rate:</span>
                                        <span>12% p.a.</span>
                                    </div>
                                    <div class="flex justify-between mb-1">
                                        <span>Due Date:</span>
                                        <span>15 Aug 2023</span>
                                    </div>
                                    <div class="flex justify-between">
                                        <span>Balance:</span>
                                        <span class="font-medium">Ksh 32,500</span>
                                    </div>
                                </div>
                                <div class="mt-3">
                                    <div class="w-full bg-gray-200 rounded-full h-2">
                                        <div class="bg-green-500 h-2 rounded-full" style="width: 35%"></div>
                                    </div>
                                    <div class="flex justify-between text-xs text-gray-500 mt-1">
                                        <span>35% paid</span>
                                        <span>65% remaining</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="p-4 border border-gray-200 rounded-lg">
                                <div class="flex items-center justify-between mb-2">
                                    <span class="font-medium">Business Loan</span>
                                    <span class="text-sm px-2 py-1 bg-green-100 text-green-800 rounded-full">Approved</span>
                                </div>
                                <div class="text-sm text-gray-600">
                                    <div class="flex justify-between mb-1">
                                        <span>Amount:</span>
                                        <span>Ksh 100,000</span>
                                    </div>
                                    <div class="flex justify-between mb-1">
                                        <span>Interest Rate:</span>
                                        <span>10% p.a.</span>
                                    </div>
                                    <div class="flex justify-between">
                                        <span>Disbursement:</span>
                                        <span class="text-blue-600">Pending</span>
                                    </div>
                                </div>
                                <button class="mt-3 w-full py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition duration-200 text-sm">
                                    View Details
                                </button>
                            </div>
                            
                            <button class="w-full py-2 px-4 border border-dashed border-gray-300 rounded-lg text-gray-500 hover:border-blue-500 hover:text-blue-500 transition duration-200">
                                <i class="fas fa-plus mr-2"></i> Apply for New Loan
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        // Simple JavaScript for interactive elements
        document.addEventListener('DOMContentLoaded', function() {
            // Mobile menu toggle would go here
            // For demo purposes, we'll just add a click handler to nav items
            const navItems = document.querySelectorAll('.nav-item');
            navItems.forEach(item => {
                item.addEventListener('click', function() {
                    // Remove active class from all items
                    navItems.forEach(i => i.classList.remove('active'));
                    // Add active class to clicked item
                    this.classList.add('active');
                });
            });
            
            // You would add more JavaScript here for actual functionality
            // Like form submissions, API calls, etc.
        });
    </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=brian256/mesp" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
</html>