File size: 51,787 Bytes
43fa1aa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Settings Menu</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>
        .settings-transition {
            transition: all 0.3s ease;
        }
        .toggle-checkbox:checked {
            right: 0;
            background-color: #4f46e5;
        }
        .toggle-checkbox:checked + .toggle-label {
            background-color: #a5b4fc;
        }
        .tab-content {
            display: none;
        }
        .tab-content.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        .custom-scrollbar::-webkit-scrollbar {
            width: 6px;
        }
        .custom-scrollbar::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #c7d2fe;
            border-radius: 10px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: #a5b4fc;
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <div class="flex h-screen">
        <!-- Sidebar -->
        <div class="w-64 bg-white shadow-lg hidden md:block">
            <div class="p-6">
                <h1 class="text-2xl font-bold text-indigo-600 flex items-center">
                    <i class="fas fa-cog mr-2"></i> Settings
                </h1>
                <div class="mt-8">
                    <div class="space-y-1">
                        <button onclick="openTab(event, 'account')" class="tab-button w-full text-left px-4 py-3 rounded-lg flex items-center text-indigo-700 bg-indigo-50">
                            <i class="fas fa-user-circle mr-3"></i> Account
                        </button>
                        <button onclick="openTab(event, 'notifications')" class="tab-button w-full text-left px-4 py-3 rounded-lg flex items-center text-gray-600 hover:bg-gray-100">
                            <i class="fas fa-bell mr-3"></i> Notifications
                        </button>
                        <button onclick="openTab(event, 'privacy')" class="tab-button w-full text-left px-4 py-3 rounded-lg flex items-center text-gray-600 hover:bg-gray-100">
                            <i class="fas fa-lock mr-3"></i> Privacy
                        </button>
                        <button onclick="openTab(event, 'appearance')" class="tab-button w-full text-left px-4 py-3 rounded-lg flex items-center text-gray-600 hover:bg-gray-100">
                            <i class="fas fa-palette mr-3"></i> Appearance
                        </button>
                        <button onclick="openTab(event, 'language')" class="tab-button w-full text-left px-4 py-3 rounded-lg flex items-center text-gray-600 hover:bg-gray-100">
                            <i class="fas fa-language mr-3"></i> Language
                        </button>
                        <button onclick="openTab(event, 'help')" class="tab-button w-full text-left px-4 py-3 rounded-lg flex items-center text-gray-600 hover:bg-gray-100">
                            <i class="fas fa-question-circle mr-3"></i> Help
                        </button>
                    </div>
                </div>
            </div>
        </div>

        <!-- Mobile header -->
        <div class="md:hidden w-full bg-white shadow-sm p-4 flex justify-between items-center">
            <h1 class="text-xl font-bold text-indigo-600 flex items-center">
                <i class="fas fa-cog mr-2"></i> Settings
            </h1>
            <button id="mobileMenuButton" class="text-gray-600">
                <i class="fas fa-bars text-xl"></i>
            </button>
        </div>

        <!-- Mobile sidebar (hidden by default) -->
        <div id="mobileSidebar" class="fixed inset-0 bg-black bg-opacity-50 z-40 hidden md:hidden">
            <div class="absolute left-0 top-0 h-full w-64 bg-white shadow-lg settings-transition transform -translate-x-full">
                <div class="p-6">
                    <div class="flex justify-between items-center mb-6">
                        <h1 class="text-2xl font-bold text-indigo-600 flex items-center">
                            <i class="fas fa-cog mr-2"></i> Settings
                        </h1>
                        <button id="closeMobileMenu" class="text-gray-600">
                            <i class="fas fa-times text-xl"></i>
                        </button>
                    </div>
                    <div class="space-y-1">
                        <button onclick="openTab(event, 'account')" class="tab-button w-full text-left px-4 py-3 rounded-lg flex items-center text-indigo-700 bg-indigo-50">
                            <i class="fas fa-user-circle mr-3"></i> Account
                        </button>
                        <button onclick="openTab(event, 'notifications')" class="tab-button w-full text-left px-4 py-3 rounded-lg flex items-center text-gray-600 hover:bg-gray-100">
                            <i class="fas fa-bell mr-3"></i> Notifications
                        </button>
                        <button onclick="openTab(event, 'privacy')" class="tab-button w-full text-left px-4 py-3 rounded-lg flex items-center text-gray-600 hover:bg-gray-100">
                            <i class="fas fa-lock mr-3"></i> Privacy
                        </button>
                        <button onclick="openTab(event, 'appearance')" class="tab-button w-full text-left px-4 py-3 rounded-lg flex items-center text-gray-600 hover:bg-gray-100">
                            <i class="fas fa-palette mr-3"></i> Appearance
                        </button>
                        <button onclick="openTab(event, 'language')" class="tab-button w-full text-left px-4 py-3 rounded-lg flex items-center text-gray-600 hover:bg-gray-100">
                            <i class="fas fa-language mr-3"></i> Language
                        </button>
                        <button onclick="openTab(event, 'help')" class="tab-button w-full text-left px-4 py-3 rounded-lg flex items-center text-gray-600 hover:bg-gray-100">
                            <i class="fas fa-question-circle mr-3"></i> Help
                        </button>
                    </div>
                </div>
            </div>
        </div>

        <!-- Main content -->
        <div class="flex-1 overflow-auto custom-scrollbar">
            <div class="p-6 md:p-10">
                <!-- Account Settings -->
                <div id="account" class="tab-content active">
                    <div class="flex justify-between items-center mb-8">
                        <h2 class="text-2xl font-bold text-gray-800 flex items-center">
                            <i class="fas fa-user-circle mr-3 text-indigo-600"></i> Account Settings
                        </h2>
                        <button class="text-indigo-600 hover:text-indigo-800">
                            <i class="fas fa-ellipsis-v"></i>
                        </button>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6 mb-8">
                        <div class="flex flex-col md:flex-row items-center mb-8">
                            <div class="w-24 h-24 rounded-full bg-indigo-100 flex items-center justify-center mb-4 md:mb-0 md:mr-6">
                                <i class="fas fa-user text-4xl text-indigo-600"></i>
                            </div>
                            <div class="flex-1 text-center md:text-left">
                                <h3 class="text-lg font-semibold text-gray-800">John Doe</h3>
                                <p class="text-gray-600">[email protected]</p>
                            </div>
                            <button class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 mt-4 md:mt-0">
                                Change Photo
                            </button>
                        </div>

                        <div class="space-y-6">
                            <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                                <div>
                                    <label class="block text-sm font-medium text-gray-700 mb-1">First Name</label>
                                    <input type="text" value="John" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-200 focus:border-indigo-500">
                                </div>
                                <div>
                                    <label class="block text-sm font-medium text-gray-700 mb-1">Last Name</label>
                                    <input type="text" value="Doe" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-200 focus:border-indigo-500">
                                </div>
                            </div>

                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">Email</label>
                                <input type="email" value="[email protected]" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-200 focus:border-indigo-500">
                            </div>

                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">Bio</label>
                                <textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-200 focus:border-indigo-500 h-24">Product designer, photographer and traveler. Currently working at Example Inc.</textarea>
                            </div>
                        </div>

                        <div class="flex justify-end mt-8">
                            <button class="px-6 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 mr-4">
                                Cancel
                            </button>
                            <button class="px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700">
                                Save Changes
                            </button>
                        </div>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6">
                        <h3 class="text-lg font-semibold text-gray-800 mb-6 flex items-center">
                            <i class="fas fa-key mr-2 text-indigo-600"></i> Change Password
                        </h3>

                        <div class="space-y-6">
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">Current Password</label>
                                <div class="relative">
                                    <input type="password" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-200 focus:border-indigo-500 pr-10">
                                    <button class="absolute right-3 top-2.5 text-gray-500 hover:text-gray-700">
                                        <i class="fas fa-eye"></i>
                                    </button>
                                </div>
                            </div>

                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">New Password</label>
                                <div class="relative">
                                    <input type="password" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-200 focus:border-indigo-500 pr-10">
                                    <button class="absolute right-3 top-2.5 text-gray-500 hover:text-gray-700">
                                        <i class="fas fa-eye"></i>
                                    </button>
                                </div>
                                <p class="text-xs text-gray-500 mt-1">Must be at least 8 characters</p>
                            </div>

                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">Confirm New Password</label>
                                <div class="relative">
                                    <input type="password" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-200 focus:border-indigo-500 pr-10">
                                    <button class="absolute right-3 top-2.5 text-gray-500 hover:text-gray-700">
                                        <i class="fas fa-eye"></i>
                                    </button>
                                </div>
                            </div>
                        </div>

                        <div class="flex justify-end mt-8">
                            <button class="px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700">
                                Update Password
                            </button>
                        </div>
                    </div>
                </div>

                <!-- Notifications Settings -->
                <div id="notifications" class="tab-content">
                    <div class="flex justify-between items-center mb-8">
                        <h2 class="text-2xl font-bold text-gray-800 flex items-center">
                            <i class="fas fa-bell mr-3 text-indigo-600"></i> Notification Settings
                        </h2>
                        <button class="text-indigo-600 hover:text-indigo-800">
                            <i class="fas fa-ellipsis-v"></i>
                        </button>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6 mb-8">
                        <h3 class="text-lg font-semibold text-gray-800 mb-6 flex items-center">
                            <i class="fas fa-envelope mr-2 text-indigo-600"></i> Email Notifications
                        </h3>

                        <div class="space-y-6">
                            <div class="flex justify-between items-center">
                                <div>
                                    <h4 class="font-medium text-gray-800">Product updates</h4>
                                    <p class="text-sm text-gray-600">News about new features and improvements</p>
                                </div>
                                <label class="relative inline-flex items-center cursor-pointer">
                                    <input type="checkbox" class="toggle-checkbox sr-only" checked>
                                    <div class="toggle-label w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-indigo-300 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all"></div>
                                </label>
                            </div>

                            <div class="flex justify-between items-center">
                                <div>
                                    <h4 class="font-medium text-gray-800">Security alerts</h4>
                                    <p class="text-sm text-gray-600">Important notifications about your account security</p>
                                </div>
                                <label class="relative inline-flex items-center cursor-pointer">
                                    <input type="checkbox" class="toggle-checkbox sr-only" checked>
                                    <div class="toggle-label w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-indigo-300 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all"></div>
                                </label>
                            </div>

                            <div class="flex justify-between items-center">
                                <div>
                                    <h4 class="font-medium text-gray-800">Newsletter</h4>
                                    <p class="text-sm text-gray-600">Weekly digest with curated content</p>
                                </div>
                                <label class="relative inline-flex items-center cursor-pointer">
                                    <input type="checkbox" class="toggle-checkbox sr-only">
                                    <div class="toggle-label w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-indigo-300 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all"></div>
                                </label>
                            </div>
                        </div>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6">
                        <h3 class="text-lg font-semibold text-gray-800 mb-6 flex items-center">
                            <i class="fas fa-mobile-alt mr-2 text-indigo-600"></i> Push Notifications
                        </h3>

                        <div class="space-y-6">
                            <div class="flex justify-between items-center">
                                <div>
                                    <h4 class="font-medium text-gray-800">Messages</h4>
                                    <p class="text-sm text-gray-600">Get notified when you receive new messages</p>
                                </div>
                                <label class="relative inline-flex items-center cursor-pointer">
                                    <input type="checkbox" class="toggle-checkbox sr-only" checked>
                                    <div class="toggle-label w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-indigo-300 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all"></div>
                                </label>
                            </div>

                            <div class="flex justify-between items-center">
                                <div>
                                    <h4 class="font-medium text-gray-800">Reminders</h4>
                                    <p class="text-sm text-gray-600">Daily reminders for important tasks</p>
                                </div>
                                <label class="relative inline-flex items-center cursor-pointer">
                                    <input type="checkbox" class="toggle-checkbox sr-only">
                                    <div class="toggle-label w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-indigo-300 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all"></div>
                                </label>
                            </div>

                            <div class="flex justify-between items-center">
                                <div>
                                    <h4 class="font-medium text-gray-800">Promotions</h4>
                                    <p class="text-sm text-gray-600">Special offers and discounts</p>
                                </div>
                                <label class="relative inline-flex items-center cursor-pointer">
                                    <input type="checkbox" class="toggle-checkbox sr-only">
                                    <div class="toggle-label w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-indigo-300 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all"></div>
                                </label>
                            </div>
                        </div>

                        <div class="flex justify-end mt-8">
                            <button class="px-6 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 mr-4">
                                Reset
                            </button>
                            <button class="px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700">
                                Save Preferences
                            </button>
                        </div>
                    </div>
                </div>

                <!-- Privacy Settings -->
                <div id="privacy" class="tab-content">
                    <div class="flex justify-between items-center mb-8">
                        <h2 class="text-2xl font-bold text-gray-800 flex items-center">
                            <i class="fas fa-lock mr-3 text-indigo-600"></i> Privacy Settings
                        </h2>
                        <button class="text-indigo-600 hover:text-indigo-800">
                            <i class="fas fa-ellipsis-v"></i>
                        </button>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6 mb-8">
                        <h3 class="text-lg font-semibold text-gray-800 mb-6 flex items-center">
                            <i class="fas fa-user-shield mr-2 text-indigo-600"></i> Account Privacy
                        </h3>

                        <div class="space-y-6">
                            <div class="flex justify-between items-center">
                                <div>
                                    <h4 class="font-medium text-gray-800">Private Account</h4>
                                    <p class="text-sm text-gray-600">Only approved followers can see your content</p>
                                </div>
                                <label class="relative inline-flex items-center cursor-pointer">
                                    <input type="checkbox" class="toggle-checkbox sr-only">
                                    <div class="toggle-label w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-indigo-300 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all"></div>
                                </label>
                            </div>

                            <div class="flex justify-between items-center">
                                <div>
                                    <h4 class="font-medium text-gray-800">Activity Status</h4>
                                    <p class="text-sm text-gray-600">Show when you were last active</p>
                                </div>
                                <label class="relative inline-flex items-center cursor-pointer">
                                    <input type="checkbox" class="toggle-checkbox sr-only" checked>
                                    <div class="toggle-label w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-indigo-300 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all"></div>
                                </label>
                            </div>
                        </div>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6 mb-8">
                        <h3 class="text-lg font-semibold text-gray-800 mb-6 flex items-center">
                            <i class="fas fa-globe-americas mr-2 text-indigo-600"></i> Data Sharing
                        </h3>

                        <div class="space-y-6">
                            <div class="flex justify-between items-center">
                                <div>
                                    <h4 class="font-medium text-gray-800">Analytics</h4>
                                    <p class="text-sm text-gray-600">Share usage data to help improve our services</p>
                                </div>
                                <label class="relative inline-flex items-center cursor-pointer">
                                    <input type="checkbox" class="toggle-checkbox sr-only" checked>
                                    <div class="toggle-label w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-indigo-300 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all"></div>
                                </label>
                            </div>

                            <div class="flex justify-between items-center">
                                <div>
                                    <h4 class="font-medium text-gray-800">Personalized Ads</h4>
                                    <p class="text-sm text-gray-600">See ads that are more relevant to you</p>
                                </div>
                                <label class="relative inline-flex items-center cursor-pointer">
                                    <input type="checkbox" class="toggle-checkbox sr-only">
                                    <div class="toggle-label w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-indigo-300 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all"></div>
                                </label>
                            </div>
                        </div>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6">
                        <h3 class="text-lg font-semibold text-gray-800 mb-6 flex items-center">
                            <i class="fas fa-database mr-2 text-indigo-600"></i> Data Management
                        </h3>

                        <div class="space-y-6">
                            <div>
                                <h4 class="font-medium text-gray-800 mb-2">Download Your Data</h4>
                                <p class="text-sm text-gray-600 mb-4">Request a copy of all your personal data we store</p>
                                <button class="px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50">
                                    Request Data Download
                                </button>
                            </div>

                            <div>
                                <h4 class="font-medium text-gray-800 mb-2">Delete Account</h4>
                                <p class="text-sm text-gray-600 mb-4">Permanently delete your account and all associated data</p>
                                <button class="px-4 py-2 border border-red-300 text-red-600 rounded-lg hover:bg-red-50">
                                    Delete Account
                                </button>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Appearance Settings -->
                <div id="appearance" class="tab-content">
                    <div class="flex justify-between items-center mb-8">
                        <h2 class="text-2xl font-bold text-gray-800 flex items-center">
                            <i class="fas fa-palette mr-3 text-indigo-600"></i> Appearance Settings
                        </h2>
                        <button class="text-indigo-600 hover:text-indigo-800">
                            <i class="fas fa-ellipsis-v"></i>
                        </button>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6 mb-8">
                        <h3 class="text-lg font-semibold text-gray-800 mb-6 flex items-center">
                            <i class="fas fa-moon mr-2 text-indigo-600"></i> Theme
                        </h3>

                        <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                            <div class="border-2 border-indigo-500 rounded-lg p-4 cursor-pointer">
                                <div class="flex items-center mb-2">
                                    <i class="fas fa-sun text-yellow-500 mr-2"></i>
                                    <span class="font-medium">Light</span>
                                </div>
                                <div class="h-24 bg-gray-100 rounded"></div>
                            </div>
                            <div class="border-2 border-gray-200 rounded-lg p-4 cursor-pointer hover:border-gray-300">
                                <div class="flex items-center mb-2">
                                    <i class="fas fa-moon text-indigo-500 mr-2"></i>
                                    <span class="font-medium">Dark</span>
                                </div>
                                <div class="h-24 bg-gray-800 rounded"></div>
                            </div>
                            <div class="border-2 border-gray-200 rounded-lg p-4 cursor-pointer hover:border-gray-300">
                                <div class="flex items-center mb-2">
                                    <i class="fas fa-adjust text-gray-600 mr-2"></i>
                                    <span class="font-medium">System</span>
                                </div>
                                <div class="h-24 bg-gradient-to-r from-gray-100 to-gray-800 rounded"></div>
                            </div>
                        </div>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6 mb-8">
                        <h3 class="text-lg font-semibold text-gray-800 mb-6 flex items-center">
                            <i class="fas fa-tint mr-2 text-indigo-600"></i> Accent Color
                        </h3>

                        <div class="grid grid-cols-5 gap-4">
                            <div class="w-10 h-10 rounded-full bg-indigo-500 cursor-pointer border-2 border-indigo-700"></div>
                            <div class="w-10 h-10 rounded-full bg-blue-500 cursor-pointer hover:border-2 hover:border-blue-700"></div>
                            <div class="w-10 h-10 rounded-full bg-green-500 cursor-pointer hover:border-2 hover:border-green-700"></div>
                            <div class="w-10 h-10 rounded-full bg-red-500 cursor-pointer hover:border-2 hover:border-red-700"></div>
                            <div class="w-10 h-10 rounded-full bg-purple-500 cursor-pointer hover:border-2 hover:border-purple-700"></div>
                            <div class="w-10 h-10 rounded-full bg-pink-500 cursor-pointer hover:border-2 hover:border-pink-700"></div>
                            <div class="w-10 h-10 rounded-full bg-yellow-500 cursor-pointer hover:border-2 hover:border-yellow-700"></div>
                            <div class="w-10 h-10 rounded-full bg-orange-500 cursor-pointer hover:border-2 hover:border-orange-700"></div>
                            <div class="w-10 h-10 rounded-full bg-gray-500 cursor-pointer hover:border-2 hover:border-gray-700"></div>
                            <div class="w-10 h-10 rounded-full bg-gradient-to-r from-purple-500 to-pink-500 cursor-pointer hover:border-2 hover:border-purple-700"></div>
                        </div>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6">
                        <h3 class="text-lg font-semibold text-gray-800 mb-6 flex items-center">
                            <i class="fas fa-text-height mr-2 text-indigo-600"></i> Font Size
                        </h3>

                        <div class="flex items-center">
                            <span class="text-sm mr-2">A</span>
                            <input type="range" min="12" max="24" value="16" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer">
                            <span class="text-xl ml-2">A</span>
                        </div>

                        <div class="flex justify-end mt-8">
                            <button class="px-6 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 mr-4">
                                Reset
                            </button>
                            <button class="px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700">
                                Apply Changes
                            </button>
                        </div>
                    </div>
                </div>

                <!-- Language Settings -->
                <div id="language" class="tab-content">
                    <div class="flex justify-between items-center mb-8">
                        <h2 class="text-2xl font-bold text-gray-800 flex items-center">
                            <i class="fas fa-language mr-3 text-indigo-600"></i> Language Settings
                        </h2>
                        <button class="text-indigo-600 hover:text-indigo-800">
                            <i class="fas fa-ellipsis-v"></i>
                        </button>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6 mb-8">
                        <h3 class="text-lg font-semibold text-gray-800 mb-6 flex items-center">
                            <i class="fas fa-globe mr-2 text-indigo-600"></i> App Language
                        </h3>

                        <div class="space-y-4">
                            <div class="flex items-center p-3 border border-gray-200 rounded-lg hover:border-indigo-300 cursor-pointer">
                                <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
                                    <span class="text-indigo-600">EN</span>
                                </div>
                                <div class="flex-1">
                                    <h4 class="font-medium">English</h4>
                                </div>
                                <i class="fas fa-check text-indigo-600"></i>
                            </div>

                            <div class="flex items-center p-3 border border-gray-200 rounded-lg hover:border-indigo-300 cursor-pointer">
                                <div class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center mr-3">
                                    <span class="text-gray-600">ES</span>
                                </div>
                                <div class="flex-1">
                                    <h4 class="font-medium">Español</h4>
                                </div>
                            </div>

                            <div class="flex items-center p-3 border border-gray-200 rounded-lg hover:border-indigo-300 cursor-pointer">
                                <div class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center mr-3">
                                    <span class="text-gray-600">FR</span>
                                </div>
                                <div class="flex-1">
                                    <h4 class="font-medium">Français</h4>
                                </div>
                            </div>

                            <div class="flex items-center p-3 border border-gray-200 rounded-lg hover:border-indigo-300 cursor-pointer">
                                <div class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center mr-3">
                                    <span class="text-gray-600">DE</span>
                                </div>
                                <div class="flex-1">
                                    <h4 class="font-medium">Deutsch</h4>
                                </div>
                            </div>

                            <div class="flex items-center p-3 border border-gray-200 rounded-lg hover:border-indigo-300 cursor-pointer">
                                <div class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center mr-3">
                                    <span class="text-gray-600">JA</span>
                                </div>
                                <div class="flex-1">
                                    <h4 class="font-medium">日本語</h4>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6">
                        <h3 class="text-lg font-semibold text-gray-800 mb-6 flex items-center">
                            <i class="fas fa-keyboard mr-2 text-indigo-600"></i> Input Language
                        </h3>

                        <div class="space-y-4">
                            <div class="flex items-center p-3 border border-gray-200 rounded-lg hover:border-indigo-300 cursor-pointer">
                                <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
                                    <span class="text-indigo-600">EN</span>
                                </div>
                                <div class="flex-1">
                                    <h4 class="font-medium">English (US)</h4>
                                    <p class="text-sm text-gray-600">QWERTY keyboard</p>
                                </div>
                                <i class="fas fa-check text-indigo-600"></i>
                            </div>

                            <div class="flex items-center p-3 border border-gray-200 rounded-lg hover:border-indigo-300 cursor-pointer">
                                <div class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center mr-3">
                                    <span class="text-gray-600">EN</span>
                                </div>
                                <div class="flex-1">
                                    <h4 class="font-medium">English (UK)</h4>
                                    <p class="text-sm text-gray-600">QWERTY keyboard</p>
                                </div>
                            </div>

                            <div class="flex items-center p-3 border border-gray-200 rounded-lg hover:border-indigo-300 cursor-pointer">
                                <div class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center mr-3">
                                    <span class="text-gray-600">FR</span>
                                </div>
                                <div class="flex-1">
                                    <h4 class="font-medium">French</h4>
                                    <p class="text-sm text-gray-600">AZERTY keyboard</p>
                                </div>
                            </div>
                        </div>

                        <button class="w-full mt-6 px-4 py-2 border-2 border-dashed border-gray-300 rounded-lg text-gray-600 hover:border-indigo-300 hover:text-indigo-600">
                            <i class="fas fa-plus mr-2"></i> Add Input Language
                        </button>
                    </div>
                </div>

                <!-- Help Settings -->
                <div id="help" class="tab-content">
                    <div class="flex justify-between items-center mb-8">
                        <h2 class="text-2xl font-bold text-gray-800 flex items-center">
                            <i class="fas fa-question-circle mr-3 text-indigo-600"></i> Help & Support
                        </h2>
                        <button class="text-indigo-600 hover:text-indigo-800">
                            <i class="fas fa-ellipsis-v"></i>
                        </button>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6 mb-8">
                        <h3 class="text-lg font-semibold text-gray-800 mb-6 flex items-center">
                            <i class="fas fa-book mr-2 text-indigo-600"></i> Help Center
                        </h3>

                        <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                            <div class="p-4 border border-gray-200 rounded-lg hover:border-indigo-300 cursor-pointer">
                                <div class="flex items-center mb-3">
                                    <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
                                        <i class="fas fa-user text-indigo-600"></i>
                                    </div>
                                    <h4 class="font-medium">Account Help</h4>
                                </div>
                                <p class="text-sm text-gray-600">Learn how to manage your account settings and preferences</p>
                            </div>

                            <div class="p-4 border border-gray-200 rounded-lg hover:border-indigo-300 cursor-pointer">
                                <div class="flex items-center mb-3">
                                    <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-3">
                                        <i class="fas fa-lock text-blue-600"></i>
                                    </div>
                                    <h4 class="font-medium">Privacy & Security</h4>
                                </div>
                                <p class="text-sm text-gray-600">Understand how we protect your data and privacy</p>
                            </div>

                            <div class="p-4 border border-gray-200 rounded-lg hover:border-indigo-300 cursor-pointer">
                                <div class="flex items-center mb-3">
                                    <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mr-3">
                                        <i class="fas fa-bug text-green-600"></i>
                                    </div>
                                    <h4 class="font-medium">Troubleshooting</h4>
                                </div>
                                <p class="text-sm text-gray-600">Fix common issues and problems</p>
                            </div>

                            <div class="p-4 border border-gray-200 rounded-lg hover:border-indigo-300 cursor-pointer">
                                <div class="flex items-center mb-3">
                                    <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
                                        <i class="fas fa-question text-purple-600"></i>
                                    </div>
                                    <h4 class="font-medium">FAQs</h4>
                                </div>
                                <p class="text-sm text-gray-600">Find answers to frequently asked questions</p>
                            </div>
                        </div>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6 mb-8">
                        <h3 class="text-lg font-semibold text-gray-800 mb-6 flex items-center">
                            <i class="fas fa-headset mr-2 text-indigo-600"></i> Contact Support
                        </h3>

                        <div class="space-y-6">
                            <div>
                                <h4 class="font-medium text-gray-800 mb-2">Email Support</h4>
                                <p class="text-sm text-gray-600 mb-4">Send us an email and we'll get back to you within 24 hours</p>
                                <button class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700">
                                    <i class="fas fa-envelope mr-2"></i> Email Us
                                </button>
                            </div>

                            <div>
                                <h4 class="font-medium text-gray-800 mb-2">Live Chat</h4>
                                <p class="text-sm text-gray-600 mb-4">Chat with a support agent in real-time (available 9AM-5PM)</p>
                                <button class="px-4 py-2 border border-indigo-600 text-indigo-600 rounded-lg hover:bg-indigo-50">
                                    <i class="fas fa-comment-dots mr-2"></i> Start Chat
                                </button>
                            </div>

                            <div>
                                <h4 class="font-medium text-gray-800 mb-2">Community Forum</h4>
                                <p class="text-sm text-gray-600 mb-4">Get help from other users in our community</p>
                                <button class="px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50">
                                    <i class="fas fa-users mr-2"></i> Visit Forum
                                </button>
                            </div>
                        </div>
                    </div>

                    <div class="bg-white rounded-xl shadow-sm p-6">
                        <h3 class="text-lg font-semibold text-gray-800 mb-6 flex items-center">
                            <i class="fas fa-info-circle mr-2 text-indigo-600"></i> About
                        </h3>

                        <div class="space-y-4">
                            <div class="flex justify-between">
                                <span class="text-gray-600">App Version</span>
                                <span class="font-medium">2.4.1</span>
                            </div>
                            <div class="flex justify-between">
                                <span class="text-gray-600">Last Updated</span>
                                <span class="font-medium">June 15, 2023</span>
                            </div>
                            <div class="flex justify-between">
                                <span class="text-gray-600">Terms of Service</span>
                                <a href="#" class="text-indigo-600 hover:underline">View</a>
                            </div>
                            <div class="flex justify-between">
                                <span class="text-gray-600">Privacy Policy</span>
                                <a href="#" class="text-indigo-600 hover:underline">View</a>
                            </div>
                            <div class="flex justify-between">
                                <span class="text-gray-600">Open Source Licenses</span>
                                <a href="#" class="text-indigo-600 hover:underline">View</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        // Tab functionality
        function openTab(evt, tabName) {
            // Hide all tab content
            const tabContents = document.getElementsByClassName("tab-content");
            for (let i = 0; i < tabContents.length; i++) {
                tabContents[i].classList.remove("active");
            }

            // Remove active class from all tab buttons
            const tabButtons = document.getElementsByClassName("tab-button");
            for (let i = 0; i < tabButtons.length; i++) {
                tabButtons[i].classList.remove("text-indigo-700", "bg-indigo-50");
                tabButtons[i].classList.add("text-gray-600", "hover:bg-gray-100");
            }

            // Show the current tab and add active class to the button
            document.getElementById(tabName).classList.add("active");
            evt.currentTarget.classList.add("text-indigo-700", "bg-indigo-50");
            evt.currentTarget.classList.remove("text-gray-600", "hover:bg-gray-100");

            // Close mobile menu if open
            document.getElementById('mobileSidebar').classList.add('hidden');
        }

        // Mobile menu toggle
        document.getElementById('mobileMenuButton').addEventListener('click', function() {
            document.getElementById('mobileSidebar').classList.remove('hidden');
            setTimeout(() => {
                document.querySelector('#mobileSidebar > div').classList.remove('-translate-x-full');
            }, 10);
        });

        document.getElementById('closeMobileMenu').addEventListener('click', function() {
            document.querySelector('#mobileSidebar > div').classList.add('-translate-x-full');
            setTimeout(() => {
                document.getElementById('mobileSidebar').classList.add('hidden');
            }, 300);
        });

        // Close mobile menu when clicking outside
        document.getElementById('mobileSidebar').addEventListener('click', function(e) {
            if (e.target === this) {
                document.querySelector('#mobileSidebar > div').classList.add('-translate-x-full');
                setTimeout(() => {
                    document.getElementById('mobileSidebar').classList.add('hidden');
                }, 300);
            }
        });

        // Initialize first tab as active
        document.addEventListener('DOMContentLoaded', function() {
            // Set first tab button as active
            const firstTabButton = document.querySelector('.tab-button');
            if (firstTabButton) {
                firstTabButton.classList.add("text-indigo-700", "bg-indigo-50");
                firstTabButton.classList.remove("text-gray-600", "hover:bg-gray-100");
            }
        });
    </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=mrpaswan7/setting-page" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>