File size: 29,976 Bytes
acc38b3
 
 
 
 
 
 
 
 
57d8560
acc38b3
57d8560
acc38b3
 
 
 
 
 
 
 
 
 
57d8560
 
acc38b3
 
 
 
 
57d8560
 
 
 
 
 
 
 
 
acc38b3
 
 
 
 
 
 
57d8560
acc38b3
 
 
57d8560
 
 
 
 
 
 
 
 
 
 
 
 
 
acc38b3
 
 
 
 
57d8560
acc38b3
 
57d8560
acc38b3
57d8560
 
acc38b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57d8560
acc38b3
 
 
 
 
 
 
 
 
 
 
 
 
 
57d8560
acc38b3
 
 
57d8560
 
acc38b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57d8560
acc38b3
 
 
 
 
 
57d8560
acc38b3
 
 
 
 
 
 
57d8560
acc38b3
 
 
 
 
 
 
 
 
 
57d8560
acc38b3
 
 
 
 
 
 
 
57d8560
acc38b3
57d8560
acc38b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57d8560
acc38b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57d8560
acc38b3
57d8560
acc38b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57d8560
acc38b3
57d8560
acc38b3
 
 
 
 
 
 
 
 
 
 
 
57d8560
acc38b3
 
 
 
 
57d8560
acc38b3
 
 
 
 
 
57d8560
acc38b3
 
57d8560
acc38b3
 
 
 
 
 
57d8560
acc38b3
 
57d8560
acc38b3
 
 
 
 
 
57d8560
acc38b3
 
57d8560
acc38b3
 
 
 
57d8560
acc38b3
 
 
 
57d8560
acc38b3
 
 
57d8560
 
acc38b3
 
 
 
 
 
 
 
 
 
57d8560
 
acc38b3
 
 
 
57d8560
 
 
acc38b3
57d8560
acc38b3
 
 
 
 
 
 
 
 
 
 
57d8560
acc38b3
 
 
 
 
 
 
57d8560
acc38b3
 
 
57d8560
acc38b3
 
 
 
57d8560
 
acc38b3
 
 
 
 
 
 
 
 
 
57d8560
acc38b3
 
 
 
57d8560
 
acc38b3
 
 
 
 
 
57d8560
acc38b3
 
 
 
 
 
 
 
57d8560
 
acc38b3
 
 
 
 
 
57d8560
acc38b3
 
 
57d8560
acc38b3
 
 
 
57d8560
 
acc38b3
 
 
 
 
 
57d8560
acc38b3
 
 
57d8560
acc38b3
 
 
 
57d8560
 
acc38b3
 
 
 
 
 
 
 
 
 
 
 
 
57d8560
 
acc38b3
 
 
 
57d8560
acc38b3
 
 
57d8560
acc38b3
 
 
 
 
 
 
57d8560
acc38b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57d8560
 
acc38b3
 
 
 
57d8560
acc38b3
 
 
57d8560
acc38b3
 
 
57d8560
acc38b3
 
57d8560
acc38b3
 
 
 
