-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
709 lines (683 loc) · 45 KB
/
index.html
File metadata and controls
709 lines (683 loc) · 45 KB
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
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>BUDGETMATE| APTECH Vision 2025</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" />
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
<link rel="stylesheet" href="index.css">
</head>
<body class="antialiased">
<div class="sidebar-overlay" id="sidebarOverlay"></div>
<header class="header-enhanced sticky-top z-40">
<div class="container-fluid h-100">
<div class="d-flex align-items-center justify-content-between gap-3 h-100 header-content">
<div class="d-flex align-items-center gap-3">
<button id="mobileToggle" class="btn btn-outline-secondary d-md-none mobile-toggle-btn btn-anim">
<i class="fa-solid fa-bars"></i>
</button>
<a class="d-flex align-items-center gap-3 text-decoration-none logo-container" href="#">
<div class="rounded-lg p-2" style="width:52px;height:52px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--primary),#1f8fb7); border-radius:12px;">
<i class="fa-solid fa-wallet text-white fa-lg"></i>
</div>
<div class="d-none d-md-block">
<div class="fw-bold" style="letter-spacing:.4px">Budget <span class="text-primary">Tracker</span></div>
<div class="small muted">Batch 2505d</div>
</div>
</a>
</div>
<div class="search-container d-flex">
<i class="fa-solid fa-magnifying-glass search-icon"></i>
<input id="globalSearch" class="form-control search-input" placeholder="Search transactions, categories, notes..." aria-label="search" />
</div>
<div class="d-flex align-items-center gap-3 header-actions">
<div class="position-relative d-none d-md-block">
<button class="btn btn-outline-primary rounded-circle d-flex align-items-center justify-content-center btn-anim" style="width: 40px; height: 40px;" data-bs-toggle="tooltip" title="Notifications">
<i class="fa-solid fa-bell"></i>
</button>
<span class="notification-badge">3</span>
</div>
<div class="dropdown">
<a href="#" class="d-flex align-items-center text-decoration-none profile-dropdown" id="profileDrop" data-bs-toggle="dropdown" aria-expanded="false">
<div class="position-relative">
<img src="https://i.pravatar.cc/40" class="rounded-circle me-2" alt="avatar" style="border: 2px solid rgba(41,171,226,0.2);" />
<span class="position-absolute bottom-0 end-0 p-1 bg-success border border-2 border-white rounded-circle" style="width: 12px; height: 12px;"></span>
</div>
<div class="d-none d-md-block text-end profile-info">
<div class="fw-semibold">Lorem Impsum</div>
<div class="small muted">Personal</div>
</div>
<i class="fa-solid fa-chevron-down small ms-1 muted"></i>
</a>
<ul class="dropdown-menu dropdown-menu-enhanced shadow dropdown-menu-end" aria-labelledby="profileDrop">
<li><a class="dropdown-item dropdown-item-enhanced" href="#"><i class="fa-solid fa-user me-2 text-primary"></i>Profile</a></li>
<li><a class="dropdown-item dropdown-item-enhanced" href="#"><i class="fa-solid fa-gear me-2 text-primary"></i>Settings</a></li>
<li><a class="dropdown-item dropdown-item-enhanced" href="#"><i class="fa-solid fa-shield me-2 text-primary"></i>Privacy</a></li>
<li><hr class="dropdown-divider-enhanced"></li>
<li><a class="dropdown-item dropdown-item-enhanced text-danger" href="#"><i class="fa-solid fa-right-from-bracket me-2"></i>Sign out</a></li>
</ul>
</div>
</div>
</div>
</div>
</header>
<div class="container-fluid mt-3">
<div class="row gx-4">
<aside id="sidebar" class="col-12 col-md-3 col-lg-2 mb-4 d-md-block d-none">
<div class="card glass p-3 aside-fixed card-anim">
<nav class="nav flex-column gap-1">
<a class="nav-link active tab-underline d-flex align-items-center gap-2" data-tab="overview" href="#">
<i class="fa-solid fa-house" style="width: 20px;"></i> Overview
</a>
<a class="nav-link tab-underline d-flex align-items-center gap-2" data-tab="transactions" href="#">
<i class="fa-solid fa-credit-card" style="width: 20px;"></i> Transactions
</a>
<a class="nav-link tab-underline d-flex align-items-center gap-2" data-tab="budget" href="#">
<i class="fa-solid fa-list-check" style="width: 20px;"></i> Budgets
</a>
<a class="nav-link tab-underline d-flex align-items-center gap-2" data-tab="goals" href="#">
<i class="fa-solid fa-flag-checkered" style="width: 20px;"></i> Goals
</a>
<a class="nav-link tab-underline d-flex align-items-center gap-2" data-tab="reports" href="#">
<i class="fa-solid fa-chart-column" style="width: 20px;"></i> Reports
</a>
<a class="nav-link tab-underline d-flex align-items-center gap-2" data-tab="insights" href="#">
<i class="fa-solid fa-lightbulb" style="width: 20px;"></i> Insights
</a>
<a class="nav-link tab-underline d-flex align-items-center gap-2" data-tab="settings" href="#">
<i class="fa-solid fa-gear" style="width: 20px;"></i> Settings
</a>
<div class="mt-3 border-top pt-3 small muted">Shortcuts</div>
<div class="d-flex gap-2 mt-2">
<button class="btn btn-sm btn-outline-primary w-100" id="addTxnBtn">
<i class="fa-solid fa-plus"></i> Add
</button>
<button class="btn btn-sm btn-primary w-100">
<i class="fa-solid fa-download"></i> Export
</button>
</div>
</nav>
</div>
<div class="mt-3 d-none d-md-block">
<div class="card p-3 card-anim">
<div class="d-flex justify-content-between align-items-center">
<div>
<div class="small muted">Remaining Budget</div>
<div class="h5 fw-bold">$1,120.50</div>
</div>
<div class="text-end">
<div class="small muted">Savings</div>
<div class="fw-semibold text-success">$1,380.00</div>
</div>
</div>
<div class="progress mt-3" style="height:10px">
<div class="progress-bar bg-primary" role="progressbar" style="width:55%"></div>
</div>
<div class="small muted mt-2">55% of monthly budget used</div>
</div>
</div>
</aside>
<main class="col-12 col-md-9 col-lg-10">
<div class="d-md-none mb-3 mobile-spacing">
<div class="nav mobile-nav-pills d-flex gap-2">
<a class="nav-link mobile-nav-link active" data-tab="overview" href="#">Overview</a>
<a class="nav-link mobile-nav-link" data-tab="transactions" href="#">Transactions</a>
<a class="nav-link mobile-nav-link" data-tab="budget" href="#">Budgets</a>
<a class="nav-link mobile-nav-link" data-tab="goals" href="#">Goals</a>
<a class="nav-link mobile-nav-link" data-tab="reports" href="#">Reports</a>
</div>
</div>
<section id="overview" class="tab-section fade-up">
<div class="d-flex justify-content-between align-items-start gap-3 mb-3 mobile-spacing">
<div>
<h2 class="h4">Financial Dashboard</h2>
<div class="small muted">Snapshot of your finances — updated Sep 2025</div>
</div>
<div class="d-flex gap-2">
<select class="form-select form-select-sm" id="overviewRange">
<option value="this">This month</option>
<option value="last">Last month</option>
<option value="ytd">Year to date</option>
</select>
<button class="btn btn-outline-secondary btn-sm" data-bs-toggle="tooltip" title="Filter">
<i class="fa-solid fa-filter"></i>
</button>
</div>
</div>
<div class="row g-3 mb-3">
<div class="col-12 col-sm-6 col-lg-3">
<div class="card p-3 card-anim card-hover-lift scroll-animate">
<div class="d-flex justify-content-between align-items-center">
<div>
<div class="small muted">Total Income</div>
<div class="h5 fw-bold">$4,250.00</div>
</div>
<div class="icon-circle">
<i class="fa-solid fa-arrow-up-right"></i>
</div>
</div>
<div class="mt-3 small muted">+8% vs last month</div>
</div>
</div>
<div class="col-12 col-sm-6 col-lg-3">
<div class="card p-3 card-anim card-hover-lift scroll-animate delay-1">
<div class="d-flex justify-content-between align-items-center">
<div>
<div class="small muted">Total Expenses</div>
<div class="h5 fw-bold text-danger">$2,870.00</div>
</div>
<div class="icon-circle">
<i class="fa-solid fa-arrow-down-right text-danger"></i>
</div>
</div>
<div class="mt-3 small muted">Budget used 55%</div>
</div>
</div>
<div class="col-12 col-sm-6 col-lg-3">
<div class="card p-3 card-anim card-hover-lift scroll-animate delay-2">
<div class="d-flex justify-content-between align-items-center">
<div>
<div class="small muted">Total Savings</div>
<div class="h5 fw-bold">$1,380.00</div>
</div>
<div class="icon-circle">
<i class="fa-solid fa-piggy-bank"></i>
</div>
</div>
<div class="mt-3 small muted">Goal progress 50%</div>
</div>
</div>
<div class="col-12 col-sm-6 col-lg-3">
<div class="card p-3 card-anim card-hover-lift scroll-animate delay-3">
<div class="d-flex justify-content-between align-items-center">
<div>
<div class="small muted">Remaining Budget</div>
<div class="h5 fw-bold">$1,120.50</div>
</div>
<div class="icon-circle">
<i class="fa-solid fa-wallet"></i>
</div>
</div>
<div class="mt-3 small muted">Adjust budgets in settings</div>
</div>
</div>
</div>
<div class="row g-3 mb-4">
<div class="col-12 col-lg-8">
<div class="card p-3 card-anim card-hover-lift scroll-animate">
<div class="d-flex justify-content-between align-items-center mb-3">
<h3 class="h6 mb-0">Spending by Category</h3>
<div class="small muted">Last 6 months</div>
</div>
<div class="chart-placeholder" id="spendingChart">
<div>
<apexchart width="500" type="line" :options="options" :series="series"></apexchart>
</div>
</div>
<div class="row mt-3 text-center">
<div class="col-4">
<div class="fw-semibold">Housing</div>
<div class="small muted">$1,200</div>
</div>
<div class="col-4">
<div class="fw-semibold">Food</div>
<div class="small muted">$375</div>
</div>
<div class="col-4">
<div class="fw-semibold">Transport</div>
<div class="small muted">$180</div>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-4">
<div class="card p-3 card-anim card-hover-lift scroll-animate delay-1">
<h3 class="h6">Upcoming Payments</h3>
<ul class="list-group list-group-flush mt-2">
<li class="list-group-item d-flex justify-content-between align-items-center">
<div>
<div class="fw-semibold">Electricity Bill</div>
<div class="small muted">Due: Oct 15, 2025</div>
</div>
<div class="fw-semibold text-danger">-$85.00</div>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
<div>
<div class="fw-semibold">Netflix Subscription</div>
<div class="small muted">Due: Oct 17, 2025</div>
</div>
<div class="fw-semibold text-danger">-$15.99</div>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
<div>
<div class="fw-semibold">Car Insurance</div>
<div class="small muted">Due: Oct 22, 2025</div>
</div>
<div class="fw-semibold text-danger">-$125.00</div>
</li>
</ul>
<div class="mt-3 d-flex gap-2">
<button class="btn btn-sm btn-outline-primary w-100 btn-anim">
<i class="fa-solid fa-calendar-check"></i> Schedule
</button>
<button class="btn btn-sm btn-primary w-100 btn-anim" id="viewAllPayments">
<i class="fa-solid fa-list"></i> View all
</button>
</div>
</div>
</div>
</div>
</section>
<section id="transactions" class="tab-section hidden-section fade-up d-none">
<div class="d-flex justify-content-between align-items-center mb-3 mobile-spacing">
<h2 class="h5">Transaction Management</h2>
<div class="d-flex gap-2">
<div class="btn-group btn-group-sm" role="group" aria-label="filters">
<button class="btn btn-outline-secondary btn-anim" id="filterAll">All</button>
<button class="btn btn-outline-secondary btn-anim" id="filterIncome">Income</button>
<button class="btn btn-outline-secondary btn-anim" id="filterExpense">Expense</button>
</div>
<button class="btn btn-primary btn-sm btn-anim" id="addTxnBtn2">
<i class="fa-solid fa-plus"></i> Add transaction
</button>
</div>
</div>
<div class="card p-3 card-anim card-hover-lift">
<ul class="nav nav-tabs mb-3" role="tablist">
<li class="nav-item"><button class="nav-link active" data-bs-toggle="tab" data-bs-target="#addTab">Add</button></li>
<li class="nav-item"><button class="nav-link" data-bs-toggle="tab" data-bs-target="#historyTab">History</button></li>
<li class="nav-item"><button class="nav-link" data-bs-toggle="tab" data-bs-target="#recurringTab">Recurring</button></li>
<li class="nav-item"><button class="nav-link" data-bs-toggle="tab" data-bs-target="#importTab">Import</button></li>
</ul>
<div class="tab-content">
<div class="tab-pane fade show active" id="addTab">
<form class="row g-3">
<div class="col-md-3">
<label class="form-label">Type</label>
<select class="form-select form-select-sm" id="txnType">
<option value="income">Income</option>
<option value="expense">Expense</option>
</select>
</div>
<div class="col-md-3">
<label class="form-label">Amount</label>
<input class="form-control form-control-sm" type="number" id="txnAmount" placeholder="0.00" />
</div>
<div class="col-md-3">
<label class="form-label">Category</label>
<select class="form-select form-select-sm" id="txnCategory">
<option>Salary</option>
<option>Food</option>
<option>Transport</option>
<option>Utilities</option>
</select>
</div>
<div class="col-md-3">
<label class="form-label">Date</label>
<input class="form-control form-control-sm" type="date" id="txnDate" />
</div>
<div class="col-12">
<label class="form-label">Description</label>
<input class="form-control form-control-sm" placeholder="Notes" id="txnNote" />
</div>
<div class="col-12 d-flex gap-2 justify-content-end">
<button type="reset" class="btn btn-outline-secondary btn-sm">Clear</button>
<button type="button" class="btn btn-primary btn-sm" id="saveTxn">Add Transaction</button>
</div>
</form>
</div>
<div class="tab-pane fade" id="historyTab">
<div class="table-responsive">
<table class="table table-hover align-middle" id="transactionsTable">
<thead>
<tr>
<th>Date</th>
<th>Description</th>
<th>Category</th>
<th>Type</th>
<th class="text-end">Amount</th>
</tr>
</thead>
<tbody>
<tr>
<td>Sep 10, 2025</td>
<td>Monthly Salary</td>
<td>Salary</td>
<td><span class="badge bg-success">Income</span></td>
<td class="text-end text-success">+$3,500.00</td>
</tr>
<tr>
<td>Sep 08, 2025</td>
<td>Grocery Shopping</td>
<td>Food</td>
<td><span class="badge bg-danger">Expense</span></td>
<td class="text-end text-danger">-$125.50</td>
</tr>
<tr>
<td>Sep 05, 2025</td>
<td>Internet Bill</td>
<td>Utilities</td>
<td><span class="badge bg-danger">Expense</span></td>
<td class="text-end text-danger">-$79.99</td>
</tr>
<tr>
<td>Sep 01, 2025</td>
<td>Freelance Project</td>
<td>Side Income</td>
<td><span class="badge bg-success">Income</span></td>
<td class="text-end text-success">+$750.00</td>
</tr>
<tr>
<td>Aug 29, 2025</td>
<td>Fuel</td>
<td>Transport</td>
<td><span class="badge bg-danger">Expense</span></td>
<td class="text-end text-danger">-$45.00</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="tab-pane fade" id="recurringTab">
<div class="p-3 muted">Recurring transactions help automate monthly costs. Example:</div>
<ul class="list-group list-group-flush mt-2">
<li class="list-group-item d-flex justify-content-between align-items-center">
<div>
<div class="fw-semibold">Netflix — Monthly</div>
<div class="small muted">Next: Oct 17, 2025</div>
</div>
<div class="fw-semibold text-danger">-$15.99</div>
</li>
</ul>
</div>
<div class="tab-pane fade" id="importTab">
<div class="p-3">
<label class="form-label">Import CSV</label>
<input class="form-control form-control-sm" type="file" accept=".csv" id="csvImport" />
<div class="small muted mt-2">Supported columns: date, description, category, amount</div>
</div>
</div>
</div>
</div>
</section>
<section id="budget" class="tab-section hidden-section fade-up d-none">
<div class="d-flex justify-content-between align-items-center mb-3 mobile-spacing">
<h2 class="h5">Budget Tracking</h2>
<div class="small muted">Manage monthly budgets and alerts</div>
</div>
<div class="row g-3">
<div class="col-12 col-lg-8">
<div class="card p-3 card-anim">
<h3 class="h6">Category Budgets</h3>
<div class="mt-3">
<div class="d-flex align-items-center justify-content-between mb-3">
<div>
<div class="fw-semibold">Housing</div>
<div class="small muted">$1,200 / $1,200</div>
</div>
<div class="w-50 ms-3">
<div class="progress" style="height:10px">
<div class="progress-bar bg-danger" style="width:100%"></div>
</div>
</div>
<div class="ms-3 fw-semibold text-danger">100%</div>
</div>
<div class="d-flex align-items-center justify-content-between mb-3">
<div>
<div class="fw-semibold">Food</div>
<div class="small muted">$375.50 / $500</div>
</div>
<div class="w-50 ms-3">
<div class="progress" style="height:10px">
<div class="progress-bar bg-warning" style="width:75%"></div>
</div>
</div>
<div class="ms-3 fw-semibold text-warning">75%</div>
</div>
<div class="d-flex align-items-center justify-content-between mb-3">
<div>
<div class="fw-semibold">Transport</div>
<div class="small muted">$180 / $300</div>
</div>
<div class="w-50 ms-3">
<div class="progress" style="height:10px">
<div class="progress-bar bg-success" style="width:60%"></div>
</div>
</div>
<div class="ms-3 fw-semibold text-success">60%</div>
</div>
<div class="d-flex align-items-center justify-content-between mb-3">
<div>
<div class="fw-semibold">Entertainment</div>
<div class="small muted">$70 / $150</div>
</div>
<div class="w-50 ms-3">
<div class="progress" style="height:10px">
<div class="progress-bar bg-primary" style="width:46%"></div>
</div>
</div>
<div class="ms-3 fw-semibold text-primary">46%</div>
</div>
</div>
<div class="mt-3 d-flex gap-2 justify-content-end">
<button class="btn btn-outline-secondary btn-sm btn-anim">Edit categories</button>
<button class="btn btn-primary btn-sm btn-anim">Add category</button>
</div>
</div>
</div>
<div class="col-12 col-lg-4">
<div class="card p-3 card-anim">
<h3 class="h6">Monthly Summary</h3>
<div class="chart-placeholder" id="budgetProgressChart">
<div>
<apexchart width="500" type="donut" :options="options" :series="series"></apexchart>
</div>
</div>
<div class="mt-3">
<div class="d-flex justify-content-between">
<div class="small muted">Income</div>
<div class="fw-semibold">$4,250</div>
</div>
<div class="d-flex justify-content-between">
<div class="small muted">Expenses</div>
<div class="fw-semibold text-danger">$2,870</div>
</div>
<div class="d-flex justify-content-between">
<div class="small muted">Savings</div>
<div class="fw-semibold text-success">$1,380</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="goals" class="tab-section hidden-section fade-up d-none">
<div class="d-flex justify-content-between align-items-center mb-3 mobile-spacing">
<h2 class="h5">Financial Goals</h2>
<button class="btn btn-primary btn-sm btn-anim">Create Goal</button>
</div>
<div class="row g-3">
<div class="col-12 col-md-6 col-lg-4">
<div class="card p-3 card-anim">
<div class="d-flex justify-content-between align-items-start">
<div>
<div class="fw-semibold">Emergency Fund</div>
<div class="small muted">$2,500 / $5,000</div>
</div>
<div class="fw-bold">50%</div>
</div>
<div class="goal mt-3">
<div class="progress" style="height:12px">
<div class="progress-bar bg-primary" style="width:50%"></div>
</div>
</div>
<div class="mt-2 small muted">Target: Dec 2025</div>
</div>
</div>
</div>
<div class="row g-3">
<div class="col-12 col-md-6 col-lg-4">
<div class="card p-3 card-anim">
<div class="d-flex justify-content-between align-items-end">
<div>
<div class="fw-semibold">Home Fund</div>
<div class="small muted">$4,500 / $5,000</div>
</div>
<div class="fw-bold">90%</div>
</div>
<div class="goal mt-3">
<div class="progress" style="height:12px">
<div class="progress-bar bg-primary" style="width:90%"></div>
</div>
</div>
<div class="mt-2 small muted">Target: Dec 2026</div>
</div>
</div>
</div>
</section>
<section id="reports" class="tab-section hidden-section fade-up d-none">
<h2 class="h5 mb-3">Reports</h2>
<div class="row g-3">
<div class="col-12 col-lg-6">
<div class="card p-3 card-anim">
<h3 class="h6">Income vs Expenses</h3>
<div class="chart-placeholder" id="incomeExpenseChart">
<div>
<apexchart width="500" type="bar" :options="options" :series="series"></apexchart>
</div>
</div>
<div class="mt-3 small muted">Monthly breakdown</div>
</div>
</div>
<div class="col-12 col-lg-6">
<div class="card p-3 card-anim">
<h3 class="h6">Savings Progress</h3>
<div class="chart-placeholder" id="savingsChart" >
<div>
<apexchart width="500" type="line" :options="options" :series="series"></apexchart>
</div>
</div>
<div class="mt-3 small muted">Goal progress and projection</div>
</div>
</div>
</div>
</section>
<section id="insights" class="tab-section hidden-section fade-up d-none">
<h2 class="h5 mb-3">Insights</h2>
<div class="card p-3 card-anim">
<ul class="list-unstyled mb-0">
<li class="mb-3 d-flex gap-3 align-items-start">
<div class="icon-circle"><i class="fa-solid fa-circle-info"></i></div>
<div>
<div class="fw-semibold">Spending alert</div>
<div class="small muted">Your food spending is up <strong>15%</strong> vs last month. Consider lowering dining-out frequency.</div>
</div>
</li>
<li class="mb-3 d-flex gap-3 align-items-start">
<div class="icon-circle"><i class="fa-solid fa-thumbs-up"></i></div>
<div>
<div class="fw-semibold">Good job</div>
<div class="small muted">You saved <strong>20%</strong> more this month compared to July.</div>
</div>
</li>
<li class="mb-0 d-flex gap-3 align-items-start">
<div class="icon-circle"><i class="fa-solid fa-robot"></i></div>
<div>
<div class="fw-semibold">AI suggestion</div>
<div class="small muted">Round up transactions to the nearest $1 and move spare change to Emergency Fund — estimated +$35/month.</div>
</div>
</li>
</ul>
</div>
</section>
<section id="settings" class="tab-section hidden-section fade-up d-none">
<h2 class="h5 mb-3">Settings</h2>
<div class="card p-3 card-anim">
<div class="row g-3">
<div class="col-md-6">
<label class="form-label">Currency</label>
<select class="form-select form-select-sm" id="currencySelect">
<option>USD</option>
<option>PKR</option>
</select>
</div>
<div class="col-md-6">
<label class="form-label">Notifications</label>
<select class="form-select form-select-sm">
<option>All</option>
<option>Critical only</option>
</select>
</div>
<div class="col-md-6">
<label class="form-label">Profile name</label>
<input class="form-control form-control-sm" value="Lorem Impsum" />
</div>
<div class="col-md-6">
<label class="form-label">Default view</label>
<select class="form-select form-select-sm">
<option>Overview</option>
<option>Transactions</option>
</select>
</div>
<div class="col-12">
<div class="d-flex gap-2 justify-content-end mt-2">
<button class="btn btn-outline-secondary btn-sm btn-anim">Reset</button>
<button class="btn btn-primary btn-sm btn-anim">Save settings</button>
</div>
</div>
</div>
</div>
</section>
</main>
</div>
</div>
<div class="modal fade" id="addTxnModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content rounded-xl">
<div class="modal-header">
<h5 class="modal-title">Add Transaction</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form id="modalTxnForm">
<div class="mb-2">
<label class="form-label">Type</label>
<select class="form-select form-select-sm" id="modalType">
<option>Income</option>
<option>Expense</option>
</select>
</div>
<div class="mb-2 row gx-2">
<div class="col-6">
<label class="form-label">Amount</label>
<input class="form-control form-control-sm" type="number" id="modalAmount" />
</div>
<div class="col-6">
<label class="form-label">Date</label>
<input class="form-control form-control-sm" type="date" id="modalDate" />
</div>
</div>
<div class="mb-2">
<label class="form-label">Category</label>
<input class="form-control form-control-sm" id="modalCategory" />
</div>
<div class="mb-2">
<label class="form-label">Note</label>
<input class="form-control form-control-sm" id="modalNote" />
</div>
</form>
</div>
<div class="modal-footer">
<button class="btn btn-outline-secondary btn-sm" data-bs-dismiss="modal">Cancel</button>
<button class="btn btn-primary btn-sm" id="modalSave">Save</button>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
<script src="index.js"></script>
</body>
</html>