File size: 47,061 Bytes
2900a4f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Smart Petrol Station Digital Twin</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Rajdhani:wght@300;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" />
    <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
    <style>
        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
            overflow: hidden;
        }
        
        body {
            font-family: 'Rajdhani', sans-serif;
            background-color: #0A0A0A;
            color: #E0E0E0;
            display: flex;
            flex-direction: column;
        }
        
        .sci-fi-font {
            font-family: 'Orbitron', sans-serif;
        }
        
        .glass-panel {
            background: rgba(26, 26, 26, 0.7);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 107, 53, 0.2);
            box-shadow: 0 0 15px rgba(255, 107, 53, 0.1);
        }
        
        .neon-orange {
            color: #FF6B35;
            text-shadow: 0 0 5px rgba(255, 107, 53, 0.7);
        }
        
        .neon-glow {
            box-shadow: 0 0 10px rgba(255, 107, 53, 0.7);
        }
        
        .neon-border {
            border: 1px solid #FF6B35;
            box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }
        
        .grid-pattern {
            background-image: 
                linear-gradient(rgba(255, 107, 53, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 107, 53, 0.1) 1px, transparent 1px);
            background-size: 20px 20px;
        }
        
        .hexagon {
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
        }
        
        .corner-bracket {
            position: relative;
        }
        
        .corner-bracket::before, .corner-bracket::after {
            content: '';
            position: absolute;
            width: 15px;
            height: 15px;
            border-color: #FF6B35;
            border-style: solid;
            border-width: 0;
        }
        
        .corner-bracket::before {
            top: 0;
            left: 0;
            border-top-width: 2px;
            border-left-width: 2px;
        }
        
        .corner-bracket::after {
            bottom: 0;
            right: 0;
            border-bottom-width: 2px;
            border-right-width: 2px;
        }
        
        .progress-ring {
            transform: rotate(-90deg);
        }
        
        .progress-ring-circle {
            transition: stroke-dashoffset 0.5s;
            stroke-linecap: round;
        }
        
        .ai-orb {
            background: radial-gradient(circle at 30% 30%, #FF8C42, #FF6B35);
            box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
        }
        
        .data-stream {
            position: absolute;
            width: 2px;
            height: 100%;
            background: linear-gradient(to bottom, transparent, #FF6B35, transparent);
            animation: dataStream 3s linear infinite;
            opacity: 0.6;
        }
        
        @keyframes dataStream {
            0% { transform: translateY(-100%); }
            100% { transform: translateY(100%); }
        }
        
        .hover-3d {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .hover-3d:hover {
            transform: perspective(500px) rotateX(5deg) rotateY(5deg) translateZ(10px);
            box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
        }
        
        .main-container {
            display: flex;
            flex: 1;
            overflow: hidden;
        }
        
        .panel {
            height: 100%;
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: #FF6B35 #0A0A0A;
        }
        
        .panel::-webkit-scrollbar {
            width: 6px;
        }
        
        .panel::-webkit-scrollbar-track {
            background: #0A0A0A;
        }
        
        .panel::-webkit-scrollbar-thumb {
            background-color: #FF6B35;
            border-radius: 6px;
        }
        
        .chart-container {
            height: 150px;
            position: relative;
        }

        .staff-badge {
            position: relative;
            overflow: hidden;
        }

        .staff-badge::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #FF6B35, #FF8C42);
        }

        .staff-status {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 5px;
        }

        .status-active {
            background-color: #4ADE80;
            box-shadow: 0 0 5px #4ADE80;
        }

        .status-break {
            background-color: #FBBF24;
            box-shadow: 0 0 5px #FBBF24;
        }

        .status-off {
            background-color: #F87171;
            box-shadow: 0 0 5px #F87171;
        }

        .staff-location {
            font-size: 0.7rem;
            color: #A1A1AA;
            margin-top: 2px;
        }

        .pulse-dot {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: #FF6B35;
            box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
            animation: pulse-dot 1.5s infinite;
        }

        @keyframes pulse-dot {
            0% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
            }
            70% {
                transform: scale(1);
                box-shadow: 0 0 0 5px rgba(255, 107, 53, 0);
            }
            100% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
            }
        }

        /* Map Styles */
        #stationMap {
            height: 200px;
            width: 100%;
            border-radius: 0.5rem;
            z-index: 1;
        }

        .map-container {
            position: relative;
            height: 100%;
            width: 100%;
        }

        .map-overlay {
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 1000;
            background: rgba(0, 0, 0, 0.7);
            padding: 0.5rem;
            border-radius: 0.25rem;
            border: 1px solid #FF6B35;
        }

        .map-status {
            display: flex;
            align-items: center;
            font-size: 0.8rem;
        }

        .map-status-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin-right: 5px;
        }

        .map-status-online {
            background-color: #4ADE80;
            box-shadow: 0 0 5px #4ADE80;
        }

        .map-status-offline {
            background-color: #F87171;
            box-shadow: 0 0 5px #F87171;
        }

        .leaflet-control-attribution {
            display: none !important;
        }

        /* Responsive adjustments */
        @media (max-width: 1024px) {
            .main-container {
                flex-direction: column;
            }
            
            .panel {
                width: 100% !important;
                height: auto;
                max-height: 50vh;
                border-right: none !important;
                border-bottom: 1px solid rgba(255, 107, 53, 0.2);
            }
            
            #stationMap {
                height: 150px;
            }
        }

        @media (max-width: 768px) {
            header {
                flex-direction: column;
                align-items: flex-start;
                padding: 1rem;
            }
            
            header > div {
                margin-top: 0.5rem;
            }
            
            #stationMap {
                height: 120px;
            }
        }
    </style>