57d8560
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
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
<!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 with Ugandan color theme */
        .gradient-bg {
            background: linear-gradient(135deg, #FFCC00 0%, #D90000 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 #D90000;
            background-color: rgba(217, 0, 0, 0.1);
        }
        .transaction-history {
            max-height: 400px;
            overflow-y: auto;
        }
        /* Crest styling */
        .ug-crest {
            width: 40px;
            height: 40px;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="%23FFCC00" stroke="%23D90000" stroke-width="2"/><text x="50" y="55" font-family="Arial" font-size="40" text-anchor="middle" fill="%23D90000">U</text></svg>');
            background-size: contain;
            margin-right: 10px;
        }
        /* Custom scrollbar in Ugandan colors */
        .transaction-history::-webkit-scrollbar {
            width: 6px;
        }
        .transaction-history::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        .transaction-history::-webkit-scrollbar-thumb {
            background: #D90000;
            border-radius: 3px;
        }
        .transaction-history::-webkit-scrollbar-thumb:hover {
            background: #FFCC00;
        }
        /* Ugandan flag inspired status colors */
        .status-active {
            background-color: rgba(0, 128, 0, 0.1);
            color: #008000;
        }
        .status-pending {
            background-color: rgba(217, 0, 0, 0.1);
            color: #D90000;
        }
        .status-completed {
            background-color: rgba(0, 0, 139, 0.1);
            color: #00008B;
        }
    </style>
</head>
<body class="bg-gray-50">
    <div class="flex h-screen overflow-hidden">
        <!-- Sidebar with Ugandan color theme -->
        <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-yellow-300">
                    <div class="flex items-center">
                        <div class="ug-crest"></div>
                        <span class="text-xl font-bold">MESP UGANDA</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>Mobile Money</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-yellow-300">
                    <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">Nakato Kintu</p>
                            <p class="text-xs text-yellow-200">Branch Manager</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-red-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>
                        <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
                    </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">Nakato Kintu</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, Nakato! 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">UGX 12,450,890</h3>
                            </div>
                            <div class="p-3 rounded-full bg-yellow-100 text-yellow-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">UGX 7,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">UGX 1,520,200</h3>
                            </div>
                            <div class="p-3 rounded-full bg-red-100 text-red-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">45</h3>
                            </div>
                            <div class="p-3 rounded-full bg-blue-100 text-blue-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 Quick Actions -->
                <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-red-600 hover:text-red-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">UGX 450,000 / UGX 1,000,000</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full savings-progress">
                                    <div class="bg-yellow-500 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">UGX 250,000 / UGX 500,000</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full savings-progress">
                                    <div class="bg-red-500 savings-progress" style="width: 50%"></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">UGX 3,880,390 / UGX 10,000,000</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full savings-progress">
                                    <div class="bg-blue-500 savings-progress" style="width: 39%"></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-red-500 hover:text-red-500 transition duration-200">
                            <i class="fas fa-plus mr-2"></i> Add New Goal
                        </button>
                    </div>
                    
                    <!-- Quick Actions with Mobile Money option -->
                    <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-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-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-red-500 hover:bg-red-50 transition duration-200">
                                <div class="p-3 rounded-full bg-red-100 text-red-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-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-mobile-alt text-lg"></i>
                                </div>
                                <span class="text-sm font-medium">Mobile Money</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-red-600 hover:text-red-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-yellow-100 text-yellow-600 mr-3">
                                            <i class="fas fa-arrow-down"></i>
                                        </div>
                                        <div>
                                            <p class="font-medium">MTN Mobile Money</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">+ UGX 500,000</p>
                                        <p class="text-sm status-completed rounded px-2 py-1">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">Airtel Money 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">- UGX 250,000</p>
                                        <p class="text-sm status-completed rounded px-2 py-1">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-green-100 text-green-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">+ UGX 150,000</p>
                                        <p class="text-sm status-completed rounded px-2 py-1">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-exchange-alt"></i>
                                        </div>
                                        <div>
                                            <p class="font-medium">Bank 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">- UGX 1,000,000</p>
                                        <p class="text-sm status-completed rounded px-2 py-1">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-arrow-down"></i>
                                        </div>
                                        <div>
                                            <p class="font-medium">Cash 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">+ UGX 750,000</p>
                                        <p class="text-sm status-pending rounded px-2 py-1">Pending</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">Business Expansion</span>
                                    <span class="text-sm px-2 py-1 status-active 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>UGX 5,000,000</span>
                                    </div>
                                    <div class="flex justify-between mb-1">
                                        <span>Interest Rate:</span>
                                        <span>15% 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">UGX 3,250,000</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">Agriculture Loan</span>
                                    <span class="text-sm px-2 py-1 status-pending rounded-full">Approved</span>
                                </div>
                                <div class="text-sm text-gray-600">
                                    <div class="flex justify-between mb-1">
                                        <span>Amount:</span>
                                        <span>UGX 3,000,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">
                                        <span>Disbursement:</span>
                                        <span class="text-red-600">Pending</span>
                                    </div>
                                </div>
                                <button class="mt-3 w-full py-2 bg-red-600 text-white rounded-lg hover:bg-red-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-red-500 hover:text-red-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>