File size: 69,150 Bytes
222ca64
 
 
 
 
19e8cf5
222ca64
 
 
6a87196
 
9cb9419
 
6a87196
9cb9419
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222ca64
 
19e8cf5
 
6a87196
19e8cf5
 
 
222ca64
 
19e8cf5
 
 
 
 
6a87196
19e8cf5
 
 
 
6a87196
9cb9419
222ca64
19e8cf5
 
6a87196
 
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9cb9419
222ca64
 
 
19e8cf5
 
 
 
 
 
 
222ca64
 
 
19e8cf5
 
 
9cb9419
6a87196
19e8cf5
 
6a87196
19e8cf5
 
9cb9419
 
6a87196
19e8cf5
6a87196
9cb9419
19e8cf5
 
6a87196
9cb9419
 
19e8cf5
 
 
 
 
 
 
 
 
 
 
9cb9419
 
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9cb9419
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6a87196
 
 
 
19e8cf5
 
 
 
 
 
6a87196
 
 
 
 
 
9cb9419
6a87196
 
19e8cf5
 
 
 
 
 
 
 
6a87196
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
6a87196
 
 
 
19e8cf5
 
 
 
 
 
6a87196
 
 
 
 
 
9cb9419
222ca64
 
 
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222ca64
6a87196
 
 
 
 
 
 
 
19e8cf5
 
6a87196
 
 
 
 
19e8cf5
 
 
6a87196
 
 
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6a87196
 
 
 
19e8cf5
 
6a87196
 
19e8cf5
 
6a87196
 
 
19e8cf5
 
 
 
6a87196
 
 
 
19e8cf5
6a87196
 
19e8cf5
6a87196
 
19e8cf5
 
6a87196
 
 
 
 
 
 
 
 
 
19e8cf5
6a87196
 
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6a87196
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6a87196
 
 
 
 
19e8cf5
 
 
6a87196
 
 
 
19e8cf5
6a87196
 
19e8cf5
6a87196
 
19e8cf5
6a87196
 
19e8cf5
6a87196
 
222ca64
6a87196
19e8cf5
6a87196
 
 
 
19e8cf5
 
 
 
 
6a87196
 
 
 
 
9cb9419
19e8cf5
6a87196
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9cb9419
19e8cf5
 
 
 
 
 
 
9cb9419
6a87196
19e8cf5
 
 
 
 
 
 
6a87196
 
19e8cf5
6a87196
 
9cb9419
6a87196
19e8cf5
6a87196
9cb9419
6a87196
19e8cf5
6a87196
9cb9419
6a87196
19e8cf5
6a87196
9cb9419
6a87196
19e8cf5
9cb9419
6a87196
 
19e8cf5
 
6a87196
9cb9419
6a87196
9cb9419
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6a87196
 
 
 
19e8cf5
 
9cb9419
6a87196
 
 
 
 
 
19e8cf5
6a87196
 
 
 
 
 
 
 
 
 
 
19e8cf5
 
6a87196
 
 
 
19e8cf5
6a87196
 
19e8cf5
 
6a87196
 
 
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6a87196
19e8cf5
 
 
 
 
 
6a87196
 
 
 
19e8cf5
6a87196
 
19e8cf5
6a87196
 
 
 
 
 
 
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6a87196
 
19e8cf5
222ca64
6a87196
222ca64
6a87196
 
19e8cf5
6a87196
222ca64
 
6a87196
19e8cf5
9cb9419
6a87196
 
 
9cb9419
6a87196
 
 
 
 
19e8cf5
6a87196
 
 
222ca64
6a87196
 
222ca64
6a87196
 
9cb9419
19e8cf5
 
 
 
 
 
 
 
 
6a87196
 
 
19e8cf5
6a87196
 
 
19e8cf5
6a87196
 
 
19e8cf5
6a87196
 
 
19e8cf5
6a87196
 
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6a87196
 
 
 
19e8cf5
 
6a87196
 
9cb9419
6a87196
 
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
6a87196
19e8cf5
 
 
 
 
 
 
 
6a87196
 
 
 
 
 
 
 
9cb9419
 
6a87196
 
9cb9419
6a87196
 
 
9cb9419
 
6a87196
 
 
 
 
 
 
9cb9419
 
6a87196
 
 
9cb9419
6a87196
19e8cf5
6a87196
19e8cf5
9cb9419
19e8cf5
 
6a87196
 
 
 
 
 
 
 
 
 
 
 
 
9cb9419
6a87196
 
19e8cf5
6a87196
 
 
 
 
 
 
 
9cb9419
6a87196
9cb9419
 
6a87196
 
222ca64
 
6a87196
 
 
 
19e8cf5
6a87196
 
 
 
19e8cf5
 
6a87196
 
 
 
19e8cf5
6a87196
 
 
222ca64
 
6a87196
19e8cf5
 
 
 
 
 
6a87196
 
 
 
 
 
 
 
 
 
9cb9419
19e8cf5
 
6a87196
 
 
 
19e8cf5
6a87196
19e8cf5
9cb9419
6a87196
19e8cf5
6a87196
222ca64
6a87196
19e8cf5
 
 
 
222ca64
6a87196
19e8cf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6a87196
 
