File size: 56,734 Bytes
3c09508
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Deflook Academy - Basketball Training</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>
        @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;600;700&display=swap');
        
        body {
            font-family: 'Montserrat', sans-serif;
            background-color: #f8f9fa;
        }
        
        .logo-text {
            font-family: 'Bebas Neue', cursive;
        }
        
        .bg-court {
            background-image: url('https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80');
            background-size: cover;
            background-position: center;
            filter: blur(2px);
        }
        
        .video-thumbnail {
            transition: transform 0.3s ease;
        }
        
        .video-thumbnail:hover {
            transform: scale(1.03);
        }
        
        .floating-btn {
            box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
        }
        
        .chat-bubble {
            max-width: 80%;
        }
        
        .progress-bar {
            transition: width 0.5s ease;
        }
        
        .sidebar {
            transition: transform 0.3s ease;
        }
        
        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
                position: fixed;
                z-index: 50;
                height: 100vh;
                top: 0;
                left: 0;
            }
            
            .sidebar.open {
                transform: translateX(0);
            }
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .nav-tab {
            transition: all 0.3s ease;
        }
        
        .nav-tab.active {
            background-color: #f97316;
            color: white;
        }
    </style>
</head>
<body class="min-h-screen">
    <!-- Login Screen -->
    <div id="login-screen" class="fixed inset-0 flex items-center justify-center bg-gray-900 bg-opacity-90 z-50">
        <div class="relative w-full max-w-md mx-4 overflow-hidden rounded-xl shadow-2xl">
            <div class="absolute inset-0 bg-court"></div>
            <div class="relative bg-white bg-opacity-90 backdrop-blur-sm p-8">
                <div class="flex flex-col items-center mb-8">
                    <div class="flex items-center justify-center w-16 h-16 bg-orange-500 rounded-full mb-4">
                        <i class="fas fa-basketball-ball text-white text-2xl"></i>
                    </div>
                    <h1 class="logo-text text-4xl text-orange-500">Deflook Academy</h1>
                    <p class="text-gray-600 mt-2">Train smarter, play better</p>
                </div>
                
                <div class="flex border-b border-gray-200 mb-6">
                    <button id="student-tab" class="nav-tab flex-1 py-2 px-4 text-center font-medium active">Student</button>
                    <button id="coach-tab" class="nav-tab flex-1 py-2 px-4 text-center font-medium">Coach</button>
                </div>
                
                <!-- Student Login Form -->
                <form id="student-form" class="space-y-4 tab-content active">
                    <div>
                        <label for="student-email" class="block text-sm font-medium text-gray-700">Email</label>
                        <input type="email" id="student-email" class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-orange-500 focus:border-orange-500">
                    </div>
                    <div>
                        <label for="student-password" class="block text-sm font-medium text-gray-700">Password</label>
                        <input type="password" id="student-password" class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-orange-500 focus:border-orange-500">
                    </div>
                    <div class="flex items-center justify-between">
                        <div class="flex items-center">
                            <input id="remember-me" name="remember-me" type="checkbox" class="h-4 w-4 text-orange-500 focus:ring-orange-500 border-gray-300 rounded">
                            <label for="remember-me" class="ml-2 block text-sm text-gray-700">Remember me</label>
                        </div>
                        <div class="text-sm">
                            <a href="#" class="font-medium text-orange-500 hover:text-orange-600">Forgot password?</a>
                        </div>
                    </div>
                    <div>
                        <button type="submit" class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-orange-500 hover:bg-orange-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-orange-500">
                            Sign in as Student
                        </button>
                    </div>
                </form>
                
                <!-- Coach Login Form -->
                <form id="coach-form" class="space-y-4 tab-content">
                    <div>
                        <label for="coach-email" class="block text-sm font-medium text-gray-700">Coach Email</label>
                        <input type="email" id="coach-email" class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-orange-500 focus:border-orange-500">
                    </div>
                    <div>
                        <label for="coach-password" class="block text-sm font-medium text-gray-700">Password</label>
                        <input type="password" id="coach-password" class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-orange-500 focus:border-orange-500">
                    </div>
                    <div class="flex items-center justify-between">
                        <div class="flex items-center">
                            <input id="remember-coach" name="remember-coach" type="checkbox" class="h-4 w-4 text-orange-500 focus:ring-orange-500 border-gray-300 rounded">
                            <label for="remember-coach" class="ml-2 block text-sm text-gray-700">Remember me</label>
                        </div>
                        <div class="text-sm">
                            <a href="#" class="font-medium text-orange-500 hover:text-orange-600">Forgot password?</a>
                        </div>
                    </div>
                    <div>
                        <button type="submit" class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-orange-500 hover:bg-orange-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-orange-500">
                            Sign in as Coach
                        </button>
                    </div>
                </form>
                
                <div class="mt-6 text-center">
                    <p class="text-sm text-gray-600">
                        Don't have an account? 
                        <a href="#" class="font-medium text-orange-500 hover:text-orange-600">Sign up</a>
                    </p>
                </div>
            </div>
        </div>
    </div>

    <!-- Student Dashboard (Hidden by default) -->
    <div id="student-dashboard" class="hidden">
        <div class="flex h-screen overflow-hidden">
            <!-- Sidebar -->
            <div id="sidebar" class="sidebar bg-white w-64 border-r border-gray-200 flex flex-col">
                <div class="flex items-center justify-between p-4 border-b border-gray-200">
                    <div class="flex items-center">
                        <div class="w-10 h-10 bg-orange-500 rounded-full flex items-center justify-center mr-3">
                            <i class="fas fa-basketball-ball text-white"></i>
                        </div>
                        <span class="logo-text text-xl text-orange-500">Deflook Academy</span>
                    </div>
                    <button id="close-sidebar" class="md:hidden text-gray-500 hover:text-gray-700">
                        <i class="fas fa-times"></i>
                    </button>
                </div>
                
                <div class="p-4 border-b border-gray-200">
                    <div class="flex items-center">
                        <div class="w-12 h-12 bg-orange-100 rounded-full flex items-center justify-center mr-3">
                            <i class="fas fa-user text-orange-500"></i>
                        </div>
                        <div>
                            <p class="font-semibold">John Player</p>
                            <p class="text-xs text-gray-500">Student</p>
                        </div>
                    </div>
                </div>
                
                <nav class="flex-1 overflow-y-auto p-4 space-y-2">
                    <a href="#" class="flex items-center p-2 text-orange-600 bg-orange-50 rounded-lg">
                        <i class="fas fa-video mr-3"></i>
                        <span>My Videos</span>
                    </a>
                    <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                        <i class="fas fa-comments mr-3"></i>
                        <span>Messages</span>
                        <span class="ml-auto bg-orange-500 text-white text-xs px-2 py-1 rounded-full">3</span>
                    </a>
                    <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                        <i class="fas fa-user-tie mr-3"></i>
                        <span>My Coach</span>
                    </a>
                    <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                        <i class="fas fa-chart-line mr-3"></i>
                        <span>Statistics</span>
                    </a>
                    <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                        <i class="fas fa-calendar-alt mr-3"></i>
                        <span>Schedule</span>
                    </a>
                </nav>
                
                <div class="p-4 border-t border-gray-200">
                    <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                        <i class="fas fa-sign-out-alt mr-3"></i>
                        <span>Logout</span>
                    </a>
                </div>
            </div>
            
            <!-- Main Content -->
            <div class="flex-1 overflow-auto">
                <div class="sticky top-0 z-10 bg-white border-b border-gray-200 p-4 flex items-center justify-between">
                    <button id="menu-button" class="md:hidden text-gray-500 hover:text-gray-700">
                        <i class="fas fa-bars"></i>
                    </button>
                    <h1 class="text-xl font-semibold text-gray-800">My Videos</h1>
                    <div class="flex items-center space-x-4">
                        <button class="text-gray-500 hover:text-gray-700">
                            <i class="fas fa-bell"></i>
                        </button>
                        <div class="w-8 h-8 bg-orange-100 rounded-full flex items-center justify-center">
                            <i class="fas fa-user text-orange-500"></i>
                        </div>
                    </div>
                </div>
                
                <div class="p-4">
                    <!-- Performance Summary -->
                    <div class="bg-white rounded-xl shadow-sm p-4 mb-6">
                        <h2 class="text-lg font-semibold mb-4">My Performance</h2>
                        <div class="flex items-center justify-between mb-4">
                            <div>
                                <p class="text-sm text-gray-500">Overall Rating</p>
                                <div class="flex items-center mt-1">
                                    <div class="flex">
                                        <i class="fas fa-star text-yellow-400"></i>
                                        <i class="fas fa-star text-yellow-400"></i>
                                        <i class="fas fa-star text-yellow-400"></i>
                                        <i class="fas fa-star text-yellow-400"></i>
                                        <i class="fas fa-star-half-alt text-yellow-400"></i>
                                    </div>
                                    <span class="ml-2 text-sm font-medium">4.5/5</span>
                                </div>
                            </div>
                            <div>
                                <p class="text-sm text-gray-500">Videos Analyzed</p>
                                <p class="text-lg font-semibold mt-1">12</p>
                            </div>
                            <div>
                                <p class="text-sm text-gray-500">Last Feedback</p>
                                <p class="text-sm font-medium mt-1">2 days ago</p>
                            </div>
                        </div>
                        
                        <div class="space-y-3">
                            <div>
                                <div class="flex justify-between text-sm mb-1">
                                    <span>Shooting</span>
                                    <span>3.8/5</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full h-2">
                                    <div class="bg-orange-500 h-2 rounded-full" style="width: 76%"></div>
                                </div>
                            </div>
                            <div>
                                <div class="flex justify-between text-sm mb-1">
                                    <span>Dribbling</span>
                                    <span>4.2/5</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full h-2">
                                    <div class="bg-orange-500 h-2 rounded-full" style="width: 84%"></div>
                                </div>
                            </div>
                            <div>
                                <div class="flex justify-between text-sm mb-1">
                                    <span>Defense</span>
                                    <span>4.0/5</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full h-2">
                                    <div class="bg-orange-500 h-2 rounded-full" style="width: 80%"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Video List -->
                    <h2 class="text-lg font-semibold mb-4">Recent Videos</h2>
                    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
                        <!-- Video Card 1 -->
                        <div class="bg-white rounded-xl shadow-sm overflow-hidden video-thumbnail">
                            <div class="relative pt-[56.25%] bg-gray-200">
                                <img src="https://images.unsplash.com/photo-1543357481-d3ea3eb3d120?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" class="absolute inset-0 w-full h-full object-cover">
                                <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
                                    <span class="bg-orange-500 text-white text-xs px-2 py-1 rounded">Shooting</span>
                                </div>
                                <div class="absolute top-2 right-2 bg-black bg-opacity-70 text-white text-xs px-2 py-1 rounded">
                                    2:45
                                </div>
                            </div>
                            <div class="p-4">
                                <div class="flex justify-between items-start">
                                    <h3 class="font-medium">Free Throw Practice</h3>
                                    <div class="flex items-center text-yellow-400">
                                        <i class="fas fa-star"></i>
                                        <span class="ml-1 text-gray-700 text-sm">4.2</span>
                                    </div>
                                </div>
                                <p class="text-sm text-gray-500 mt-1">Jun 15, 2023</p>
                                <div class="flex justify-between items-center mt-3">
                                    <div class="flex space-x-2">
                                        <span class="bg-orange-100 text-orange-800 text-xs px-2 py-1 rounded-full">Coach Feedback</span>
                                    </div>
                                    <button class="text-orange-500 hover:text-orange-700">
                                        <i class="fas fa-ellipsis-v"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- Video Card 2 -->
                        <div class="bg-white rounded-xl shadow-sm overflow-hidden video-thumbnail">
                            <div class="relative pt-[56.25%] bg-gray-200">
                                <img src="https://images.unsplash.com/photo-1519861531473-9200262188bf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" class="absolute inset-0 w-full h-full object-cover">
                                <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
                                    <span class="bg-blue-500 text-white text-xs px-2 py-1 rounded">Dribbling</span>
                                </div>
                                <div class="absolute top-2 right-2 bg-black bg-opacity-70 text-white text-xs px-2 py-1 rounded">
                                    1:32
                                </div>
                            </div>
                            <div class="p-4">
                                <div class="flex justify-between items-start">
                                    <h3 class="font-medium">Crossover Drills</h3>
                                    <div class="flex items-center text-yellow-400">
                                        <i class="fas fa-star"></i>
                                        <span class="ml-1 text-gray-700 text-sm">4.5</span>
                                    </div>
                                </div>
                                <p class="text-sm text-gray-500 mt-1">Jun 12, 2023</p>
                                <div class="flex justify-between items-center mt-3">
                                    <div class="flex space-x-2">
                                        <span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Improved</span>
                                    </div>
                                    <button class="text-orange-500 hover:text-orange-700">
                                        <i class="fas fa-ellipsis-v"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- Video Card 3 -->
                        <div class="bg-white rounded-xl shadow-sm overflow-hidden video-thumbnail">
                            <div class="relative pt-[56.25%] bg-gray-200">
                                <img src="https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" class="absolute inset-0 w-full h-full object-cover">
                                <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
                                    <span class="bg-purple-500 text-white text-xs px-2 py-1 rounded">Defense</span>
                                </div>
                                <div class="absolute top-2 right-2 bg-black bg-opacity-70 text-white text-xs px-2 py-1 rounded">
                                    3:21
                                </div>
                            </div>
                            <div class="p-4">
                                <div class="flex justify-between items-start">
                                    <h3 class="font-medium">Defensive Stance</h3>
                                    <div class="flex items-center text-yellow-400">
                                        <i class="fas fa-star"></i>
                                        <span class="ml-1 text-gray-700 text-sm">3.9</span>
                                    </div>
                                </div>
                                <p class="text-sm text-gray-500 mt-1">Jun 8, 2023</p>
                                <div class="flex justify-between items-center mt-3">
                                    <div class="flex space-x-2">
                                        <span class="bg-orange-100 text-orange-800 text-xs px-2 py-1 rounded-full">Needs Work</span>
                                    </div>
                                    <button class="text-orange-500 hover:text-orange-700">
                                        <i class="fas fa-ellipsis-v"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Floating Action Button -->
        <button id="upload-btn" class="fixed bottom-8 right-8 w-14 h-14 bg-orange-500 text-white rounded-full flex items-center justify-center shadow-lg floating-btn hover:bg-orange-600 transition-colors">
            <i class="fas fa-plus text-xl"></i>
        </button>
    </div>

    <!-- Coach Dashboard (Hidden by default) -->
    <div id="coach-dashboard" class="hidden">
        <div class="flex h-screen overflow-hidden">
            <!-- Sidebar -->
            <div id="coach-sidebar" class="sidebar bg-white w-64 border-r border-gray-200 flex flex-col">
                <div class="flex items-center justify-between p-4 border-b border-gray-200">
                    <div class="flex items-center">
                        <div class="w-10 h-10 bg-orange-500 rounded-full flex items-center justify-center mr-3">
                            <i class="fas fa-basketball-ball text-white"></i>
                        </div>
                        <span class="logo-text text-xl text-orange-500">Deflook Academy</span>
                    </div>
                    <button id="close-coach-sidebar" class="md:hidden text-gray-500 hover:text-gray-700">
                        <i class="fas fa-times"></i>
                    </button>
                </div>
                
                <div class="p-4 border-b border-gray-200">
                    <div class="flex items-center">
                        <div class="w-12 h-12 bg-orange-100 rounded-full flex items-center justify-center mr-3">
                            <i class="fas fa-user-tie text-orange-500"></i>
                        </div>
                        <div>
                            <p class="font-semibold">Coach Williams</p>
                            <p class="text-xs text-gray-500">Head Coach</p>
                        </div>
                    </div>
                </div>
                
                <nav class="flex-1 overflow-y-auto p-4 space-y-2">
                    <a href="#" class="flex items-center p-2 text-orange-600 bg-orange-50 rounded-lg">
                        <i class="fas fa-users mr-3"></i>
                        <span>My Players</span>
                    </a>
                    <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                        <i class="fas fa-video mr-3"></i>
                        <span>Review Videos</span>
                        <span class="ml-auto bg-orange-500 text-white text-xs px-2 py-1 rounded-full">5</span>
                    </a>
                    <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                        <i class="fas fa-comments mr-3"></i>
                        <span>Messages</span>
                    </a>
                    <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                        <i class="fas fa-chart-line mr-3"></i>
                        <span>Performance</span>
                    </a>
                    <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                        <i class="fas fa-calendar-alt mr-3"></i>
                        <span>Schedule</span>
                    </a>
                    <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                        <i class="fas fa-clipboard-list mr-3"></i>
                        <span>Training Plans</span>
                    </a>
                </nav>
                
                <div class="p-4 border-t border-gray-200">
                    <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                        <i class="fas fa-sign-out-alt mr-3"></i>
                        <span>Logout</span>
                    </a>
                </div>
            </div>
            
            <!-- Main Content -->
            <div class="flex-1 overflow-auto">
                <div class="sticky top-0 z-10 bg-white border-b border-gray-200 p-4 flex items-center justify-between">
                    <button id="coach-menu-button" class="md:hidden text-gray-500 hover:text-gray-700">
                        <i class="fas fa-bars"></i>
                    </button>
                    <h1 class="text-xl font-semibold text-gray-800">My Players</h1>
                    <div class="flex items-center space-x-4">
                        <button class="text-gray-500 hover:text-gray-700">
                            <i class="fas fa-bell"></i>
                        </button>
                        <div class="w-8 h-8 bg-orange-100 rounded-full flex items-center justify-center">
                            <i class="fas fa-user-tie text-orange-500"></i>
                        </div>
                    </div>
                </div>
                
                <div class="p-4">
                    <!-- Stats Overview -->
                    <div class="bg-white rounded-xl shadow-sm p-4 mb-6">
                        <h2 class="text-lg font-semibold mb-4">Team Overview</h2>
                        <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6">
                            <div class="bg-orange-50 p-4 rounded-lg">
                                <p class="text-sm text-gray-500">Total Players</p>
                                <p class="text-2xl font-bold text-orange-600">12</p>
                            </div>
                            <div class="bg-blue-50 p-4 rounded-lg">
                                <p class="text-sm text-gray-500">Videos to Review</p>
                                <p class="text-2xl font-bold text-blue-600">5</p>
                            </div>
                            <div class="bg-green-50 p-4 rounded-lg">
                                <p class="text-sm text-gray-500">Avg. Rating</p>
                                <p class="text-2xl font-bold text-green-600">4.2/5</p>
                            </div>
                        </div>
                        
                        <div class="space-y-3">
                            <div>
                                <div class="flex justify-between text-sm mb-1">
                                    <span>Team Shooting Avg.</span>
                                    <span>4.0/5</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full h-2">
                                    <div class="bg-orange-500 h-2 rounded-full" style="width: 80%"></div>
                                </div>
                            </div>
                            <div>
                                <div class="flex justify-between text-sm mb-1">
                                    <span>Team Dribbling Avg.</span>
                                    <span>3.8/5</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full h-2">
                                    <div class="bg-orange-500 h-2 rounded-full" style="width: 76%"></div>
                                </div>
                            </div>
                            <div>
                                <div class="flex justify-between text-sm mb-1">
                                    <span>Team Defense Avg.</span>
                                    <span>4.1/5</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full h-2">
                                    <div class="bg-orange-500 h-2 rounded-full" style="width: 82%"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Player List -->
                    <h2 class="text-lg font-semibold mb-4">My Players</h2>
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden">
                        <div class="grid grid-cols-12 bg-gray-50 p-4 border-b border-gray-200 font-medium text-sm">
                            <div class="col-span-4">Player</div>
                            <div class="col-span-2">Last Video</div>
                            <div class="col-span-2">Rating</div>
                            <div class="col-span-2">Progress</div>
                            <div class="col-span-2">Actions</div>
                        </div>
                        
                        <!-- Player 1 -->
                        <div class="grid grid-cols-12 p-4 border-b border-gray-200 items-center hover:bg-gray-50">
                            <div class="col-span-4 flex items-center">
                                <div class="w-10 h-10 bg-orange-100 rounded-full flex items-center justify-center mr-3">
                                    <i class="fas fa-user text-orange-500"></i>
                                </div>
                                <div>
                                    <p class="font-medium">John Player</p>
                                    <p class="text-xs text-gray-500">Point Guard</p>
                                </div>
                            </div>
                            <div class="col-span-2 text-sm">2 days ago</div>
                            <div class="col-span-2">
                                <div class="flex items-center text-yellow-400">
                                    <i class="fas fa-star"></i>
                                    <span class="ml-1 text-gray-700">4.2</span>
                                </div>
                            </div>
                            <div class="col-span-2">
                                <div class="w-full bg-gray-200 rounded-full h-1.5">
                                    <div class="bg-green-500 h-1.5 rounded-full" style="width: 75%"></div>
                                </div>
                            </div>
                            <div class="col-span-2 flex space-x-2">
                                <button class="w-8 h-8 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center hover:bg-blue-200">
                                    <i class="fas fa-comment-alt text-sm"></i>
                                </button>
                                <button class="w-8 h-8 bg-orange-100 text-orange-600 rounded-full flex items-center justify-center hover:bg-orange-200">
                                    <i class="fas fa-video text-sm"></i>
                                </button>
                            </div>
                        </div>
                        
                        <!-- Player 2 -->
                        <div class="grid grid-cols-12 p-4 border-b border-gray-200 items-center hover:bg-gray-50">
                            <div class="col-span-4 flex items-center">
                                <div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center mr-3">
                                    <i class="fas fa-user text-blue-500"></i>
                                </div>
                                <div>
                                    <p class="font-medium">Mike Johnson</p>
                                    <p class="text-xs text-gray-500">Shooting Guard</p>
                                </div>
                            </div>
                            <div class="col-span-2 text-sm">1 day ago</div>
                            <div class="col-span-2">
                                <div class="flex items-center text-yellow-400">
                                    <i class="fas fa-star"></i>
                                    <span class="ml-1 text-gray-700">4.5</span>
                                </div>
                            </div>
                            <div class="col-span-2">
                                <div class="w-full bg-gray-200 rounded-full h-1.5">
                                    <div class="bg-green-500 h-1.5 rounded-full" style="width: 85%"></div>
                                </div>
                            </div>
                            <div class="col-span-2 flex space-x-2">
                                <button class="w-8 h-8 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center hover:bg-blue-200">
                                    <i class="fas fa-comment-alt text-sm"></i>
                                </button>
                                <button class="w-8 h-8 bg-orange-100 text-orange-600 rounded-full flex items-center justify-center hover:bg-orange-200">
                                    <i class="fas fa-video text-sm"></i>
                                </button>
                            </div>
                        </div>
                        
                        <!-- Player 3 -->
                        <div class="grid grid-cols-12 p-4 border-b border-gray-200 items-center hover:bg-gray-50">
                            <div class="col-span-4 flex items-center">
                                <div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center mr-3">
                                    <i class="fas fa-user text-purple-500"></i>
                                </div>
                                <div>
                                    <p class="font-medium">Sarah Davis</p>
                                    <p class="text-xs text-gray-500">Center</p>
                                </div>
                            </div>
                            <div class="col-span-2 text-sm">3 days ago</div>
                            <div class="col-span-2">
                                <div class="flex items-center text-yellow-400">
                                    <i class="fas fa-star"></i>
                                    <span class="ml-1 text-gray-700">3.9</span>
                                </div>
                            </div>
                            <div class="col-span-2">
                                <div class="w-full bg-gray-200 rounded-full h-1.5">
                                    <div class="bg-yellow-500 h-1.5 rounded-full" style="width: 65%"></div>
                                </div>
                            </div>
                            <div class="col-span-2 flex space-x-2">
                                <button class="w-8 h-8 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center hover:bg-blue-200">
                                    <i class="fas fa-comment-alt text-sm"></i>
                                </button>
                                <button class="w-8 h-8 bg-orange-100 text-orange-600 rounded-full flex items-center justify-center hover:bg-orange-200">
                                    <i class="fas fa-video text-sm"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Pending Videos -->
                    <h2 class="text-lg font-semibold mt-8 mb-4">Videos to Review</h2>
                    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
                        <!-- Video 1 -->
                        <div class="bg-white rounded-xl shadow-sm overflow-hidden video-thumbnail">
                            <div class="relative pt-[56.25%] bg-gray-200">
                                <img src="https://images.unsplash.com/photo-1543357481-d3ea3eb3d120?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" class="absolute inset-0 w-full h-full object-cover">
                                <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
                                    <span class="bg-orange-500 text-white text-xs px-2 py-1 rounded">Shooting</span>
                                </div>
                                <div class="absolute top-2 right-2 bg-black bg-opacity-70 text-white text-xs px-2 py-1 rounded">
                                    2:45
                                </div>
                            </div>
                            <div class="p-4">
                                <div class="flex items-center mb-3">
                                    <div class="w-8 h-8 bg-orange-100 rounded-full flex items-center justify-center mr-2">
                                        <i class="fas fa-user text-orange-500 text-sm"></i>
                                    </div>
                                    <p class="font-medium">John Player</p>
                                </div>
                                <p class="text-sm text-gray-500 mb-3">"Working on my free throw consistency"</p>
                                <div class="flex justify-between items-center">
                                    <button class="px-3 py-1 bg-orange-500 text-white text-sm rounded-md hover:bg-orange-600">
                                        Review Now
                                    </button>
                                    <button class="text-gray-500 hover:text-orange-500">
                                        <i class="fas fa-ellipsis-v"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- Video 2 -->
                        <div class="bg-white rounded-xl shadow-sm overflow-hidden video-thumbnail">
                            <div class="relative pt-[56.25%] bg-gray-200">
                                <img src="https://images.unsplash.com/photo-1519861531473-9200262188bf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" class="absolute inset-0 w-full h-full object-cover">
                                <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
                                    <span class="bg-blue-500 text-white text-xs px-2 py-1 rounded">Dribbling</span>
                                </div>
                                <div class="absolute top-2 right-2 bg-black bg-opacity-70 text-white text-xs px-2 py-1 rounded">
                                    1:32
                                </div>
                            </div>
                            <div class="p-4">
                                <div class="flex items-center mb-3">
                                    <div class="w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center mr-2">
                                        <i class="fas fa-user text-blue-500 text-sm"></i>
                                    </div>
                                    <p class="font-medium">Mike Johnson</p>
                                </div>
                                <p class="text-sm text-gray-500 mb-3">"Practicing crossover moves"</p>
                                <div class="flex justify-between items-center">
                                    <button class="px-3 py-1 bg-orange-500 text-white text-sm rounded-md hover:bg-orange-600">
                                        Review Now
                                    </button>
                                    <button class="text-gray-500 hover:text-orange-500">
                                        <i class="fas fa-ellipsis-v"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Upload Video Modal -->
    <div id="upload-modal" class="hidden fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4">
        <div class="bg-white rounded-xl max-w-md w-full max-h-[90vh] overflow-y-auto">
            <div class="p-4 border-b border-gray-200 flex justify-between items-center">
                <h3 class="text-lg font-semibold">Upload Training Video</h3>
                <button id="close-upload-modal" class="text-gray-500 hover:text-gray-700">
                    <i class="fas fa-times"></i>
                </button>
            </div>
            
            <div class="p-4">
                <div class="border-2 border-dashed border-gray-300 rounded-xl p-8 text-center mb-4">
                    <div class="mx-auto w-16 h-16 bg-orange-100 rounded-full flex items-center justify-center mb-4">
                        <i class="fas fa-cloud-upload-alt text-orange-500 text-2xl"></i>
                    </div>
                    <p class="text-sm text-gray-500 mb-2">Drag & drop your video file here</p>
                    <p class="text-xs text-gray-400 mb-4">or</p>
                    <button class="px-4 py-2 bg-orange-500 text-white rounded-md hover:bg-orange-600">
                        Browse Files
                    </button>
                </div>
                
                <div class="mb-4">
                    <label class="block text-sm font-medium text-gray-700 mb-1">Training Type</label>
                    <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-orange-500 focus:border-orange-500">
                        <option>Select type</option>
                        <option>Shooting</option>
                        <option>Dribbling</option>
                        <option>Defense</option>
                        <option>Passing</option>
                        <option>Footwork</option>
                    </select>
                </div>
                
                <div class="mb-4">
                    <label class="block text-sm font-medium text-gray-700 mb-1">Notes for Coach</label>
                    <textarea rows="3" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-orange-500 focus:border-orange-500" placeholder="What should I focus on improving in this video?"></textarea>
                </div>
                
                <div class="mb-4">
                    <label class="block text-sm font-medium text-gray-700 mb-1">Upload Progress</label>
                    <div class="w-full bg-gray-200 rounded-full h-2.5">
                        <div id="progress-bar" class="bg-orange-500 h-2.5 rounded-full progress-bar" style="width: 0%"></div>
                    </div>
                    <p id="progress-text" class="text-xs text-gray-500 mt-1">0% uploaded</p>
                </div>
                
                <button id="start-upload" class="w-full py-2 px-4 bg-orange-500 text-white rounded-md hover:bg-orange-600 disabled:opacity-50" disabled>
                    Upload Video
                </button>
            </div>
        </div>
    </div>

    <!-- Chat Screen (Hidden by default) -->
    <div id="chat-screen" class="hidden fixed inset-0 bg-white z-50 flex flex-col">
        <div class="border-b border-gray-200 p-4 flex items-center">
            <button id="back-to-dashboard" class="mr-4 text-gray-500 hover:text-gray-700">
                <i class="fas fa-arrow-left"></i>
            </button>
            <div class="flex items-center">
                <div class="w-10 h-10 bg-orange-100 rounded-full flex items-center justify-center mr-3">
                    <i class="fas fa-user-tie text-orange-500"></i>
                </div>
                <div>
                    <p class="font-semibold">Coach Williams</p>
                    <p class="text-xs text-green-500 flex items-center">
                        <span class="w-2 h-2 bg-green-500 rounded-full mr-1"></span>
                        Online
                    </p>
                </div>
            </div>
            <button class="ml-auto text-gray-500 hover:text-gray-700">
                <i class="fas fa-phone"></i>
            </button>
        </div>
        
        <div class="flex-1 overflow-y-auto p-4 space-y-4">
            <!-- Coach Message -->
            <div class="flex items-start">
                <div class="w-8 h-8 bg-orange-100 rounded-full flex items-center justify-center mr-3">
                    <i class="fas fa-user-tie text-orange-500 text-sm"></i>
                </div>
                <div class="bg-gray-100 rounded-xl p-3 chat-bubble">
                    <p>Hey John, I reviewed your latest shooting video. Your form is improving!</p>
                    <p class="text-xs text-gray-500 mt-2">10:30 AM</p>
                </div>
            </div>
            
            <!-- User Message -->
            <div class="flex items-start justify-end">
                <div class="bg-orange-500 text-white rounded-xl p-3 chat-bubble">
                    <p>Thanks Coach! I've been working on keeping my elbow in.</p>
                    <p class="text-xs text-orange-100 mt-2">10:32 AM</p>
                </div>
            </div>
            
            <!-- Coach Message with Video -->
            <div class="flex items-start">
                <div class="w-8 h-8 bg-orange-100 rounded-full flex items-center justify-center mr-3">
                    <i class="fas fa-user-tie text-orange-500 text-sm"></i>
                </div>
                <div class="bg-gray-100 rounded-xl p-3 chat-bubble">
                    <div class="relative pt-[56.25%] bg-gray-200 rounded-lg mb-2">
                        <img src="https://images.unsplash.com/photo-1543357481-d3ea3eb3d120?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" class="absolute inset-0 w-full h-full object-cover rounded-lg">
                        <div class="absolute top-2 right-2 bg-black bg-opacity-70 text-white text-xs px-2 py-1 rounded">
                            0:45
                        </div>
                        <div class="absolute inset-0 flex items-center justify-center">
                            <div class="w-12 h-12 bg-white bg-opacity-80 rounded-full flex items-center justify-center">
                                <i class="fas fa-play text-orange-500"></i>
                            </div>
                        </div>
                    </div>
                    <p>Check this clip from your video. Notice how your follow-through could be more consistent.</p>
                    <p class="text-xs text-gray-500 mt-2">10:33 AM</p>
                    <div class="flex items-center mt-2">
                        <button class="text-gray-500 hover:text-orange-500 mr-3">
                            <i class="far fa-thumbs-up"></i>
                        </button>
                        <button class="text-gray-500 hover:text-orange-500">
                            <i class="far fa-bookmark"></i>
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- User Message -->
            <div class="flex items-start justify-end">
                <div class="bg-orange-500 text-white rounded-xl p-3 chat-bubble">
                    <p>I see what you mean. I'll focus on that in my next session.</p>
                    <p class="text-xs text-orange-100 mt-2">10:35 AM</p>
                </div>
            </div>
        </div>
        
        <div class="border-t border-gray-200 p-4">
            <div class="flex items-center">
                <button class="text-gray-500 hover:text-orange-500 mr-2">
                    <i class="fas fa-paperclip"></i>
                </button>
                <button class="text-gray-500 hover:text-orange-500 mr-3">
                    <i class="fas fa-camera"></i>
                </button>
                <input type="text" placeholder="Type a message..." class="flex-1 px-4 py-2 border border-gray-300 rounded-full focus:outline-none focus:ring-orange-500 focus:border-orange-500">
                <button class="ml-3 w-10 h-10 bg-orange-500 text-white rounded-full flex items-center justify-center hover:bg-orange-600">
                    <i class="fas fa-paper-plane"></i>
                </button>
            </div>
        </div>
    </div>

    <script>
        // Toggle between student and coach login forms
        document.getElementById('student-tab').addEventListener('click', function() {
            document.getElementById('student-form').classList.add('active');
            document.getElementById('coach-form').classList.remove('active');
            document.getElementById('student-tab').classList.add('active');
            document.getElementById('coach-tab').classList.remove('active');
        });
        
        document.getElementById('coach-tab').addEventListener('click', function() {
            document.getElementById('coach-form').classList.add('active');
            document.getElementById('student-form').classList.remove('active');
            document.getElementById('coach-tab').classList.add('active');
            document.getElementById('student-tab').classList.remove('active');
        });
        
        // Simulate student login
        document.getElementById('student-form').addEventListener('submit', function(e) {
            e.preventDefault();
            document.getElementById('login-screen').classList.add('hidden');
            document.getElementById('student-dashboard').classList.remove('hidden');
            
            // Simulate loading
            setTimeout(() => {
                document.getElementById('progress-bar').style.width = '100%';
                document.getElementById('progress-text').textContent = '100% uploaded';
                document.getElementById('start-upload').textContent = 'Upload Complete';
                document.getElementById('start-upload').disabled = true;
                
                // Close modal after 2 seconds
                setTimeout(() => {
                    document.getElementById('upload-modal').classList.add('hidden');
                }, 2000);
            }, 3000);
        });
        
        // Simulate coach login
        document.getElementById('coach-form').addEventListener('submit', function(e) {
            e.preventDefault();
            document.getElementById('login-screen').classList.add('hidden');
            document.getElementById('coach-dashboard').classList.remove('hidden');
        });
        
        // Toggle sidebar on mobile (student)
        document.getElementById('menu-button').addEventListener('click', function() {
            document.getElementById('sidebar').classList.add('open');
        });
        
        document.getElementById('close-sidebar').addEventListener('click', function() {
            document.getElementById('sidebar').classList.remove('open');
        });
        
        // Toggle sidebar on mobile (coach)
        document.getElementById('coach-menu-button').addEventListener('click', function() {
            document.getElementById('coach-sidebar').classList.add('open');
        });
        
        document.getElementById('close-coach-sidebar').addEventListener('click', function() {
            document.getElementById('coach-sidebar').classList.remove('open');
        });
        
        // Open upload modal
        document.getElementById('upload-btn').addEventListener('click', function() {
            document.getElementById('upload-modal').classList.remove('hidden');
        });
        
        // Close upload modal
        document.getElementById('close-upload-modal').addEventListener('click', function() {
            document.getElementById('upload-modal').classList.add('hidden');
        });
        
        // Simulate upload progress
        document.getElementById('start-upload').addEventListener('click', function() {
            this.disabled = true;
            this.textContent = 'Uploading...';
            
            let progress = 0;
            const interval = setInterval(() => {
                progress += Math.random() * 10;
                if (progress > 100) progress = 100;
                
                document.getElementById('progress-bar').style.width = `${progress}%`;
                document.getElementById('progress-text').textContent = `${Math.round(progress)}% uploaded`;
                
                if (progress === 100) {
                    clearInterval(interval);
                    document.getElementById('start-upload').textContent = 'Upload Complete';
                }
            }, 300);
        });
        
        // Open chat screen (for demo purposes)
        document.querySelectorAll('a')[1].addEventListener('click', function(e) {
            e.preventDefault();
            document.getElementById('student-dashboard').classList.add('hidden');
            document.getElementById('chat-screen').classList.remove('hidden');
        });
        
        // Back to dashboard from chat
        document.getElementById('back-to-dashboard').addEventListener('click', function() {
            document.getElementById('chat-screen').classList.add('hidden');
            document.getElementById('student-dashboard').classList.remove('hidden');
        });
    </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=Deflook/def" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>