</head>
<body class="grid-pattern">
    <!-- Header -->
    <header class="bg-black/80 border-b border-orange-500/30 py-3 px-6 flex justify-between items-center">
        <div class="flex items-center space-x-4">
            <div class="ai-orb w-8 h-8 rounded-full pulse"></div>
            <h1 class="sci-fi-font text-2xl neon-orange">NEXUS PETROL STATION #0420</h1>
        </div>
        <div class="flex items-center space-x-6">
            <div class="flex items-center space-x-2">
                <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 neon-orange" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
                </svg>
                <div id="datetime" class="sci-fi-font text-lg"></div>
            </div>
            <div class="flex items-center space-x-2">
                <svg xmlns="http://www.w3.org/2000/ssvg" class="h-6 w-6 neon-orange" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
                </svg>
                <div class="sci-fi-font text-lg">SYSTEM: <span class="text-green-400">NOMINAL</span></div>
            </div>
        </div>
    </header>

    <!-- Main Content -->
    <div class="main-container">
        <!-- Left Panel - Fuel & Pump Section -->
        <div class="w-1/4 glass-panel p-4 border-r border-orange-500/20 panel">
            <h2 class="sci-fi-font text-xl neon-orange mb-4 flex items-center">
                <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-2" fill="none" viewBox="0 0 24 24" stroke="#FF6B35">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" />
                </svg>
                FUEL MANAGEMENT
            </h2>
            
            <!-- Station Location Map -->
            <div class="mb-4 hover-3d">
                <div class="map-container">
                    <div id="stationMap"></div>
                    <div class="map-overlay">
                        <div class="map-status">
                            <div class="map-status-indicator map-status-online"></div>
                            <span class="sci-fi-font text-xs">MECCA STATION ONLINE</span>
                        </div>
                    </div>
                </div>
                <div class="text-center mt-1 text-xs text-gray-400 sci-fi-font">WESTERN REGION, SAUDI ARABIA</div>
            </div>
            
            <!-- Tank Levels -->
            <div class="mb-6">
                <h3 class="text-gray-400 uppercase text-sm mb-2">TANK LEVELS</h3>
                <div class="grid grid-cols-2 gap-4">
                    <div class="hover-3d bg-gray-900/50 rounded-lg p-3 flex flex-col items-center">
                        <div class="relative w-20 h-20 mb-2">
                            <svg class="progress-ring w-20 h-20" viewBox="0 0 100 100">
                                <circle class="text-gray-800" stroke-width="8" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
                                <circle class="progress-ring-circle text-orange-500" stroke-width="8" stroke-dasharray="251.2" stroke-dashoffset="55.2" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
                            </svg>
                            <div class="absolute inset-0 flex items-center justify-center sci-fi-font text-lg">78%</div>
                        </div>
                        <span class="sci-fi-font text-orange-500">95 OCT</span>
                    </div>
                    <div class="hover-3d bg-gray-900/50 rounded-lg p-3 flex flex-col items-center">
                        <div class="relative w-20 h-20 mb-2">
                            <svg class="progress-ring w-20 h-20" viewBox="0 0 100 100">
                                <circle class="text-gray-800" stroke-width="8" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
                                <circle class="progress-ring-circle text-orange-500" stroke-width="8" stroke-dasharray="251.2" stroke-dashoffset="100.48" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
                            </svg>
                            <div class="absolute inset-0 flex items-center justify-center sci-fi-font text-lg">60%</div>
                        </div>
                        <span class="sci-fi-font text-orange-500">DIESEL</span>
                    </div>
                    <div class="hover-3d bg-gray-900/50 rounded-lg p-3 flex flex-col items-center">
                        <div class="relative w-20 h-20 mb-2">
                            <svg class="progress-ring w-20 h-20" viewBox="0 0 100 100">
                                <circle class="text-gray-800" stroke-width="8" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
                                <circle class="progress-ring-circle text-orange-500" stroke-width="8" stroke-dasharray="251.2" stroke-dashoffset="175.84" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
                            </svg>
                            <div class="absolute inset-0 flex items-center justify-center sci-fi-font text-lg">30%</div>
                        </div>
                        <span class="sci-fi-font text-orange-500">98 OCT</span>
                    </div>
                    <div class="hover-3d bg-gray-900/50 rounded-lg p-3 flex flex-col items-center">
                        <div class="relative w-20 h-20 mb-2">
                            <svg class="progress-ring w-20 h-20" viewBox="0 0 100 100">
                                <circle class="text-gray-800" stroke-width="8" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
                                <circle class="progress-ring-circle text-orange-500" stroke-width="8" stroke-dasharray="251.2" stroke-dashoffset="200.96" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
                            </svg>
                            <div class="absolute inset-0 flex items-center justify-center sci-fi-font text-lg">20%</div>
                        </div>
                        <span class="sci-fi-font text-orange-500">E85</span>
                    </div>
                </div>
            </div>
            
            <!-- Pump Status -->
            <div>
                <h3 class="text-gray-400 uppercase text-sm mb-2">PUMP STATUS</h3>
                <div class="grid grid-cols-2 gap-3">
                    <div class="hover-3d hexagon bg-gray-900/50 p-4 flex flex-col items-center justify-center neon-border">
                        <svg xmlns="http://www.w3.org/2000/svg" class="h-10 w-10 neon-orange" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13 10V3L4 14h7v7l9-11h-7z" />
                        </svg>
                        <span class="sci-fi-font mt-2">PUMP 1</span>
                        <span class="text-green-400 text-xs">ACTIVE</span>
                    </div>
                    <div class="hover-3d hexagon bg-gray-900/50 p-4 flex flex-col items-center justify-center border border-gray-700">
                        <svg xmlns="http://www.w3.org/2000/svg" class="h-10 w-10 text-gray-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13 10V3L4 14h7v7l9-11h-7z" />
                        </svg>
                        <span class="sci-fi-font mt-2 text-gray-500">PUMP 2</span>
                        <span class="text-gray-500 text-xs">IDLE</span>
                    </div>
                    <div class="hover-3d hexagon bg-gray-900/50 p-4 flex flex-col items-center justify-center neon-border">
                        <svg xmlns="http://www.w3.org/2000/svg" class="h-10 w-10 neon-orange" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13 10V3L4 14h7v7l9-11h-7z" />
                        </svg>
                        <span class="sci-fi-font mt-2">PUMP 3</span>
                        <span class="text-green-400 text-xs">ACTIVE</span>
                    </div>
                    <div class="hover-3d hexagon bg-gray-900/50 p-4 flex flex-col items-center justify-center border border-gray-700">
                        <svg xmlns="http://www.w3.org/2000/svg" class="h-10 w-10 text-gray-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13 10V3L4 14h7v7l9-11h-7z" />
                        </svg>
                        <span class="sci-fi-font mt-2 text-gray-500">PUMP 4</span>
                        <span class="text-gray-500 text-xs">IDLE</span>
                    </div>
                    <div class="hover-3d hexagon bg-gray-900/50 p-4 flex flex-col items-center justify-center border border-gray-700">
                        <svg xmlns="http://www.w3.org/2000/svg" class="h-10 w-10 text-gray-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13 10V3L4 14h7v7l9-11h-7z" />
                        </svg>
                        <span class="sci-fi-font mt-2 text-gray-500">PUMP 5</span>
                        <span class="text-gray-500 text-xs">IDLE</span>
                    </div>
                    <div class="hover-3d hexagon bg-gray-900/50 p-4 flex flex-col items-center justify-center neon-border">
                        <svg xmlns="http://www.w3.org/2000/svg" class="h-10 w-10 neon-orange" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13 10V3L4 14h7v7l9-11h-7z" />
                        </svg>
                        <span class="sci-fi-font mt-2">PUMP 6</span>
                        <span class="text-green-400 text-xs">ACTIVE</span>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Center Panel - CCTV & Safety Hub -->
        <div class="w-2/4 glass-panel p-4 border-r border-orange-500/20 panel">
            <h2 class="sci-fi-font text-xl neon-orange mb-4 flex items-center">
                <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-2" fill="none" viewBox="0 0 24 24" stroke="#FF6B35">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z" />
                </svg>
                SURVEILLANCE HUB
            </h2>
            
            <!-- Live Camera Feeds -->
            <div class="grid grid-cols-2 gap-4 mb-4">
                <div class="corner-bracket hover-3d bg-black rounded-lg overflow-hidden relative aspect-video">
                    <div class="absolute inset-0 flex items-center justify-center">
                        <div class="text-center">
                            <div class="ai-orb w-12 h-12 rounded-full mx-auto mb-2 pulse"></div>
                            <div class="sci-fi-font text-orange-500">CAMERA 1: ENTRANCE</div>
                        </div>
                    </div>
                    <div class="absolute top-2 left-2 sci-fi-font text-xs bg-black/70 px-2 py-1 rounded text-orange-400">
                        AI TRACKING: 3 VEHICLES
                    </div>
                    <div class="data-stream" style="left: 30%;"></div>
                    <div class="data-stream" style="left: 70%;"></div>
                </div>
                <div class="corner-bracket hover-3d bg-black rounded-lg overflow-hidden relative aspect-video">
                    <div class="absolute inset-0 flex items-center justify-center">
                        <div class="text-center">
                            <div class="ai-orb w-12 h-12 rounded-full mx-auto mb-2 pulse"></div>
                            <div class="sci-fi-font text-orange-500">CAMERA 2: EXIT</div>
                        </div>
                    </div>
                    <div class="absolute top-2 left-2 sci-fi-font text-xs bg-black/70 px-2 py-1 rounded text-orange-400">
                        AI TRACKING: 1 VEHICLE
                    </div>
                    <div class="data-stream" style="left: 20%;"></div>
                    <div class="data-stream" style="left: 80%;"></div>
                </div>
                <div class="corner-bracket hover-3d bg-black rounded-lg overflow-hidden relative aspect-video">
                    <div class="absolute inset-0 flex items-center justify-center">
                        <div class="text-center">
                            <div class="ai-orb w-12 h-12 rounded-full mx-auto mb-2 pulse"></div>
                            <div class="sci-fi-font text-orange-500">CAMERA 3: FORECOURT</div>
                        </div>
                    </div>
                    <div class="absolute top-2 left-2 sci-fi-font text-xs bg-black/70 px-2 py-1 rounded text-orange-400">
                        AI TRACKING: 2 VEHICLES, 1 PERSON
                    </div>
                    <div class="data-stream" style="left: 40%;"></div>
                    <div class="data-stream" style="left: 60%;"></div>
                </div>
                <div class="corner-bracket hover-3d bg-black rounded-lg overflow-hidden relative aspect-video">
                    <div class="absolute inset-0 flex items-center justify-center">
                        <div class="text-center">
                            <div class="ai-orb w-12 h-12 rounded-full mx-auto mb-2 pulse"></div>
                            <div class="sci-fi-font text-orange-500">CAMERA 4: SHOP</div>
                        </div>
                    </div>
                    <div class="absolute top-2 left-2 sci-fi-font text-xs bg-black/70 px-2 py-1 rounded text-orange-400">
                        AI TRACKING: 2 PERSONS
                    </div>
                    <div class="data-stream" style="left: 25%;"></div>
                    <div class="data-stream" style="left: 75%;"></div>
                </div>
            </div>
            
            <!-- Vehicle Counter -->
            <div class="bg-gray-900/50 rounded-lg p-3 flex items-center justify-between neon-border mb-4">
                <div class="flex items-center">
                    <div class="ai-orb w-10 h-10 rounded-full mr-3 pulse"></div>
                    <div>
                        <div class="sci-fi-font text-orange-500">VEHICLE COUNTER</div>
                        <div class="text-xs text-gray-400">LAST 60 MINUTES</div>
                    </div>
                </div>
                <div class="text-right">
                    <div class="sci-fi-font text-3xl text-orange-500">18</div>
                    <div class="text-xs text-green-400">+12% FROM YESTERDAY</div>
                </div>
            </div>

            <!-- Staff Tracking -->
            <div class="bg-gray-900/50 rounded-lg p-4 neon-border">
                <div class="flex items-center justify-between mb-3">
                    <h3 class="sci-fi-font text-orange-500 flex items-center">
                        <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z" />
                        </svg>
                        STAFF TRACKING
                    </h3>
                    <div class="text-xs text-gray-400">ON-SITE: <span class="text-green-400">4/6</span></div>
                </div>
                
                <div class="grid grid-cols-2 gap-3">
                    <!-- Staff Member 1 -->
                    <div class="hover-3d staff-badge bg-gray-800/50 rounded-lg p-3 relative">
                        <div class="pulse-dot" style="top: 10px; right: 10px;"></div>
                        <div class="flex items-center mb-2">
                            <span class="staff-status status-active"></span>
                            <span class="sci-fi-font">JOHN DOE</span>
                        </div>
                        <div class="flex justify-between items-center">
                            <div class="staff-location">FORECOURT - PUMP 3</div>
                            <div class="text-xs bg-green-900/50 text-green-400 px-2 py-1 rounded">ON DUTY</div>
                        </div>
                    </div>
                    
                    <!-- Staff Member 2 -->
                    <div class="hover-3d staff-badge bg-gray-800/50 rounded-lg p-3 relative">
                        <div class="flex items-center mb-2">
                            <span class="staff-status status-break"></span>
                            <span class="sci-fi-font">JANE SMITH</span>
                        </div>
                        <div class="flex justify-between items-center">
                            <div class="staff-location">STAFF LOUNGE</div>
                            <div class="text-xs bg-yellow-900/50 text-yellow-400 px-2 py-1 rounded">ON BREAK</div>
                        </div>
                    </div>
                    
                    <!-- Staff Member 3 -->
                    <div class="hover-3d staff-badge bg-gray-800/50 rounded-lg p-3 relative">
                        <div class="flex items-center mb-2">
                            <span class="staff-status status-active"></span>
                            <span class="sci-fi-font">MIKE JOHNSON</span>
                        </div>
                        <div class="flex justify-between items-center">
                            <div class="staff-location">SHOP - CHECKOUT 2</div>
                            <div class="text-xs bg-green-900/50 text-green-400 px-2 py-1 rounded">ON DUTY</div>
                        </div>
                    </div>
                    
                    <!-- Staff Member 4 -->
                    <div class="hover-3d staff-badge bg-gray-800/50 rounded-lg p-3 relative">
                        <div class="flex items-center mb-2">
                            <span class="staff-status status-active"></span>
                            <span class="sci-fi-font">SARAH WILLIAMS</span>
                        </div>
                        <div class="flex justify-between items-center">
                            <div class="staff-location">SHOP - STOCK ROOM</div>
                            <div class="text-xs bg-green-900/50 text-green-400 px-2 py-1 rounded">ON DUTY</div>
                        </div>
                    </div>
                    
                    <!-- Staff Member 5 -->
                    <div class="hover-3d staff-badge bg-gray-800/50 rounded-lg p-3 relative">
                        <div class="flex items-center mb-2">
                            <span class="staff-status status-off"></span>
                            <span class="sci-fi-font text-gray-500">DAVID BROWN</span>
                        </div>
                        <div class="flex justify-between items-center">
                            <div class="staff-location text-gray-500">OFF-SITE</div>
                            <div class="text-xs bg-red-900/50 text-red-400 px-2 py-1 rounded">OFF DUTY</div>
                        </div>
                    </div>
                    
                    <!-- Staff Member 6 -->
                    <div class="hover-3d staff-badge bg-gray-800/50 rounded-lg p-3 relative">
                        <div class="flex items-center mb-2">
                            <span class="staff-status status-off"></span>
                            <span class="sci-fi-font text-gray-500">LISA TAYLOR</span>
                        </div>
                        <div class="flex justify-between items-center">
                            <div class="staff-location text-gray-500">OFF-SITE</div>
                            <div class="text-xs bg-red-900/50 text-red-400 px-2 py-1 rounded">OFF DUTY</div>
                        </div>
                    </div>
                </div>
                
                <div class="mt-3 text-xs text-gray-400 flex items-center">
                    <svg xmlns="http://www.w3.org/2000/svg" class="h-3 w-3 mr-1 text-orange-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
                    </svg>
                    PULSE INDICATOR SHOWS STAFF REQUIRING ASSISTANCE
                </div>
            </div>
        </div>
        
        <!-- Right Panel - Predictive Analytics -->
        <div class="w-1/4 glass-panel p-4 panel">
            <h2 class="sci-fi-font text-xl neon-orange mb-4 flex items-center">
                <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-2" fill="none" viewBox="0 0 24 24" stroke="#FF6B35">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" />
                </svg>
                AI ANALYTICS
            </h2>
            
            <!-- Sales Prediction -->
            <div class="mb-4">
                <h3 class="text-gray-400 uppercase text-sm mb-2">SALES PREDICTION</h3>
                <div class="hover-3d bg-gray-900/50 rounded-lg p-3">
                    <div class="chart-container">
                        <canvas id="salesChart"></canvas>
                    </div>
                    <div class="mt-2 sci-fi-font text-sm text-orange-500 flex items-center">
                        <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6" />
                        </svg>
                        AI PREDICTION: +15% IN NEXT HOUR
                    </div>
                </div>
            </div>
            
            <!-- Traffic Prediction -->
            <div class="mb-4">
                <h3 class="text-gray-400 uppercase text-sm mb-2">TRAFFIC PREDICTION</h3>
                <div class="hover-3d bg-gray-900/50 rounded-lg p-3">
                    <div class="chart-container">
                        <canvas id="trafficChart"></canvas>
                    </div>
                    <div class="mt-2 sci-fi-font text-sm text-orange-500 flex items-center">
                        <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6" />
                        </svg>
                        PEAK: 14:00-16:00 (28 VEHICLES)
                    </div>
                </div>
            </div>
            
            <!-- Fuel Consumption -->
            <div class="mb-4">
                <h3 class="text-gray-400 uppercase text-sm mb-2">FUEL CONSUMPTION</h3>
                <div class="hover-3d bg-gray-900/50 rounded-lg p-3">
                    <div class="chart-container">
                        <canvas id="fuelChart"></canvas>
                    </div>
                    <div class="mt-2 sci-fi-font text-sm text-orange-500 flex items-center">
                        <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6" />
                        </svg>
                        DIESEL LEADING (58% OF SALES)
                    </div>
                </div>
            </div>
            
            <!-- Anomaly Detection -->
            <div>
                <h3 class="text-gray-400 uppercase text-sm mb-2">SYSTEM ALERTS</h3>
                <div class="space-y-2">
                    <div class="hover-3d bg-gray-900/50 rounded-lg p-3 flex items-center neon-border">
                        <div class="hexagon bg-orange-500/20 w-8 h-8 flex items-center justify-center mr-3">
                            <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-orange-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z" />
                            </svg>
                        </div>
                        <div>
                            <div class="sci-fi-font text-sm">UNUSUAL FUEL FLOW</div>
                            <div class="text-xs text-gray-400">PUMP 3 - CHECK FOR LEAKS</div>
                        </div>
                    </div>
                    <div class="hover-3d bg-gray-900/50 rounded-lg p-3 flex items-center">
                        <div class="hexagon bg-gray-700 w-8 h-8 flex items-center justify-center mr-3">
                            <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z" />
                            </svg>
                        </div>
                        <div>
                            <div class="sci-fi-font text-sm">LOW DIESEL STOCK</div>
                            <div class="text-xs text-gray-400">REORDER IN 2 DAYS</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- AI Command Bar -->
    <footer class="bg-black/80 border-t border-orange-500/30 py-2 px-6">
        <div class="flex items-center">
            <div class="ai-orb w-6 h-6 rounded-full mr-3 pulse"></div>
            <div class="relative flex-1">
                <div class="absolute inset-y-0 left-0 flex items-center pl-3">
                    <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-orange-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z" />
                    </svg>
                </div>
                <input type="text" class="w-full bg-gray-900/70 border border-orange-500/30 rounded-lg py-2 pl-10 pr-4 sci-fi-font text-sm focus:outline-none focus:ring-1 focus:ring-orange-500" placeholder="Ask AI: Predict noon demand...">
            </div>
            <button class="ml-3 bg-orange-500/20 hover:bg-orange-500/30 text-orange-500 sci-fi-font text-sm px-4 py-2 rounded-lg border border-orange-500/30 flex items-center">
                <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 5l7 7-7 7M5 5l7 7-7 7" />
                </svg>
                SEND
            </button>
        </div>
    </footer>

    <script>
        // Update datetime
        function updateDateTime() {
            const now = new Date();
            const options = { 
                weekday: 'long', 
                year: 'numeric', 
                month: 'short', 
                day: 'numeric',
                hour: '2-digit',
                minute: '2-digit',
                second: '2-digit',
                hour12: false
            };
            document.getElementById('datetime').textContent = now.toLocaleDateString('en-US', options);
        }
        updateDateTime();
        setInterval(updateDateTime, 1000);
        
        // Initialize the map
        function initMap() {
            // Coordinates for Mecca, Saudi Arabia
            const meccaCoords = [21.3891, 39.8579];
            
            // Create the map centered on Western Saudi Arabia
            const map = L.map('stationMap').setView([22.0, 39.0], 7);
            
            // Add a tile layer (using OpenStreetMap)
            L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
                attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
                maxZoom: 18,
                tileSize: 512,
                zoomOffset: -1
            }).addTo(map);
            
            // Add a marker for the station in Mecca
            const stationIcon = L.divIcon({
                className: 'station-marker',
                html: `<div style="background: radial-gradient(circle at 30% 30%, #FF8C42, #FF6B35); width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 10px rgba(255, 107, 53, 0.8);"></div>`,
                iconSize: [20, 20],
                iconAnchor: [10, 10]
            });
            
            const marker = L.marker(meccaCoords, {icon: stationIcon}).addTo(map);
            
            // Add a popup with station info
            marker.bindPopup("<b>NEXUS STATION #0420</b><br>Mecca, Saudi Arabia<br>Status: <span style='color:#4ADE80'>Online</span>").openPopup();
            
            // Add a circle around Mecca to highlight the region
            L.circle(meccaCoords, {
                color: '#FF6B35',
                fillColor: '#FF6B35',
                fillOpacity: 0.2,
                radius: 15000
            }).addTo(map);
            
            // Add labels for major cities in Western Saudi Arabia
            const cities = [
                {name: "Mecca", coords: [21.3891, 39.8579]},
                {name: "Jeddah", coords: [21.5435, 39.1728]},
                {name: "Medina", coords: [24.5247, 39.5692]},
                {name: "Taif", coords: [21.4373, 40.5127]},
                {name: "Yanbu", coords: [24.0895, 38.0618]}
            ];
            
            cities.forEach(city => {
                L.marker(city.coords).addTo(map)
                    .bindTooltip(city.name, {permanent: false, direction: 'top'});
            });
        }
        
        // Initialize the map when the page loads
        document.addEventListener('DOMContentLoaded', initMap);
        
        // Create sales chart
        const salesCtx = document.getElementById('salesChart').getContext('2d');
        const salesChart = new Chart(salesCtx, {
            type: 'line',
            data: {
                labels: ['06:00', '07:00', '08:00', '09:00', '10:00', '11:00', '12:00'],
                datasets: [
                    {
                        label: 'Actual',
                        data: [120, 190, 170, 210, 240, 220, 250],
                        borderColor: '#707070',
                        borderWidth: 1,
                        borderDash: [5, 5],
                        pointRadius: 0,
                        tension: 0.1
                    },
                    {
                        label: 'Predicted',
                        data: [120, 190, 170, 210, 240, 220, 250, 290, 320],
                        borderColor: '#FF6B35',
                        borderWidth: 2,
                        pointRadius: 0,
                        tension: 0.1
                    }
                ]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        display: false
                    }
                },
                scales: {
                    x: {
                        grid: {
                            color: 'rgba(255,255,255,0.05)'
                        },
                        ticks: {
                            color: '#707070',
                            font: {
                                family: 'Rajdhani',
                                weight: 'bold'
                            }
                        }
                    },
                    y: {
                        grid: {
                            color: 'rgba(255,255,white,0.05)'
                        },
                        ticks: {
                            color: '#707070',
                            font: {
                                family: 'Rajdhani',
                                weight: 'bold'
                            }
                        }
                    }
                }
            }
        });
        
        // Create traffic chart
        const trafficCtx = document.getElementById('trafficChart').getContext('2d');
        const trafficChart = new Chart(trafficCtx, {
            type: 'bar',
            data: {
                labels: ['08:00', '10:00', '12:00', '14:00', '16:00', '18:00'],
                datasets: [{
                    label: 'Vehicles',
                    data: [12, 18, 22, 28, 25, 20],
                    backgroundColor: '#FF6B35',
                    borderColor: '#FF6B35',
                    borderWidth: 1
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        display: false
                    }
                },
                scales: {
                    x: {
                        grid: {
                            color: 'rgba(255,255,255,0.05)'
                        },
                        ticks: {
                            color: '#707070',
                            font: {
                                family: 'Rajdhani',
                                weight: 'bold'
                            }
                        }
                    },
                    y: {
                        grid: {
                            color: 'rgba(255,255,white,0.05)'
                        },
                        ticks: {
                            color: '#707070',
                            font: {
                                family: 'Rajdhani',
                                weight: 'bold'
                            }
                        }
                    }
                }
            }
        });
        
        // Create fuel consumption chart
        const fuelCtx = document.getElementById('fuelChart').getContext('2d');
        const fuelChart = new Chart(fuelCtx, {
            type: 'doughnut',
            data: {
                labels: ['95 OCT', 'DIESEL', '98 OCT', 'E85'],
                datasets: [{
                    data: [22, 58, 12, 8],
                    backgroundColor: [
                        '#FF6B35',
                        '#FF8C42',
                        '#FFA45C',
                        '#FFB677'
                    ],
                    borderWidth: 0
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        display: false
                    }
                },
                cutout: '70%'
            }
        });
        
        // Add hover effects to pump status
        const pumps = document.querySelectorAll('.hexagon');
        pumps.forEach(pump => {
            pump.addEventListener('mouseenter', () => {
                if (pump.querySelector('svg').classList.contains('neon-orange')) {
                    pump.classList.add('neon-glow');
                    const icon = pump.querySelector('svg');
                    icon.style.transform = 'scale(1.1)';
                    icon.style.transition = 'transform 0.3s ease';
                }
            });
            
            pump.addEventListener('mouseleave', () => {
                pump.classList.remove('neon-glow');
                const icon = pump.querySelector('svg');
                icon.style.transform = 'scale(1)';
            });
        });
        
        // Add data stream animation to camera feeds
        const cameras = document.querySelectorAll('.corner-bracket');
        cameras.forEach((camera, index) => {
            // Create multiple data streams
            for (let i = 0; i < 3; i++) {
                const stream = document.createElement('div');
                stream.classList.add('data-stream');
                stream.style.left = `${Math.random() * 100}%`;
                stream.style.animationDelay = `${Math.random() * 3}s`;
                camera.appendChild(stream);
            }
        });

        // Simulate staff requiring assistance
        setInterval(() => {
            const pulseDot = document.querySelector('.pulse-dot');
            pulseDot.style.display = Math.random() > 0.7 ? 'block' : 'none';
        }, 5000);
    </script>
</html>