222ca64
 
 
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
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Job Application Tracker Pro</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>
        .progress-bar {
            transition: width 0.5s ease-in-out;
        }
        .chart-bar {
            transition: height 0.5s ease-in-out;
        }
        .date-picker {
            position: relative;
        }
        .date-picker input[type="date"] {
            appearance: none;
            -webkit-appearance: none;
        }
        .date-picker::after {
            content: '\f073';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
            color: #6b7280;
        }
        .chart-container {
            height: 180px;
        }
        .chart-bar {
            width: 100%;
            border-radius: 4px 4px 0 0;
            position: relative;
        }
        .chart-bar::after {
            content: attr(data-count);
            position: absolute;
            top: -22px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 12px;
            font-weight: bold;
            color: #4b5563;
        }
        .chart-goal-line {
            position: absolute;
            width: 100%;
            height: 2px;
            background-color: #6b7280;
            z-index: 10;
        }
        .btn-primary {
            background-color: #4f46e5;
            color: white;
            transition: all 0.2s;
        }
        .btn-primary:hover {
            background-color: #4338ca;
            transform: translateY(-1px);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        .btn-danger {
            background-color: #dc2626;
            color: white;
            transition: all 0.2s;
        }
        .btn-danger:hover {
            background-color: #b91c1c;
            transform: translateY(-1px);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        .btn-success {
            background-color: #059669;
            color: white;
            transition: all 0.2s;
        }
        .btn-success:hover {
            background-color: #047857;
            transform: translateY(-1px);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        .btn-secondary {
            background-color: #4b5563;
            color: white;
            transition: all 0.2s;
        }
        .btn-secondary:hover {
            background-color: #374151;
            transform: translateY(-1px);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        .count-btn {
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s;
        }
        .count-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        .input-field {
            transition: all 0.2s;
            border: 1px solid #d1d5db;
        }
        .input-field:focus {
            border-color: #818cf8;
            box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
        }
        .compact-section {
            background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
        }
        .edit-input {
            width: 50px;
            padding: 2px 5px;
            border: 1px solid #d1d5db;
            border-radius: 4px;
            text-align: center;
        }
        .heatmap-day {
            width: 14px;
            height: 14px;
            border-radius: 2px;
            margin: 1px;
            position: relative;
        }
        .heatmap-day:hover::after {
            content: attr(data-tooltip);
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            background: #333;
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            white-space: nowrap;
            z-index: 10;
        }
        .timeline-item {
            position: relative;
            padding-left: 20px;
            margin-bottom: 15px;
        }
        .timeline-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 5px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #4f46e5;
        }
        .timeline-item::after {
            content: '';
            position: absolute;
            left: 4px;
            top: 15px;
            bottom: -15px;
            width: 2px;
            background: #e5e7eb;
        }
        .timeline-item:last-child::after {
            display: none;
        }
        .status-badge {
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 10px;
            font-weight: 600;
        }
    </style>
</head>
<body class="bg-gray-50 min-h-screen">
    <div class="container mx-auto px-4 py-6 max-w-6xl">
        <!-- Header -->
        <header class="mb-6">
            <h1 class="text-3xl font-bold text-indigo-700 mb-1">Job Application Tracker Pro</h1>
            <p class="text-sm text-gray-600">Track and visualize your job search progress</p>
        </header>

        <!-- Compact User Section -->
        <div class="compact-section rounded-lg shadow-sm p-4 mb-4 border border-gray-200">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-4">
                <div>
                    <label for="username" class="block text-xs font-medium text-gray-700 mb-1">Username</label>
                    <div class="flex">
                        <input type="text" id="username" placeholder="Your name" 
                            class="flex-1 px-3 py-2 text-sm input-field rounded-l-md focus:outline-none focus:ring-1 focus:ring-indigo-500">
                        <button id="saveUserBtn" class="btn-primary px-3 py-2 text-sm rounded-r-md">
                            <i class="fas fa-check"></i>
                        </button>
                    </div>
                </div>
                <div>
                    <label for="dailyGoal" class="block text-xs font-medium text-gray-700 mb-1">Daily Goal</label>
                    <div class="flex">
                        <input type="number" id="dailyGoal" min="1" value="30" 
                            class="flex-1 px-3 py-2 text-sm input-field rounded-l-md focus:outline-none focus:ring-1 focus:ring-indigo-500">
                        <button id="saveGoalBtn" class="btn-primary px-3 py-2 text-sm rounded-r-md">
                            <i class="fas fa-bullseye"></i>
                        </button>
                    </div>
                </div>
                <div>
                    <label for="selectedDate" class="block text-xs font-medium text-gray-700 mb-1">Select Date</label>
                    <div class="date-picker relative">
                        <input type="date" id="selectedDate" class="w-full px-3 py-2 text-sm input-field rounded-md focus:outline-none focus:ring-1 focus:ring-indigo-500">
                    </div>
                </div>
                <div>
                    <label class="block text-xs font-medium text-gray-700 mb-1">Quick Actions</label>
                    <div class="flex gap-2">
                        <button id="todayBtn" class="btn-secondary px-3 py-2 text-xs rounded-md">
                            <i class="fas fa-calendar-day mr-1"></i> Today
                        </button>
                        <button id="yesterdayBtn" class="btn-secondary px-3 py-2 text-xs rounded-md">
                            <i class="fas fa-arrow-left mr-1"></i> Yesterday
                        </button>
                    </div>
                </div>
            </div>
            <div id="currentUser" class="mt-3 text-xs text-gray-600 hidden flex items-center justify-between">
                <div>
                    <span class="font-medium">User:</span> <span id="userDisplay"></span> | 
                    <span class="font-medium">Goal:</span> <span id="goalDisplay"></span> |
                    <span class="font-medium">Streak:</span> <span id="streakDisplay">0 days</span>
                </div>
                <div id="dateDisplay" class="text-gray-700"></div>
            </div>
        </div>

        <!-- Daily Progress -->
        <div class="bg-white rounded-lg shadow-md p-5 mb-6 border border-gray-100">
            <h2 class="text-lg font-semibold mb-3 text-gray-800" id="dailyProgressTitle">Today's Progress</h2>
            <div class="mb-4">
                <div class="flex justify-between mb-1">
                    <span class="text-xs font-medium text-gray-700">Applications</span>
                    <span id="progressText" class="text-xs font-medium text-gray-700">0/30</span>
                </div>
                <div class="w-full bg-gray-200 rounded-full h-2">
                    <div id="progressBar" class="progress-bar bg-indigo-600 h-2 rounded-full" style="width: 0%"></div>
                </div>
            </div>
            <div class="flex items-center justify-center gap-4 mb-4">
                <button id="decreaseBtn" class="count-btn bg-red-500 text-white disabled:opacity-50 disabled:cursor-not-allowed" disabled>
                    <i class="fas fa-minus"></i>
                </button>
                <div class="text-3xl font-bold w-16 text-center text-gray-800" id="countDisplay">0</div>
                <button id="increaseBtn" class="count-btn bg-green-500 text-white">
                    <i class="fas fa-plus"></i>
                </button>
            </div>
            <div class="flex gap-3">
                <button id="saveBtn" class="btn-primary flex-1 py-2 px-4 text-sm rounded-md">
                    <i class="fas fa-save mr-1"></i> Save
                </button>
                <button id="deleteBtn" class="btn-danger flex-1 py-2 px-4 text-sm rounded-md hidden">
                    <i class="fas fa-trash mr-1"></i> Delete
                </button>
                <button id="addNoteBtn" class="btn-secondary flex-1 py-2 px-4 text-sm rounded-md">
                    <i class="fas fa-sticky-note mr-1"></i> Add Note
                </button>
            </div>
        </div>

        <!-- Visualization Section -->
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
            <!-- Weekly Summary -->
            <div class="bg-white rounded-lg shadow-md p-5 border border-gray-100">
                <h2 class="text-lg font-semibold mb-3 text-gray-800">Weekly Summary</h2>
                <div class="chart-container flex justify-between items-end mb-5 border-b border-gray-200 pb-4">
                    <!-- Chart bars will be inserted here by JavaScript -->
                </div>
                <div class="grid grid-cols-3 gap-3">
                    <div class="bg-indigo-50 p-3 rounded-lg border border-indigo-100">
                        <div class="text-xs font-medium text-indigo-700">Today</div>
                        <div class="text-xl font-bold text-indigo-900" id="todayCount">0</div>
                    </div>
                    <div class="bg-purple-50 p-3 rounded-lg border border-purple-100">
                        <div class="text-xs font-medium text-purple-700">This Week</div>
                        <div class="text-xl font-bold text-purple-900" id="weeklyCount">0</div>
                    </div>
                    <div class="bg-green-50 p-3 rounded-lg border border-green-100">
                        <div class="text-xs font-medium text-green-700">Total</div>
                        <div class="text-xl font-bold text-green-900" id="totalCount">0</div>
                    </div>
                </div>
            </div>

            <!-- Heatmap -->
            <div class="bg-white rounded-lg shadow-md p-5 border border-gray-100">
                <h2 class="text-lg font-semibold mb-3 text-gray-800">Activity Heatmap</h2>
                <div class="flex justify-between mb-2">
                    <span class="text-xs text-gray-500">Last 3 Months</span>
                    <div class="flex items-center">
                        <span class="text-xs text-gray-500 mr-2">Less</span>
                        <div class="flex">
                            <div class="heatmap-day bg-gray-100"></div>
                            <div class="heatmap-day bg-green-100"></div>
                            <div class="heatmap-day bg-green-300"></div>
                            <div class="heatmap-day bg-green-500"></div>
                            <div class="heatmap-day bg-green-700"></div>
                        </div>
                        <span class="text-xs text-gray-500 ml-2">More</span>
                    </div>
                </div>
                <div id="heatmap" class="flex flex-wrap">
                    <!-- Heatmap will be inserted here by JavaScript -->
                </div>
            </div>

            <!-- Streak & Stats -->
            <div class="bg-white rounded-lg shadow-md p-5 border border-gray-100">
                <h2 class="text-lg font-semibold mb-3 text-gray-800">Your Stats</h2>
                <div class="grid grid-cols-2 gap-4 mb-4">
                    <div class="bg-blue-50 p-3 rounded-lg border border-blue-100">
                        <div class="text-xs font-medium text-blue-700">Current Streak</div>
                        <div class="text-xl font-bold text-blue-900" id="currentStreak">0 days</div>
                    </div>
                    <div class="bg-yellow-50 p-3 rounded-lg border border-yellow-100">
                        <div class="text-xs font-medium text-yellow-700">Best Streak</div>
                        <div class="text-xl font-bold text-yellow-900" id="bestStreak">0 days</div>
                    </div>
                </div>
                <div class="bg-pink-50 p-3 rounded-lg border border-pink-100 mb-4">
                    <div class="text-xs font-medium text-pink-700">Completion Rate</div>
                    <div class="text-xl font-bold text-pink-900" id="completionRate">0%</div>
                </div>
                <div class="text-xs text-gray-500">
                    <div class="flex justify-between mb-1">
                        <span>Applications per day:</span>
                        <span id="avgPerDay">0</span>
                    </div>
                    <div class="flex justify-between">
                        <span>Days applied:</span>
                        <span id="daysApplied">0</span>
                    </div>
                </div>
            </div>
        </div>

        <!-- Application History -->
        <div class="bg-white rounded-lg shadow-md p-5 mb-6 border border-gray-100">
            <div class="flex justify-between items-center mb-4">
                <h2 class="text-lg font-semibold text-gray-800">Application History</h2>
                <div class="flex gap-2">
                    <button id="sortDateBtn" class="btn-secondary px-3 py-1 text-xs rounded-md">
                        <i class="fas fa-sort-amount-down mr-1"></i> Sort by Date
                    </button>
                    <button id="sortCountBtn" class="btn-secondary px-3 py-1 text-xs rounded-md">
                        <i class="fas fa-sort-numeric-down mr-1"></i> Sort by Count
                    </button>
                </div>
            </div>
            
            <div class="overflow-x-auto">
                <table class="min-w-full divide-y divide-gray-200">
                    <thead class="bg-gray-50">
                        <tr>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Applications</th>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Goal</th>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Notes</th>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
                        </tr>
                    </thead>
                    <tbody id="historyTable" class="bg-white divide-y divide-gray-200">
                        <!-- History rows will be inserted here by JavaScript -->
                    </tbody>
                </table>
            </div>
        </div>

        <!-- Timeline View -->
        <div class="bg-white rounded-lg shadow-md p-5 mb-6 border border-gray-100">
            <h2 class="text-lg font-semibold mb-3 text-gray-800">Application Timeline</h2>
            <div id="timeline" class="space-y-4">
                <!-- Timeline items will be inserted here by JavaScript -->
            </div>
        </div>

        <!-- All Users Data (Admin View) -->
        <div id="adminSection" class="bg-white rounded-lg shadow-md p-5 border border-gray-100 hidden">
            <div class="flex justify-between items-center mb-4">
                <h2 class="text-lg font-semibold text-gray-800">All Users Progress</h2>
                <div class="flex gap-2">
                    <button id="refreshUsersBtn" class="btn-secondary px-3 py-1 text-sm rounded-md">
                        <i class="fas fa-sync-alt mr-1"></i> Refresh
                    </button>
                    <button id="exportDataBtn" class="btn-success px-3 py-1 text-sm rounded-md">
                        <i class="fas fa-file-export mr-1"></i> Export Data
                    </button>
                </div>
            </div>
            <div class="overflow-x-auto">
                <table class="min-w-full divide-y divide-gray-200">
                    <thead class="bg-gray-50">
                        <tr>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">User</th>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Today</th>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Weekly Avg</th>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Total</th>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Streak</th>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
                        </tr>
                    </thead>
                    <tbody id="usersTable" class="bg-white divide-y divide-gray-200">
                        <!-- Users data will be inserted here by JavaScript -->
                    </tbody>
                </table>
            </div>
        </div>
    </div>

    <!-- Edit Modal -->
    <div id="editModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
        <div class="bg-white rounded-lg p-6 w-full max-w-md">
            <div class="flex justify-between items-center mb-4">
                <h3 class="text-lg font-semibold text-gray-800" id="editModalTitle">Edit Entry</h3>
                <button id="closeEditModal" class="text-gray-500 hover:text-gray-700">
                    <i class="fas fa-times"></i>
                </button>
            </div>
            <div class="space-y-4">
                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">Date</label>
                    <div class="date-picker relative">
                        <input type="date" id="editDate" class="w-full px-3 py-2 text-sm input-field rounded-md focus:outline-none focus:ring-1 focus:ring-indigo-500">
                    </div>
                </div>
                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">Applications</label>
                    <input type="number" id="editCount" min="0" class="w-full px-3 py-2 text-sm input-field rounded-md focus:outline-none focus:ring-1 focus:ring-indigo-500">
                </div>
                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">Goal</label>
                    <input type="number" id="editGoal" min="1" class="w-full px-3 py-2 text-sm input-field rounded-md focus:outline-none focus:ring-1 focus:ring-indigo-500">
                </div>
                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">Notes</label>
                    <textarea id="editNotes" class="w-full px-3 py-2 text-sm input-field rounded-md focus:outline-none focus:ring-1 focus:ring-indigo-500" rows="3"></textarea>
                </div>
            </div>
            <div class="mt-6 flex justify-end space-x-3">
                <button id="cancelEdit" class="btn-secondary px-4 py-2 text-sm rounded-md">
                    Cancel
                </button>
                <button id="saveEdit" class="btn-primary px-4 py-2 text-sm rounded-md">
                    Save Changes
                </button>
            </div>
        </div>
    </div>

    <!-- Note Modal -->
    <div id="noteModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
        <div class="bg-white rounded-lg p-6 w-full max-w-md">
            <div class="flex justify-between items-center mb-4">
                <h3 class="text-lg font-semibold text-gray-800" id="noteModalTitle">Add Note</h3>
                <button id="closeNoteModal" class="text-gray-500 hover:text-gray-700">
                    <i class="fas fa-times"></i>
                </button>
            </div>
            <div class="space-y-4">
                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">Note</label>
                    <textarea id="noteContent" class="w-full px-3 py-2 text-sm input-field rounded-md focus:outline-none focus:ring-1 focus:ring-indigo-500" rows="5" placeholder="Add details about your applications today..."></textarea>
                </div>
            </div>
            <div class="mt-6 flex justify-end space-x-3">
                <button id="cancelNote" class="btn-secondary px-4 py-2 text-sm rounded-md">
                    Cancel
                </button>
                <button id="saveNote" class="btn-primary px-4 py-2 text-sm rounded-md">
                    Save Note
                </button>
            </div>
        </div>
    </div>

    <script>
        // DOM Elements
        const usernameInput = document.getElementById('username');
        const saveUserBtn = document.getElementById('saveUserBtn');
        const dailyGoalInput = document.getElementById('dailyGoal');
        const saveGoalBtn = document.getElementById('saveGoalBtn');
        const currentUserDiv = document.getElementById('currentUser');
        const userDisplay = document.getElementById('userDisplay');
        const goalDisplay = document.getElementById('goalDisplay');
        const dateDisplay = document.getElementById('dateDisplay');
        const streakDisplay = document.getElementById('streakDisplay');
        const decreaseBtn = document.getElementById('decreaseBtn');
        const increaseBtn = document.getElementById('increaseBtn');
        const countDisplay = document.getElementById('countDisplay');
        const progressText = document.getElementById('progressText');
        const progressBar = document.getElementById('progressBar');
        const saveBtn = document.getElementById('saveBtn');
        const deleteBtn = document.getElementById('deleteBtn');
        const addNoteBtn = document.getElementById('addNoteBtn');
        const historyTable = document.getElementById('historyTable');
        const adminSection = document.getElementById('adminSection');
        const usersTable = document.getElementById('usersTable');
        const selectedDateInput = document.getElementById('selectedDate');
        const dailyProgressTitle = document.getElementById('dailyProgressTitle');
        const todayCountEl = document.getElementById('todayCount');
        const weeklyCountEl = document.getElementById('weeklyCount');
        const totalCountEl = document.getElementById('totalCount');
        const refreshUsersBtn = document.getElementById('refreshUsersBtn');
        const exportDataBtn = document.getElementById('exportDataBtn');
        const editModal = document.getElementById('editModal');
        const closeEditModal = document.getElementById('closeEditModal');
        const editModalTitle = document.getElementById('editModalTitle');
        const editDate = document.getElementById('editDate');
        const editCount = document.getElementById('editCount');
        const editGoal = document.getElementById('editGoal');
        const editNotes = document.getElementById('editNotes');
        const cancelEdit = document.getElementById('cancelEdit');
        const saveEdit = document.getElementById('saveEdit');
        const noteModal = document.getElementById('noteModal');
        const closeNoteModal = document.getElementById('closeNoteModal');
        const noteModalTitle = document.getElementById('noteModalTitle');
        const noteContent = document.getElementById('noteContent');
        const cancelNote = document.getElementById('cancelNote');
        const saveNote = document.getElementById('saveNote');
        const todayBtn = document.getElementById('todayBtn');
        const yesterdayBtn = document.getElementById('yesterdayBtn');
        const sortDateBtn = document.getElementById('sortDateBtn');
        const sortCountBtn = document.getElementById('sortCountBtn');
        const heatmap = document.getElementById('heatmap');
        const timeline = document.getElementById('timeline');
        const currentStreakEl = document.getElementById('currentStreak');
        const bestStreakEl = document.getElementById('bestStreak');
        const completionRateEl = document.getElementById('completionRate');
        const avgPerDayEl = document.getElementById('avgPerDay');
        const daysAppliedEl = document.getElementById('daysApplied');

        // State
        let currentUser = localStorage.getItem('currentUser') || '';
        let dailyGoal = parseInt(localStorage.getItem(`${currentUser}_dailyGoal`)) || 30;
        let currentCount = 0;
        let selectedDate = new Date().toISOString().split('T')[0]; // Today's date in YYYY-MM-DD format
        let applicationsData = JSON.parse(localStorage.getItem('applicationsData')) || {};
        let allUsersData = JSON.parse(localStorage.getItem('allUsersData')) || {};
        let currentEditEntry = null;
        let sortOrder = 'dateDesc'; // dateDesc, dateAsc, countDesc, countAsc

        // Initialize
        function init() {
            // Set today's date as default
            selectedDateInput.value = selectedDate;
            selectedDateInput.max = selectedDate; // Don't allow future dates
            
            if (currentUser) {
                usernameInput.value = currentUser;
                dailyGoalInput.value = dailyGoal;
                showCurrentUser();
                loadDateData();
                loadHistory();
                loadAllUsersData();
                updateStats();
            }

            // Check if current user is admin (loliloli)
            if (currentUser === 'loliloli') {
                adminSection.classList.remove('hidden');
            }
        }

        // Show current user info
        function showCurrentUser() {
            currentUserDiv.classList.remove('hidden');
            userDisplay.textContent = currentUser;
            goalDisplay.textContent = dailyGoal;
            progressText.textContent = `0/${dailyGoal}`;
            updateDateDisplay();
        }

        // Update date display
        function updateDateDisplay() {
            const dateObj = new Date(selectedDate);
            const monthNames = ['January', 'February', 'March', 'April', 'May', 'June', 
                              'July', 'August', 'September', 'October', 'November', 'December'];
            const day = dateObj.getDate();
            const month = monthNames[dateObj.getMonth()];
            const dayOfWeek = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'][dateObj.getDay()];
            
            // Get ordinal suffix for day
            let suffix = 'th';
            if (day % 10 === 1 && day !== 11) suffix = 'st';
            else if (day % 10 === 2 && day !== 12) suffix = 'nd';
            else if (day % 10 === 3 && day !== 13) suffix = 'rd';
            
            dateDisplay.textContent = `${dayOfWeek}, ${day}${suffix} ${month}`;
        }

        // Load data for selected date
        function loadDateData() {
            if (!currentUser || !applicationsData[currentUser]) {
                currentCount = 0;
                updateCountDisplay();
                deleteBtn.classList.add('hidden');
                return;
            }
            
            const dateData = applicationsData[currentUser][selectedDate];
            
            if (dateData) {
                currentCount = dateData.count;
                deleteBtn.classList.remove('hidden');
            } else {
                currentCount = 0;
                deleteBtn.classList.add('hidden');
            }
            
            updateCountDisplay();
            updateTitle();
            updateDateDisplay();
        }

        // Update the title based on selected date
        function updateTitle() {
            const today = new Date().toISOString().split('T')[0];
            const yesterday = new Date(new Date().setDate(new Date().getDate() - 1)).toISOString().split('T')[0];
            
            if (selectedDate === today) {
                dailyProgressTitle.textContent = "Today's Progress";
            } else if (selectedDate === yesterday) {
                dailyProgressTitle.textContent = "Yesterday's Progress";
            } else {
                const dateObj = new Date(selectedDate);
                const monthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 
                                   'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
                const day = dateObj.getDate();
                const month = monthNames[dateObj.getMonth()];
                
                dailyProgressTitle.textContent = `${day} ${month} Progress`;
            }
        }

        // Update count display
        function updateCountDisplay() {
            countDisplay.textContent = currentCount;
            progressText.textContent = `${currentCount}/${dailyGoal}`;
            const progressPercentage = Math.min((currentCount / dailyGoal) * 100, 100);
            progressBar.style.width = `${progressPercentage}%`;
            
            // Change progress bar color based on completion
            if (progressPercentage >= 100) {
                progressBar.classList.remove('bg-indigo-600', 'bg-yellow-500', 'bg-red-500');
                progressBar.classList.add('bg-green-500');
            } else if (progressPercentage >= 75) {
                progressBar.classList.remove('bg-green-500', 'bg-yellow-500', 'bg-red-500');
                progressBar.classList.add('bg-indigo-600');
            } else if (progressPercentage >= 50) {
                progressBar.classList.remove('bg-indigo-600', 'bg-green-500', 'bg-red-500');
                progressBar.classList.add('bg-yellow-500');
            } else {
                progressBar.classList.remove('bg-indigo-600', 'bg-yellow-500', 'bg-green-500');
                progressBar.classList.add('bg-red-500');
            }
            
            // Enable/disable buttons
            decreaseBtn.disabled = currentCount <= 0;
        }

        // Load history
        function loadHistory() {
            if (!currentUser || !applicationsData[currentUser]) {
                historyTable.innerHTML = '<tr><td colspan="6" class="px-4 py-3 text-center text-xs text-gray-500">No data available</td></tr>';
                todayCountEl.textContent = '0';
                weeklyCountEl.textContent = '0';
                totalCountEl.textContent = '0';
                return;
            }

            // Clear existing rows
            historyTable.innerHTML = '';
            
            // Get sorted dates based on current sort order
            const userData = applicationsData[currentUser];
            let dates = Object.keys(userData);
            
            if (sortOrder === 'dateDesc') {
                dates.sort((a, b) => new Date(b) - new Date(a));
            } else if (sortOrder === 'dateAsc') {
                dates.sort((a, b) => new Date(a) - new Date(b));
            } else if (sortOrder === 'countDesc') {
                dates.sort((a, b) => userData[b].count - userData[a].count);
            } else if (sortOrder === 'countAsc') {
                dates.sort((a, b) => userData[a].count - userData[b].count);
            }
            
            // Calculate summary counts
            const today = new Date().toISOString().split('T')[0];
            const todayCount = userData[today] ? userData[today].count : 0;
            
            // Calculate weekly count (last 7 days)
            const weeklyDates = dates.filter(date => {
                const dateObj = new Date(date);
                const todayObj = new Date(today);
                return dateObj >= new Date(todayObj.setDate(todayObj.getDate() - 7));
            });
            const weeklyCount = weeklyDates.reduce((sum, date) => sum + userData[date].count, 0);
            
            // Calculate total count
            const totalCount = dates.reduce((sum, date) => sum + userData[date].count, 0);
            
            // Update summary cards
            todayCountEl.textContent = todayCount;
            weeklyCountEl.textContent = weeklyCount;
            totalCountEl.textContent = totalCount;
            
            // Create chart
            createWeeklyChart(dates.slice(0, 7).reverse());
            
            // Create heatmap
            createHeatmap();
            
            // Create timeline
            createTimeline(dates);
            
            // Add rows
            dates.forEach(date => {
                const entry = userData[date];
                const row = document.createElement('tr');
                
                const dateCell = document.createElement('td');
                dateCell.className = 'px-4 py-3 whitespace-nowrap text-xs text-gray-500';
                dateCell.textContent = formatDate(date);
                
                const countCell = document.createElement('td');
                countCell.className = 'px-4 py-3 whitespace-nowrap text-xs text-gray-500';
                countCell.textContent = entry.count;
                
                const goalCell = document.createElement('td');
                goalCell.className = 'px-4 py-3 whitespace-nowrap text-xs text-gray-500';
                goalCell.textContent = entry.goal;
                
                const statusCell = document.createElement('td');
                statusCell.className = 'px-4 py-3 whitespace-nowrap text-xs';
                
                const statusSpan = document.createElement('span');
                statusSpan.className = entry.count >= entry.goal ? 
                    'status-badge bg-green-100 text-green-800' :
                    'status-badge bg-red-100 text-red-800';
                statusSpan.textContent = entry.count >= entry.goal ? 'Completed' : 'Pending';
                
                statusCell.appendChild(statusSpan);
                
                const notesCell = document.createElement('td');
                notesCell.className = 'px-4 py-3 text-xs text-gray-500 max-w-xs truncate';
                notesCell.textContent = entry.notes || '—';
                notesCell.title = entry.notes || '';
                
                const actionCell = document.createElement('td');
                actionCell.className = 'px-4 py-3 whitespace-nowrap text-xs text-gray-500 flex gap-2';
                
                const editButton = document.createElement('button');
                editButton.className = 'text-indigo-600 hover:text-indigo-900';
                editButton.innerHTML = '<i class="fas fa-edit"></i>';
                editButton.title = 'Edit this entry';
                editButton.addEventListener('click', () => {
                    openEditModal(date, entry);
                });
                
                const deleteButton = document.createElement('button');
                deleteButton.className = 'text-red-600 hover:text-red-900';
                deleteButton.innerHTML = '<i class="fas fa-trash"></i>';
                deleteButton.title = 'Delete this entry';
                deleteButton.addEventListener('click', () => {
                    if (confirm(`Are you sure you want to delete the entry for ${formatDate(date)}?`)) {
                        delete applicationsData[currentUser][date];
                        localStorage.setItem('applicationsData', JSON.stringify(applicationsData));
                        
                        if (allUsersData[currentUser] && allUsersData[currentUser].applications[date]) {
                            delete allUsersData[currentUser].applications[date];
                            localStorage.setItem('allUsersData', JSON.stringify(allUsersData));
                        }
                        
                        loadHistory();
                        updateStats();
                        
                        // If current date is selected, reset count
                        if (selectedDate === date) {
                            currentCount = 0;
                            updateCountDisplay();
                            deleteBtn.classList.add('hidden');
                        }
                    }
                });
                
                actionCell.appendChild(editButton);
                actionCell.appendChild(deleteButton);
                
                row.appendChild(dateCell);
                row.appendChild(countCell);
                row.appendChild(goalCell);
                row.appendChild(statusCell);
                row.appendChild(notesCell);
                row.appendChild(actionCell);
                
                historyTable.appendChild(row);
            });
        }

        // Create weekly chart
        function createWeeklyChart(dates) {
            const chartContainer = document.querySelector('.chart-container');
            chartContainer.innerHTML = '';
            
            if (!dates.length) return;
            
            // Find max value for scaling
            const maxValue = Math.max(...dates.map(date => {
                return applicationsData[currentUser][date].count;
            }), dailyGoal);
            
            dates.forEach(date => {
                const entry = applicationsData[currentUser][date];
                const day = new Date(date).getDate();
                const dayOfWeek = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'][new Date(date).getDay()];
                const count = entry.count;
                const goal = entry.goal;
                
                const barContainer = document.createElement('div');
                barContainer.className = 'flex flex-col items-center w-full';
                
                const barWrapper = document.createElement('div');
                barWrapper.className = 'relative flex-1 w-full flex items-end';
                barWrapper.style.height = '100%';
                
                // Count bar (foreground)
                const countBar = document.createElement('div');
                countBar.className = 'chart-bar';
                
                // Color based on count
                if (count === 0) {
                    countBar.classList.add('bg-gray-200');
                } else if (count < 5) {
                    countBar.classList.add('bg-green-100');
                } else if (count < 10) {
                    countBar.classList.add('bg-green-300');
                } else if (count < 20) {
                    countBar.classList.add('bg-green-500');
                } else {
                    countBar.classList.add('bg-green-700');
                }
                
                countBar.style.height = `${(count / maxValue) * 100}%`;
                countBar.setAttribute('data-count', count);
                
                // Goal line
                const goalLine = document.createElement('div');
                goalLine.className = 'chart-goal-line';
                goalLine.style.bottom = `${(goal / maxValue) * 100}%`;
                
                // Label
                const label = document.createElement('div');
                label.className = 'text-xs text-gray-500 mt-1';
                label.textContent = dayOfWeek;
                
                barWrapper.appendChild(countBar);
                barWrapper.appendChild(goalLine);
                barContainer.appendChild(barWrapper);
                barContainer.appendChild(label);
                
                chartContainer.appendChild(barContainer);
            });
        }

        // Create heatmap
        function createHeatmap() {
            heatmap.innerHTML = '';
            
            if (!currentUser || !applicationsData[currentUser]) return;
            
            const today = new Date();
            const startDate = new Date(today);
            startDate.setDate(today.getDate() - 90); // Last 3 months
            
            // Create a map of all dates in the last 90 days
            const dateMap = {};
            for (let d = new Date(startDate); d <= today; d.setDate(d.getDate() + 1)) {
                const dateStr = d.toISOString().split('T')[0];
                dateMap[dateStr] = applicationsData[currentUser][dateStr] ? applicationsData[currentUser][dateStr].count : 0;
            }
            
            // Group by weeks
            const weeks = [];
            let currentWeek = [];
            let currentDay = new Date(startDate);
            
            while (currentDay <= today) {
                currentWeek.push({
                    date: currentDay.toISOString().split('T')[0],
                    count: dateMap[currentDay.toISOString().split('T')[0]] || 0
                });
                
                if (currentDay.getDay() === 6 || currentDay.toISOString().split('T')[0] === today.toISOString().split('T')[0]) {
                    weeks.push(currentWeek);
                    currentWeek = [];
                }
                
                currentDay = new Date(currentDay);
                currentDay.setDate(currentDay.getDate() + 1);
            }
            
            // Create heatmap
            weeks.forEach(week => {
                const weekContainer = document.createElement('div');
                weekContainer.className = 'flex flex-col';
                
                week.forEach(day => {
                    const dayElement = document.createElement('div');
                    dayElement.className = 'heatmap-day';
                    
                    // Color based on count
                    if (day.count === 0) {
                        dayElement.classList.add('bg-gray-100');
                    } else if (day.count < 5) {
                        dayElement.classList.add('bg-green-100');
                    } else if (day.count < 10) {
                        dayElement.classList.add('bg-green-300');
                    } else if (day.count < 20) {
                        dayElement.classList.add('bg-green-500');
                    } else {
                        dayElement.classList.add('bg-green-700');
                    }
                    
                    dayElement.setAttribute('data-tooltip', `${formatDate(day.date)}: ${day.count} applications`);
                    
                    weekContainer.appendChild(dayElement);
                });
                
                heatmap.appendChild(weekContainer);
            });
        }

        // Create timeline
        function createTimeline(dates) {
            timeline.innerHTML = '';
            
            if (!dates.length) {
                timeline.innerHTML = '<p class="text-sm text-gray-500">No applications yet. Start applying to see your timeline!</p>';
                return;
            }
            
            // Show only last 10 entries in timeline
            const recentDates = dates.slice(0, 10);
            
            recentDates.forEach(date => {
                const entry = applicationsData[currentUser][date];
                const timelineItem = document.createElement('div');
                timelineItem.className = 'timeline-item';
                
                const content = document.createElement('div');
                content.className = 'text-sm';
                
                const dateSpan = document.createElement('span');
                dateSpan.className = 'font-medium text-gray-900';
                dateSpan.textContent = formatDate(date);
                
                const countSpan = document.createElement('span');
                countSpan.className = 'text-gray-600 ml-2';
                countSpan.textContent = `${entry.count} applications`;
                
                const statusSpan = document.createElement('span');
                statusSpan.className = entry.count >= entry.goal ? 
                    'status-badge bg-green-100 text-green-800 ml-2' :
                    'status-badge bg-red-100 text-red-800 ml-2';
                statusSpan.textContent = entry.count >= entry.goal ? 'Goal met' : 'Goal not met';
                
                content.appendChild(dateSpan);
                content.appendChild(countSpan);
                content.appendChild(statusSpan);
                
                if (entry.notes) {
                    const notesDiv = document.createElement('div');
                    notesDiv.className = 'text-xs text-gray-500 mt-1';
                    notesDiv.textContent = entry.notes;
                    content.appendChild(notesDiv);
                }
                
                timelineItem.appendChild(content);
                timeline.appendChild(timelineItem);
            });
        }

        // Update stats
        function updateStats() {
            if (!currentUser || !applicationsData[currentUser]) return;
            
            const userData = applicationsData[currentUser];
            const dates = Object.keys(userData).sort((a, b) => new Date(a) - new Date(b));
            const today = new Date().toISOString().split('T')[0];
            
            // Calculate streaks
            let currentStreak = 0;
            let bestStreak = 0;
            let tempStreak = 0;
            
            // Check if today has data
            const todayHasData = userData[today] !== undefined;
            
            // Start from yesterday if today has no data yet
            let checkDate = todayHasData ? today : new Date(new Date().setDate(new Date().getDate() - 1)).toISOString().split('T')[0];
            
            while (userData[checkDate] !== undefined) {
                currentStreak++;
                tempStreak++;
                
                bestStreak = Math.max(bestStreak, tempStreak);
                
                // Move to previous day
                checkDate = new Date(new Date(checkDate).setDate(new Date(checkDate).getDate() - 1)).toISOString().split('T')[0];
            }
            
            // Calculate completion rate
            const totalEntries = dates.length;
            const completedEntries = dates.filter(date => userData[date].count >= userData[date].goal).length;
            const completionRate = totalEntries > 0 ? Math.round((completedEntries / totalEntries) * 100) : 0;
            
            // Calculate average applications per day
            const totalApplications = dates.reduce((sum, date) => sum + userData[date].count, 0);
            const avgPerDay = totalEntries > 0 ? (totalApplications / totalEntries).toFixed(1) : 0;
            
            // Update UI
            currentStreakEl.textContent = `${currentStreak} day${currentStreak !== 1 ? 's' : ''}`;
            bestStreakEl.textContent = `${bestStreak} day${bestStreak !== 1 ? 's' : ''}`;
            completionRateEl.textContent = `${completionRate}%`;
            avgPerDayEl.textContent = avgPerDay;
            daysAppliedEl.textContent = totalEntries;
            streakDisplay.textContent = `${currentStreak} day${currentStreak !== 1 ? 's' : ''}`;
        }

        // Open edit modal
        function openEditModal(date, entry) {
            currentEditEntry = { date, entry };
            editModalTitle.textContent = `Edit Entry for ${formatDate(date)}`;
            editDate.value = date;
            editCount.value = entry.count;
            editGoal.value = entry.goal;
            editNotes.value = entry.notes || '';
            editModal.classList.remove('hidden');
        }

        // Close edit modal
        function closeEditModalHandler() {
            editModal.classList.add('hidden');
            currentEditEntry = null;
        }

        // Save edited entry
        function saveEditHandler() {
            const newCount = parseInt(editCount.value);
            const newGoal = parseInt(editGoal.value);
            const newDate = editDate.value;
            const newNotes = editNotes.value;
            
            if (isNaN(newCount) || newCount < 0) {
                alert('Please enter a valid application count');
                return;
            }
            
            if (isNaN(newGoal) || newGoal < 1) {
                alert('Please enter a valid goal (minimum 1)');
                return;
            }
            
            const { date: oldDate, entry } = currentEditEntry;
            
            // If date changed, we need to delete old entry and create new one
            if (newDate !== oldDate) {
                delete applicationsData[currentUser][oldDate];
                
                if (allUsersData[currentUser] && allUsersData[currentUser].applications[oldDate]) {
                    delete allUsersData[currentUser].applications[oldDate];
                }
            }
            
            // Update applicationsData
            applicationsData[currentUser][newDate] = {
                count: newCount,
                goal: newGoal,
                notes: newNotes
            };
            localStorage.setItem('applicationsData', JSON.stringify(applicationsData));
            
            // Update allUsersData
            if (!allUsersData[currentUser]) {
                allUsersData[currentUser] = {
                    goal: dailyGoal,
                    applications: {}
                };
            }
            allUsersData[currentUser].applications[newDate] = {
                count: newCount,
                goal: newGoal,
                notes: newNotes
            };
            localStorage.setItem('allUsersData', JSON.stringify(allUsersData));
            
            // Reload data
            loadHistory();
            updateStats();
            
            // If current date is selected, update count
            if (selectedDate === newDate || selectedDate === oldDate) {
                if (selectedDate === newDate) {
                    currentCount = newCount;
                } else {
                    currentCount = 0;
                }
                updateCountDisplay();
                
                if (selectedDate === newDate && newCount > 0) {
                    deleteBtn.classList.remove('hidden');
                } else if (selectedDate === oldDate) {
                    deleteBtn.classList.add('hidden');
                }
            }
            
            closeEditModalHandler();
        }

        // Open note modal
        function openNoteModal() {
            noteModalTitle.textContent = `Add Note for ${formatDate(selectedDate)}`;
            noteContent.value = '';
            noteModal.classList.remove('hidden');
        }

        // Close note modal
        function closeNoteModalHandler() {
            noteModal.classList.add('hidden');
        }

        // Save note
        function saveNoteHandler() {
            const note = noteContent.value.trim();
            
            // Initialize data structures if they don't exist
            if (!applicationsData[currentUser]) {
                applicationsData[currentUser] = {};
            }
            
            if (!applicationsData[currentUser][selectedDate]) {
                applicationsData[currentUser][selectedDate] = {
                    count: currentCount,
                    goal: dailyGoal,
                    notes: note
                };
            } else {
                applicationsData[currentUser][selectedDate].notes = note;
            }
            
            // Update allUsersData
            if (!allUsersData[currentUser]) {
                allUsersData[currentUser] = {
                    goal: dailyGoal,
                    applications: {}
                };
            }
            
            if (!allUsersData[currentUser].applications[selectedDate]) {
                allUsersData[currentUser].applications[selectedDate] = {
                    count: currentCount,
                    goal: dailyGoal,
                    notes: note
                };
            } else {
                allUsersData[currentUser].applications[selectedDate].notes = note;
            }
            
            localStorage.setItem('applicationsData', JSON.stringify(applicationsData));
            localStorage.setItem('allUsersData', JSON.stringify(allUsersData));
            
            // Reload history to show the new note
            loadHistory();
            
            closeNoteModalHandler();
        }

        // Load all users data (for admin)
        function loadAllUsersData() {
            if (currentUser !== 'loliloli') return;
            
            usersTable.innerHTML = '';
            
            const users = Object.keys(allUsersData);
            if (users.length === 0) {
                usersTable.innerHTML = '<tr><td colspan="6" class="px-4 py-3 text-center text-xs text-gray-500">No user data available</td></tr>';
                return;
            }
            
            users.forEach(user => {
                if (user === 'loliloli') return;
                
                const userData = allUsersData[user];
                const today = new Date().toISOString().split('T')[0];
                const todayCount = userData.applications[today] ? userData.applications[today].count : 0;
                
                // Calculate weekly average
                const dates = Object.keys(userData.applications);
                const last7Days = dates
                    .filter(date => {
                        const dateObj = new Date(date);
                        const todayObj = new Date(today);
                        return dateObj >= new Date(todayObj.setDate(todayObj.getDate() - 7));
                    })
                    .map(date => userData.applications[date].count);
                
                const weeklyAvg = last7Days.length > 0 ? 
                    Math.round(last7Days.reduce((a, b) => a + b, 0) / last7Days.length) : 0;
                
                // Calculate total
                const total = dates.reduce((sum, date) => sum + userData.applications[date].count, 0);
                
                // Calculate streak
                let currentStreak = 0;
                let checkDate = today;
                
                while (userData.applications[checkDate] !== undefined) {
                    currentStreak++;
                    checkDate = new Date(new Date(checkDate).setDate(new Date(checkDate).getDate() - 1)).toISOString().split('T')[0];
                }
                
                const row = document.createElement('tr');
                
                const userCell = document.createElement('td');
                userCell.className = 'px-4 py-3 whitespace-nowrap text-xs font-medium text-gray-900';
                userCell.textContent = user;
                
                const todayCell = document.createElement('td');
                todayCell.className = 'px-4 py-3 whitespace-nowrap text-xs text-gray-500';
                todayCell.textContent = todayCount;
                
                const weeklyCell = document.createElement('td');
                weeklyCell.className = 'px-4 py-3 whitespace-nowrap text-xs text-gray-500';
                weeklyCell.textContent = weeklyAvg;
                
                const totalCell = document.createElement('td');
                totalCell.className = 'px-4 py-3 whitespace-nowrap text-xs text-gray-500';
                totalCell.textContent = total;
                
                const streakCell = document.createElement('td');
                streakCell.className = 'px-4 py-3 whitespace-nowrap text-xs text-gray-500';
                streakCell.textContent = `${currentStreak} day${currentStreak !== 1 ? 's' : ''}`;
                
                const actionCell = document.createElement('td');
                actionCell.className = 'px-4 py-3 whitespace-nowrap text-xs text-gray-500';
                
                const viewButton = document.createElement('button');
                viewButton.className = 'text-indigo-600 hover:text-indigo-900';
                viewButton.innerHTML = '<i class="fas fa-eye"></i>';
                viewButton.title = 'View user details';
                viewButton.addEventListener('click', () => {
                    alert(`Viewing details for ${user}\nToday: ${todayCount}\nWeekly Avg: ${weeklyAvg}\nTotal: ${total}\nCurrent Streak: ${currentStreak} days`);
                });
                
                actionCell.appendChild(viewButton);
                
                row.appendChild(userCell);
                row.appendChild(todayCell);
                row.appendChild(weeklyCell);
                row.appendChild(totalCell);
                row.appendChild(streakCell);
                row.appendChild(actionCell);
                
                usersTable.appendChild(row);
            });
        }

        // Export data as JSON
        function exportData() {
            const dataStr = JSON.stringify(allUsersData, null, 2);
            const dataUri = 'data:application/json;charset=utf-8,'+ encodeURIComponent(dataStr);
            
            const exportFileDefaultName = 'job-application-tracker-data.json';
            
            const linkElement = document.createElement('a');
            linkElement.setAttribute('href', dataUri);
            linkElement.setAttribute('download', exportFileDefaultName);
            linkElement.click();
        }

        // Format date for display (just month and day)
        function formatDate(dateString) {
            const dateObj = new Date(dateString);
            const monthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 
                               'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
            const day = dateObj.getDate();
            const month = monthNames[dateObj.getMonth()];
            const year = dateObj.getFullYear();
            
            return `${day} ${month} ${year}`;
        }

        // Event Listeners
        saveUserBtn.addEventListener('click', () => {
            const newUser = usernameInput.value.trim();
            if (!newUser) {
                alert('Please enter a username');
                return;
            }
            
            currentUser = newUser;
            localStorage.setItem('currentUser', currentUser);
            
            // Initialize user data if it doesn't exist
            if (!applicationsData[currentUser]) {
                applicationsData[currentUser] = {};
            }
            
            // Initialize allUsersData if it doesn't exist
            if (!allUsersData[currentUser]) {
                allUsersData[currentUser] = {
                    goal: dailyGoal,
                    applications: {}
                };
                localStorage.setItem('allUsersData', JSON.stringify(allUsersData));
            }
            
            // Load user's daily goal
            dailyGoal = allUsersData[currentUser].goal || 30;
            dailyGoalInput.value = dailyGoal;
            
            showCurrentUser();
            loadDateData();
            loadHistory();
            updateStats();
            
            // Show admin section if user is loliloli
            if (currentUser === 'loliloli') {
                adminSection.classList.remove('hidden');
                loadAllUsersData();
            } else {
                adminSection.classList.add('hidden');
            }
        });

        saveGoalBtn.addEventListener('click', () => {
            const newGoal = parseInt(dailyGoalInput.value);
            if (isNaN(newGoal) || newGoal < 1) {
                alert('Please enter a valid goal (minimum 1)');
                return;
            }
            
            dailyGoal = newGoal;
            goalDisplay.textContent = dailyGoal;
            progressText.textContent = `${currentCount}/${dailyGoal}`;
            
            // Save goal for current user
            if (currentUser) {
                if (!allUsersData[currentUser]) {
                    allUsersData[currentUser] = {
                        goal: dailyGoal,
                        applications: {}
                    };
                } else {
                    allUsersData[currentUser].goal = dailyGoal;
                }
                
                localStorage.setItem('allUsersData', JSON.stringify(allUsersData));
                localStorage.setItem(`${currentUser}_dailyGoal`, dailyGoal);
            }
            
            updateCountDisplay();
        });

        increaseBtn.addEventListener('click', () => {
            currentCount++;
            updateCountDisplay();
        });

        decreaseBtn.addEventListener('click', () => {
            if (currentCount > 0) {
                currentCount--;
                updateCountDisplay();
            }
        });

        saveBtn.addEventListener('click', () => {
            if (!currentUser) {
                alert('Please set a username first');
                return;
            }
            
            // Save to applicationsData
            if (!applicationsData[currentUser]) {
                applicationsData[currentUser] = {};
            }
            
            applicationsData[currentUser][selectedDate] = {
                count: currentCount,
                goal: dailyGoal
            };
            localStorage.setItem('applicationsData', JSON.stringify(applicationsData));
            
            // Save to allUsersData
            if (!allUsersData[currentUser]) {
                allUsersData[currentUser] = {
                    goal: dailyGoal,
                    applications: {}
                };
            }
            allUsersData[currentUser].applications[selectedDate] = {
                count: currentCount,
                goal: dailyGoal
            };
            localStorage.setItem('allUsersData', JSON.stringify(allUsersData));
            
            // Reload history and stats
            loadHistory();
            updateStats();
            
            // If admin, reload all users data
            if (currentUser === 'loliloli') {
                loadAllUsersData();
            }
            
            // Show delete button if this is an existing entry
            deleteBtn.classList.remove('hidden');
            
            alert('Applications saved successfully for ' + formatDate(selectedDate) + '!');
        });

        deleteBtn.addEventListener('click', () => {
            if (!confirm('Are you sure you want to delete this entry for ' + formatDate(selectedDate) + '?')) {
                return;
            }
            
            // Delete from applicationsData
            if (applicationsData[currentUser] && applicationsData[currentUser][selectedDate]) {
                delete applicationsData[currentUser][selectedDate];
                localStorage.setItem('applicationsData', JSON.stringify(applicationsData));
            }
            
            // Delete from allUsersData
            if (allUsersData[currentUser] && allUsersData[currentUser].applications[selectedDate]) {
                delete allUsersData[currentUser].applications[selectedDate];
                localStorage.setItem('allUsersData', JSON.stringify(allUsersData));
            }
            
            // Reset count for this date
            currentCount = 0;
            updateCountDisplay();
            deleteBtn.classList.add('hidden');
            
            // Reload history and stats
            loadHistory();
            updateStats();
            
            // If admin, reload all users data
            if (currentUser === 'loliloli') {
                loadAllUsersData();
            }
            
            alert('Entry deleted successfully for ' + formatDate(selectedDate) + '!');
        });

        // Date selection handling
        selectedDateInput.addEventListener('change', () => {
            selectedDate = selectedDateInput.value;
            loadDateData();
        });

        // Quick date buttons
        todayBtn.addEventListener('click', () => {
            selectedDate = new Date().toISOString().split('T')[0];
            selectedDateInput.value = selectedDate;
            loadDateData();
        });

        yesterdayBtn.addEventListener('click', () => {
            selectedDate = new Date(new Date().setDate(new Date().getDate() - 1)).toISOString().split('T')[0];
            selectedDateInput.value = selectedDate;
            loadDateData();
        });

        // Sort buttons
        sortDateBtn.addEventListener('click', () => {
            sortOrder = sortOrder === 'dateDesc' ? 'dateAsc' : 'dateDesc';
            loadHistory();
        });

        sortCountBtn.addEventListener('click', () => {
            sortOrder = sortOrder === 'countDesc' ? 'countAsc' : 'countDesc';
            loadHistory();
        });

        // Edit modal handlers
        closeEditModal.addEventListener('click', closeEditModalHandler);
        cancelEdit.addEventListener('click', closeEditModalHandler);
        saveEdit.addEventListener('click', saveEditHandler);

        // Note modal handlers
        addNoteBtn.addEventListener('click', openNoteModal);
        closeNoteModal.addEventListener('click', closeNoteModalHandler);
        cancelNote.addEventListener('click', closeNoteModalHandler);
        saveNote.addEventListener('click', saveNoteHandler);

        // Refresh users data
        refreshUsersBtn.addEventListener('click', loadAllUsersData);

        // Export data
        exportDataBtn.addEventListener('click', exportData);

        // Initialize the app
        init();
    </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=kasramojallal/application-tracker" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>