-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
983 lines (952 loc) · 43.6 KB
/
Copy pathindex.html
File metadata and controls
983 lines (952 loc) · 43.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description"
content="Hotelier — A professional Hotel Management System for staff, administrators, and guests." />
<title>Hotelier | Hotel Management System</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap"
rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- ===== SCROLLABLE LANDING PAGE ===== -->
<main id="page-scroll">
<!-- HERO -->
<section id="landing" aria-label="Hotel landing page">
<div class="landing-overlay"></div>
<div class="landing-content">
<p class="landing-eyebrow">Welcome to</p>
<h1 class="landing-title">Hotelier</h1>
<p class="landing-tagline">Where elegance meets effortless service.</p>
<div class="landing-cta">
<button id="btn-signin" class="btn btn-primary" aria-label="Open sign in form">Sign In</button>
<button id="btn-booknow" class="btn btn-ghost" aria-label="Open room booking">Book a Room</button>
</div>
<a href="#features" class="scroll-hint" aria-label="Scroll down to explore">
<span class="scroll-hint-text">Explore</span>
<span class="scroll-hint-arrow">↓</span>
</a>
</div>
</section>
<!-- FEATURES -->
<section id="features" class="scroll-section" aria-labelledby="features-heading">
<div class="section-inner">
<p class="section-eyebrow reveal">Why Choose Us</p>
<h2 id="features-heading" class="section-title reveal">A Seamlessly Managed Stay</h2>
<p class="section-desc reveal">Every detail of your experience from check-in to check-out is handled with
care by our intelligent management system.</p>
<div class="features-grid">
<div class="feature-card reveal">
<div class="feature-icon">Check-in</div>
<h3>Instant Check-In</h3>
<p>Skip the queue. Digital check-in gets you to your room in seconds.</p>
</div>
<div class="feature-card reveal">
<div class="feature-icon">Concierge</div>
<h3>24/7 Concierge</h3>
<p>Your personal concierge is always on hand, day or night.</p>
</div>
<div class="feature-card reveal">
<div class="feature-icon">Reports</div>
<h3>Smart Reporting</h3>
<p>Real-time occupancy and revenue dashboards for management.</p>
</div>
<div class="feature-card reveal">
<div class="feature-icon">Invoice</div>
<h3>Digital Invoicing</h3>
<p>Instant, printable receipts with automatic tax calculation.</p>
</div>
<div class="feature-card reveal">
<div class="feature-icon">Schedule</div>
<h3>Shift Scheduling</h3>
<p>Full staff roster management built right into the system.</p>
</div>
<div class="feature-card reveal">
<div class="feature-icon">Feedback</div>
<h3>Guest Feedback</h3>
<p>Collect star ratings and reviews to keep standards high.</p>
</div>
</div>
</div>
</section>
<!-- ROOM TYPES -->
<section id="room-types" class="scroll-section scroll-section--dark" aria-labelledby="rooms-heading">
<div class="section-inner">
<p class="section-eyebrow reveal">Accommodation</p>
<h2 id="rooms-heading" class="section-title reveal">Our Rooms & Suites</h2>
<p class="section-desc reveal">From cosy standard rooms to breathtaking penthouses every space is designed for
comfort and elegance.</p>
<div class="rooms-grid">
<div class="room-showcase-card reveal">
<div class="room-showcase-icon">Standard</div>
<div class="room-showcase-body">
<div class="room-showcase-header">
<h3>Standard Room</h3>
<span class="room-showcase-price">RM 80<small>/night</small></span>
</div>
<p>A well-appointed room with all essential amenities for a comfortable stay.</p>
<ul class="room-amenities">
<li>-> En-suite bathroom</li>
<li>-> Smart TV</li>
<li>-> Complimentary breakfast</li>
<li>-> High-speed Wi-Fi</li>
</ul>
<button class="btn btn-outline-light room-book-btn" data-room="standard" data-rate="80">Reserve
Now</button>
</div>
</div>
<div class="room-showcase-card reveal">
<div class="room-showcase-icon">Deluxe</div>
<div class="room-showcase-body">
<div class="room-showcase-header">
<h3>Deluxe Room</h3>
<span class="room-showcase-price">RM 150<small>/night</small></span>
</div>
<p>Upgraded furnishings, city or garden views, and premium bedding for a superior rest.</p>
<ul class="room-amenities">
<li>-> Jacuzzi bath</li>
<li>-> Welcome champagne</li>
<li>-> Full breakfast buffet</li>
<li>-> Gym access included</li>
</ul>
<button class="btn btn-outline-light room-book-btn" data-room="deluxe" data-rate="150">Reserve
Now</button>
</div>
</div>
<div class="room-showcase-card reveal">
<div class="room-showcase-icon">Executive</div>
<div class="room-showcase-body">
<div class="room-showcase-header">
<h3>Executive Suite</h3>
<span class="room-showcase-price">RM 250<small>/night</small></span>
</div>
<p>A spacious living room, executive desk, and sweeping panoramic city views.</p>
<ul class="room-amenities">
<li>-> Rain shower & soaking tub</li>
<li>-> In-suite dining</li>
<li>-> Airport transfer</li>
<li>-> Spa credit included</li>
</ul>
<button class="btn btn-outline-light room-book-btn" data-room="suite" data-rate="250">Reserve Now</button>
</div>
</div>
<div class="room-showcase-card reveal">
<div class="room-showcase-icon">Penthouse</div>
<div class="room-showcase-body">
<div class="room-showcase-header">
<h3>Penthouse</h3>
<span class="room-showcase-price">RM 500<small>/night</small></span>
</div>
<p>The pinnacle of luxury. A private rooftop terrace, personal butler, and unrivalled elegance.</p>
<ul class="room-amenities">
<li>-> Private rooftop terrace</li>
<li>-> Dedicated butler service</li>
<li>-> Helicopter transfer option</li>
<li>-> All-inclusive privileges</li>
</ul>
<button class="btn btn-outline-light room-book-btn" data-room="penthouse" data-rate="500">Reserve
Now</button>
</div>
</div>
</div>
</div>
</section>
<!-- FACILITIES -->
<section id="facilities-section" class="scroll-section" aria-labelledby="fac-section-heading">
<div class="section-inner">
<p class="section-eyebrow reveal">Amenities</p>
<h2 id="fac-section-heading" class="section-title reveal">World-Class Facilities</h2>
<p class="section-desc reveal">Every amenity you need to relax, stay active, and enjoy the finer things in life
all under one roof.</p>
<div class="landing-fac-grid">
<div class="landing-fac-card reveal">
<h3>Fitness Center</h3>
<p>State-of-the-art equipment, open 6 AM – 10 PM daily.</p>
<span class="landing-fac-tag">$20 / day</span>
</div>
<div class="landing-fac-card reveal">
<h3>Luxury Spa</h3>
<p>Full-body massage, aromatherapy, sauna & steam room.</p>
<span class="landing-fac-tag">$80 / session</span>
</div>
<div class="landing-fac-card reveal">
<h3>Infinity Pool</h3>
<p>Heated outdoor pool with breathtaking panoramic views.</p>
<span class="landing-fac-tag">$15 / day</span>
</div>
<div class="landing-fac-card reveal">
<h3>Airport Transfer</h3>
<p>Chauffeured luxury vehicle available around the clock.</p>
<span class="landing-fac-tag">$45 / transfer</span>
</div>
<div class="landing-fac-card reveal">
<h3>Fine Dining</h3>
<p>Award-winning cuisine at our signature rooftop restaurant.</p>
<span class="landing-fac-tag">$60 / person</span>
</div>
<div class="landing-fac-card reveal">
<h3>Concierge</h3>
<p>24/7 personal assistance for every need, big or small.</p>
<span class="landing-fac-tag">Complimentary</span>
</div>
</div>
<div class="section-cta reveal">
<button id="btn-book-facilities" class="btn btn-primary">Book Facilities</button>
</div>
</div>
</section>
<!-- HOTEL LAYOUT / FLOOR PLAN -->
<section id="hotel-layout" class="scroll-section scroll-section--dark" aria-labelledby="layout-heading">
<div class="section-inner">
<p class="section-eyebrow reveal">The Hotel</p>
<h2 id="layout-heading" class="section-title reveal">Our Hotel Layout</h2>
<p class="section-desc reveal">Five floors of thoughtfully designed spaces — 100 rooms across floors 3 to 7 —
each crafted to serve you better.
</p>
<div class="floor-plan">
<div class="floor-item reveal">
<div class="floor-badge">F7</div>
<div class="floor-details">
<h3>Penthouse & Rooftop</h3>
<p>Exclusive penthouse suites, private terraces, rooftop dining, and the sky lounge bar.</p>
<div class="floor-tags">
<span>Penthouse</span><span>Sky Bar</span><span>Terrace</span>
</div>
</div>
</div>
<div class="floor-item reveal">
<div class="floor-badge">F6</div>
<div class="floor-details">
<h3>Executive Suites & Spa</h3>
<p>Spacious executive suites, the full-service wellness spa, and private meeting rooms.</p>
<div class="floor-tags">
<span>Suites</span><span>Spa</span><span>Meetings</span>
</div>
</div>
</div>
<div class="floor-item reveal">
<div class="floor-badge">F5</div>
<div class="floor-details">
<h3>Deluxe Rooms & Pool</h3>
<p>Deluxe rooms with elevated views, direct access to the infinity pool, and pool bar.</p>
<div class="floor-tags">
<span>Deluxe</span><span>Pool</span><span>Pool Bar</span>
</div>
</div>
</div>
<div class="floor-item reveal">
<div class="floor-badge">F3-4</div>
<div class="floor-details">
<h3>Standard Rooms & Dining</h3>
<p>Comfortable standard rooms, the main restaurant, fitness center, and business centre.</p>
<div class="floor-tags">
<span>Standard</span><span>Restaurant</span><span>Gym</span>
</div>
</div>
</div>
<div class="floor-item reveal">
<div class="floor-badge">GF</div>
<div class="floor-details">
<h3>Lobby & Reception</h3>
<p>Grand lobby, 24/7 front desk, concierge services, gift shop, and valet parking.</p>
<div class="floor-tags">
<span>Reception</span><span>Valet</span><span>Gift Shop</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- SERVICES -->
<section id="services" class="scroll-section" aria-labelledby="services-heading">
<div class="section-inner">
<p class="section-eyebrow reveal">Our Services</p>
<h2 id="services-heading" class="section-title reveal">Everything You Need</h2>
<p class="section-desc reveal">Beyond your room a full range of services designed to make every moment of your
stay exceptional.</p>
<div class="services-grid">
<div class="service-item reveal">
<div>
<h4>Housekeeping</h4>
<p>Daily turndown service and on-demand room cleaning.</p>
</div>
</div>
<div class="service-item reveal">
<div>
<h4>Room Service</h4>
<p>24-hour in-room dining from our full menu.</p>
</div>
</div>
<div class="service-item reveal">
<div>
<h4>Laundry & Dry Cleaning</h4>
<p>Express service available — same-day return guaranteed.</p>
</div>
</div>
<div class="service-item reveal">
<div>
<h4>Valet Parking</h4>
<p>Secure, attended parking for all registered guests.</p>
</div>
</div>
<div class="service-item reveal">
<div>
<h4>Business Centre</h4>
<p>Meeting rooms, high-speed internet, and printing services.</p>
</div>
</div>
<div class="service-item reveal">
<div>
<h4>Childcare</h4>
<p>Supervised kids' club and babysitting on request.</p>
</div>
</div>
<div class="service-item reveal">
<div>
<h4>Luggage Storage</h4>
<p>Secure storage before check-in or after check-out.</p>
</div>
</div>
<div class="service-item reveal">
<div>
<h4>Tour & Excursions</h4>
<p>Curated city tours and day trips arranged by concierge.</p>
</div>
</div>
</div>
</div>
</section>
<!-- FINAL CTA -->
<section id="cta-strip" class="scroll-section scroll-section--cta" aria-labelledby="cta-heading">
<div class="section-inner text-center">
<h2 id="cta-heading" class="cta-strip-title reveal">Ready to Experience Hotelier?</h2>
<p class="cta-strip-sub reveal">Sign in to manage your booking, or jump straight in as a guest.</p>
<div class="landing-cta reveal">
<button id="btn-signin-2" class="btn btn-primary" aria-label="Sign in">Sign In</button>
<button id="btn-guest-2" class="btn btn-ghost" aria-label="Continue as guest">Continue as Guest</button>
</div>
</div>
</section>
<!-- FOOTER -->
<footer class="site-footer">
<div class="footer-inner">
<div class="footer-brand"><strong>Hotelier</strong></div>
<p class="footer-tag">Where elegance meets effortless service.</p>
<p class="footer-copy">© 2026 Hotelier Management System. All rights reserved.</p>
</div>
</footer>
</main>
<!-- ===== TOP NAVIGATION BAR (revealed after login) ===== -->
<nav id="topnav" class="topnav hidden" role="navigation" aria-label="Main navigation">
<div class="topnav-brand">
<span class="brand-name">Hotelier</span>
</div>
<ul id="nav-links" class="nav-links" role="list"></ul>
<div class="topnav-user">
<span id="nav-user-label" class="nav-user-label"></span>
<button id="btn-logout" class="btn btn-sm btn-outline" aria-label="Log out">Log Out</button>
</div>
<button id="btn-hamburger" class="hamburger" aria-label="Toggle menu" aria-expanded="false">
<span></span><span></span><span></span>
</button>
</nav>
<!-- ===== MODAL OVERLAY (shared backdrop) ===== -->
<div id="modal-overlay" class="modal-overlay hidden" role="presentation" aria-hidden="true"></div>
<!-- ===== MODAL: AUTH (Login / Register) ===== -->
<div id="modal-auth" class="modal-card hidden" role="dialog" aria-modal="true" aria-labelledby="auth-heading">
<button class="modal-close" data-close="modal-auth" aria-label="Close sign in">✕</button>
<div class="modal-header">
<h2 id="auth-heading" class="modal-title">Welcome Back</h2>
<p class="modal-subtitle">Sign in to manage your stay.</p>
</div>
<!-- Tab switcher -->
<div class="auth-tabs" role="tablist">
<button id="tab-login" class="auth-tab active" role="tab" aria-selected="true"
aria-controls="panel-login">Login</button>
<button id="tab-register" class="auth-tab" role="tab" aria-selected="false"
aria-controls="panel-register">Register</button>
</div>
<!-- Login Panel -->
<div id="panel-login" class="auth-panel" role="tabpanel" aria-labelledby="tab-login">
<form id="form-login" novalidate>
<div class="form-group">
<label for="login-email">Email Address</label>
<input type="email" id="login-email" name="email" placeholder="you@example.com" autocomplete="email"
required />
<span class="field-error" id="err-login-email" role="alert"></span>
</div>
<div class="form-group">
<label for="login-password">Password</label>
<input type="password" id="login-password" name="password" placeholder="••••••••"
autocomplete="current-password" required />
<span class="field-error" id="err-login-password" role="alert"></span>
</div>
<div class="form-group">
<label for="login-role">Login As</label>
<select id="login-role" name="role" required>
<option value="">-- Select Role --</option>
<option value="guest">Guest (Customer)</option>
<option value="staff">Staff (Receptionist)</option>
<option value="admin">Admin</option>
</select>
<span class="field-error" id="err-login-role" role="alert"></span>
</div>
<div class="form-group">
<label for="login-name">Full Name <span class="label-hint">(for greeting)</span></label>
<input type="text" id="login-name" name="name" placeholder="Your full name" autocomplete="name" required />
<span class="field-error" id="err-login-name" role="alert"></span>
</div>
<button type="submit" class="btn btn-primary btn-full">Sign In</button>
<p class="form-hint">Demo: any email / password will work.</p>
</form>
<!-- Guest quick-access -->
<div class="auth-divider" aria-hidden="true">
<span>or</span>
</div>
<button id="btn-guest-access" class="btn btn-guest btn-full"
aria-label="Continue browsing as a guest without signing in">
Continue as Guest
</button>
</div>
<!-- Register Panel -->
<div id="panel-register" class="auth-panel hidden" role="tabpanel" aria-labelledby="tab-register">
<form id="form-register" novalidate>
<div class="form-group">
<label for="reg-name">Full Name</label>
<input type="text" id="reg-name" name="name" placeholder="Jane Smith" autocomplete="name" required />
<span class="field-error" id="err-reg-name" role="alert"></span>
</div>
<div class="form-group">
<label for="reg-email">Email Address</label>
<input type="email" id="reg-email" name="email" placeholder="you@example.com" autocomplete="email" required />
<span class="field-error" id="err-reg-email" role="alert"></span>
</div>
<div class="form-group">
<label for="reg-password">Password</label>
<input type="password" id="reg-password" name="password" placeholder="Min. 6 characters"
autocomplete="new-password" required minlength="6" />
<span class="field-error" id="err-reg-password" role="alert"></span>
</div>
<div class="form-group">
<label for="reg-phone">Phone Number</label>
<input type="tel" id="reg-phone" name="phone" placeholder="+1 234 567 8901" autocomplete="tel" />
</div>
<div class="form-group">
<label for="reg-role">Register As</label>
<select id="reg-role" name="role" required>
<option value="">-- Select Role --</option>
<option value="guest">Guest (Customer)</option>
<option value="staff">Staff (Receptionist)</option>
<option value="admin">Admin</option>
</select>
<span class="field-error" id="err-reg-role" role="alert"></span>
</div>
<button type="submit" class="btn btn-primary btn-full">Create Account</button>
</form>
</div>
</div>
<!-- ===== MODAL: GUEST ROOM BOOKING ===== -->
<div id="modal-guest-booking" class="modal-card hidden" role="dialog" aria-modal="true"
aria-labelledby="booking-heading">
<button class="modal-close" data-close="modal-guest-booking" aria-label="Close booking">✕</button>
<div class="modal-header">
<h2 id="booking-heading" class="modal-title">Book a Room</h2>
<p class="modal-subtitle">Select your preferences and confirm.</p>
</div>
<form id="form-booking" novalidate>
<div class="form-row">
<div class="form-group">
<label for="book-guest-name">Guest Name</label>
<input type="text" id="book-guest-name" name="guestName" placeholder="Full name" required />
<span class="field-error" id="err-book-guest-name" role="alert"></span>
</div>
<div class="form-group">
<label for="book-guest-email">Email</label>
<input type="email" id="book-guest-email" name="guestEmail" placeholder="you@example.com" required />
<span class="field-error" id="err-book-guest-email" role="alert"></span>
<span id="email-lock-hint" style="display:none; font-size:0.75rem; color:#a0795a; margin-top:0.25rem;">🔒
Locked to your account</span>
</div>
</div>
<div class="form-row">
<div class="form-group">
<label for="book-room-type">Room Type</label>
<select id="book-room-type" name="roomType" required>
<option value="">-- Select Type --</option>
<option value="standard" data-rate="80">Standard Room — RM 80/night</option>
<option value="deluxe" data-rate="150">Deluxe Room — RM 150/night</option>
<option value="suite" data-rate="250">Executive Suite — RM 250/night</option>
<option value="penthouse" data-rate="500">Penthouse — RM 500/night</option>
</select>
<span class="field-error" id="err-book-room-type" role="alert"></span>
</div>
<div class="form-group">
<label for="book-guests">Number of Guests</label>
<input type="number" id="book-guests" name="guests" min="1" max="6" value="1" required />
<span class="field-error" id="err-book-guests" role="alert"></span>
</div>
</div>
<div class="form-row">
<div class="form-group">
<label for="book-checkin">Check-In Date</label>
<input type="date" id="book-checkin" name="checkin" required />
<span class="field-error" id="err-book-checkin" role="alert"></span>
</div>
<div class="form-group">
<label for="book-checkout">Check-Out Date</label>
<input type="date" id="book-checkout" name="checkout" required />
<span class="field-error" id="err-book-checkout" role="alert"></span>
</div>
</div>
<!-- Price summary -->
<div class="price-summary" id="price-summary" aria-live="polite">
<div class="price-row">
<span>Room Rate</span><span id="ps-rate">—</span>
</div>
<div class="price-row">
<span>Nights</span><span id="ps-nights">—</span>
</div>
<div class="price-row price-total">
<span>Total</span><span id="ps-total">—</span>
</div>
</div>
<div class="form-group">
<label for="book-requests">Special Requests <span class="label-hint">(optional)</span></label>
<textarea id="book-requests" name="requests" rows="2" placeholder="e.g. high floor, extra pillows…"></textarea>
</div>
<button type="submit" class="btn btn-primary btn-full">Confirm Booking</button>
</form>
<div id="booking-success" class="success-banner hidden" role="alert" style="flex-direction: column;">
<div style="display: flex; gap: 0.75rem;">
<span class="success-icon">✔</span>
<div>
<strong>Booking Confirmed!</strong>
<p id="booking-confirm-msg"></p>
</div>
</div>
<div style="margin-top:0.5rem; display:flex; gap:0.5rem; width:100%;">
<button type="button" id="btn-add-booking" class="btn btn-outline"
style="flex:1; font-size: 0.8rem; padding: 0.5rem;">Add Another Booking</button>
<button type="button" id="btn-cancel-booking" class="btn btn-outline"
style="flex:1; border-color: #c0392b; color: #c0392b; font-size: 0.8rem; padding: 0.5rem;">Cancel
Booking</button>
</div>
</div>
</div>
<!-- ===== MODAL: FACILITIES BOOKING ===== -->
<div id="modal-facilities" class="modal-card hidden" role="dialog" aria-modal="true" aria-labelledby="fac-heading">
<button class="modal-close" data-close="modal-facilities" aria-label="Close facilities">✕</button>
<div class="modal-header">
<h2 id="fac-heading" class="modal-title">Facilities</h2>
<p class="modal-subtitle">Enhance your stay with our premium amenities.</p>
</div>
<div class="facility-grid">
<div class="facility-card" data-facility="gym" data-price="20" role="button" tabindex="0" aria-pressed="false">
<h3 class="facility-name">Fitness Center</h3>
<p class="facility-desc">State-of-the-art gym, open 6 AM – 10 PM.</p>
<p class="facility-price">RM 20 / day</p>
<span class="facility-badge">Add</span>
</div>
<div class="facility-card" data-facility="spa" data-price="80" role="button" tabindex="0" aria-pressed="false">
<h3 class="facility-name">Luxury Spa</h3>
<p class="facility-desc">Full-body massage, sauna & steam room.</p>
<p class="facility-price">RM 80 / session</p>
<span class="facility-badge">Add</span>
</div>
<div class="facility-card" data-facility="pool" data-price="15" role="button" tabindex="0" aria-pressed="false">
<h3 class="facility-name">Infinity Pool</h3>
<p class="facility-desc">Heated outdoor pool with panoramic views.</p>
<p class="facility-price">RM 15 / day</p>
<span class="facility-badge">Add</span>
</div>
<div class="facility-card" data-facility="airport" data-price="45" role="button" tabindex="0"
aria-pressed="false">
<h3 class="facility-name">Airport Pickup</h3>
<p class="facility-desc">Chauffeured luxury vehicle from/to airport.</p>
<p class="facility-price">RM 45 / transfer</p>
<span class="facility-badge">Add</span>
</div>
<div class="facility-card" data-facility="dining" data-price="60" role="button" tabindex="0" aria-pressed="false">
<h3 class="facility-name">Fine Dining</h3>
<p class="facility-desc">Reserve a table at our signature restaurant.</p>
<p class="facility-price">RM 60 / person</p>
<span class="facility-badge">Add</span>
</div>
<div class="facility-card" data-facility="concierge" data-price="0" role="button" tabindex="0"
aria-pressed="false">
<h3 class="facility-name">Concierge</h3>
<p class="facility-desc">24/7 personal concierge assistance.</p>
<p class="facility-price">Complimentary</p>
<span class="facility-badge">Add</span>
</div>
</div>
<div class="facility-summary" id="fac-summary" aria-live="polite">
Selected: <span id="fac-selected-list">None</span> — <strong>Total: <span id="fac-total">RM
0</span></strong>
</div>
<button id="btn-confirm-facilities" class="btn btn-primary btn-full" style="margin-top:1rem;">Confirm
Selection</button>
</div>
<!-- ===== MODAL: STAFF WORKSPACE ===== -->
<div id="modal-staff-workspace" class="modal-card modal-wide hidden" role="dialog" aria-modal="true"
aria-labelledby="staff-heading">
<button class="modal-close" data-close="modal-staff-workspace" aria-label="Close staff workspace">✕</button>
<div class="modal-header">
<h2 id="staff-heading" class="modal-title">Room Status & Check-In/Out</h2>
<p class="modal-subtitle">Click a room card to cycle its status.</p>
</div>
<!-- Room Status Grid -->
<h3 class="section-label">Live Room Status</h3>
<div class="room-grid" id="room-grid" aria-label="Room status grid"></div>
<div class="status-legend" aria-label="Status legend">
<span class="legend-item"><span class="legend-dot available"></span>Available</span>
<span class="legend-item"><span class="legend-dot occupied"></span>Occupied</span>
<span class="legend-item"><span class="legend-dot maintenance"></span>Maintenance</span>
</div>
<!-- Check-In / Check-Out Form -->
<h3 class="section-label" style="margin-top:1.5rem;">Check-In / Check-Out Processing</h3>
<form id="form-checkin" novalidate>
<div class="form-row">
<div class="form-group">
<label for="ci-guest-name">Guest Name</label>
<input type="text" id="ci-guest-name" name="guestName" placeholder="Full name" required />
<span class="field-error" id="err-ci-guest-name" role="alert"></span>
</div>
<div class="form-group">
<label for="ci-room-number">Room Number</label>
<input type="number" id="ci-room-number" name="roomNumber" placeholder="e.g. 301" min="301" max="720"
required />
<span class="field-error" id="err-ci-room-number" role="alert"></span>
</div>
</div>
<div class="form-row">
<div class="form-group">
<label for="ci-checkin-date">Check-In Date</label>
<input type="date" id="ci-checkin-date" name="checkin" required />
<span class="field-error" id="err-ci-checkin-date" role="alert"></span>
</div>
<div class="form-group">
<label for="ci-checkout-date">Check-Out Date</label>
<input type="date" id="ci-checkout-date" name="checkout" required />
<span class="field-error" id="err-ci-checkout-date" role="alert"></span>
</div>
</div>
<div class="form-row">
<div class="form-group">
<label for="ci-room-rate">Room Rate (RM/night)</label>
<input type="number" id="ci-room-rate" name="rate" placeholder="e.g. 150" min="1" required />
<span class="field-error" id="err-ci-room-rate" role="alert"></span>
</div>
<div class="form-group">
<label for="ci-action">Action</label>
<select id="ci-action" name="action" required>
<option value="">-- Select --</option>
<option value="checkin">Check In</option>
<option value="checkout">Check Out</option>
</select>
<span class="field-error" id="err-ci-action" role="alert"></span>
</div>
</div>
<div class="form-group">
<label for="ci-notes">Notes <span class="label-hint">(optional)</span></label>
<textarea id="ci-notes" name="notes" rows="2"
placeholder="Any special notes about the guest or room…"></textarea>
</div>
<button type="submit" class="btn btn-primary">Process</button>
</form>
<div id="checkin-success" class="success-banner hidden" role="alert">
<span class="success-icon">✔</span>
<p id="checkin-confirm-msg"></p>
</div>
</div>
<!-- ===== MODAL: SHIFT SCHEDULE ===== -->
<div id="modal-shift-schedule" class="modal-card modal-wide hidden" role="dialog" aria-modal="true"
aria-labelledby="shift-heading">
<button class="modal-close" data-close="modal-shift-schedule" aria-label="Close shift schedule">✕</button>
<div class="modal-header">
<h2 id="shift-heading" class="modal-title">Work Shift Schedule</h2>
<p class="modal-subtitle">Current week employee roster.</p>
</div>
<div class="table-wrapper">
<table class="data-table" id="shift-table" aria-label="Employee shift schedule">
<thead>
<tr>
<th scope="col">Employee</th>
<th scope="col">Role</th>
<th scope="col">Monday</th>
<th scope="col">Tuesday</th>
<th scope="col">Wednesday</th>
<th scope="col">Thursday</th>
<th scope="col">Friday</th>
<th scope="col">Saturday</th>
<th scope="col">Sunday</th>
</tr>
</thead>
<tbody id="shift-tbody"></tbody>
</table>
</div>
</div>
<!-- ===== MODAL: REPORTS ===== -->
<div id="modal-reports" class="modal-card modal-wide hidden" role="dialog" aria-modal="true"
aria-labelledby="reports-heading">
<button class="modal-close" data-close="modal-reports" aria-label="Close reports">✕</button>
<div class="modal-header">
<h2 id="reports-heading" class="modal-title">Reports & Analytics</h2>
<p class="modal-subtitle">Monthly occupancy and revenue overview.</p>
</div>
<div class="reports-grid">
<!-- Occupancy Report -->
<div class="report-panel">
<h3 class="report-panel-title">Room Occupancy Rate</h3>
<div class="chart-bar-group" id="chart-occupancy" aria-label="Occupancy bar chart" role="img"></div>
</div>
<!-- Revenue Summary -->
<div class="report-panel">
<h3 class="report-panel-title">Monthly Revenue (RM)</h3>
<div class="chart-bar-group" id="chart-revenue" aria-label="Revenue bar chart" role="img"></div>
</div>
</div>
<!-- Summary Stats -->
<div class="stats-row" aria-label="Summary statistics">
<div class="stat-card">
<p class="stat-value">87%</p>
<p class="stat-label">Avg. Occupancy</p>
</div>
<div class="stat-card">
<p class="stat-value">RM 124K</p>
<p class="stat-label">YTD Revenue</p>
</div>
<div class="stat-card">
<p class="stat-value">4.7★</p>
<p class="stat-label">Guest Rating</p>
</div>
<div class="stat-card">
<p class="stat-value">312</p>
<p class="stat-label">Total Bookings</p>
</div>
</div>
<!-- Occupancy Table -->
<h3 class="section-label" style="margin-top:1.5rem;">Detailed Occupancy Table</h3>
<div class="table-wrapper">
<table class="data-table" aria-label="Occupancy data table">
<thead>
<tr>
<th scope="col">Month</th>
<th scope="col">Rooms Available</th>
<th scope="col">Rooms Occupied</th>
<th scope="col">Occupancy %</th>
<th scope="col">Revenue (RM)</th>
</tr>
</thead>
<tbody>
<tr>
<td>January</td>
<td>50</td>
<td>38</td>
<td>76%</td>
<td>RM 19,200</td>
</tr>
<tr>
<td>February</td>
<td>50</td>
<td>42</td>
<td>84%</td>
<td>RM 22,400</td>
</tr>
<tr>
<td>March</td>
<td>50</td>
<td>46</td>
<td>92%</td>
<td>RM 26,500</td>
</tr>
<tr>
<td>April</td>
<td>50</td>
<td>44</td>
<td>88%</td>
<td>RM 24,800</td>
</tr>
<tr>
<td>May</td>
<td>50</td>
<td>47</td>
<td>94%</td>
<td>RM 28,100</td>
</tr>
<tr>
<td>June</td>
<td>50</td>
<td>49</td>
<td>98%</td>
<td>RM 32,000</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ===== MODAL: BILLING & REVIEW ===== -->
<div id="modal-billing" class="modal-card modal-wide hidden" role="dialog" aria-modal="true"
aria-labelledby="billing-heading">
<button class="modal-close" data-close="modal-billing" aria-label="Close billing">✕</button>
<div class="modal-header">
<h2 id="billing-heading" class="modal-title">Invoice & Review</h2>
<p class="modal-subtitle">Digital receipt and guest feedback.</p>
</div>
<div class="billing-layout">
<!-- Empty State -->
<div id="empty-invoice-state" class="hidden"
style="text-align: center; padding: 4rem 2rem; background: #faf7f2; border-radius: 8px; border: 1px dashed #d4c5b9; display: flex; flex-direction: column; align-items: center; justify-content: center;">
<span style="font-size: 3rem; opacity: 0.5; margin-bottom: 1rem;">🧾</span>
<h3 style="color: #2c1a0e; margin-bottom: 0.5rem; font-family: 'Playfair Display', serif;">No Active Booking
</h3>
<p style="color: #7d7268; font-size: 0.9rem;">You haven't made any room bookings yet.</p>
</div>
<!-- Invoice Panel -->
<div class="invoice-panel" id="invoice-panel">
<div class="invoice-header">
<div class="invoice-brand">
<h3>HOTELIER</h3>
<p>Jalan Mewah 123, Kuala Lumpur, Malaysia</p>
<p>Tel: +60 3-8888 9999</p>
</div>
<div class="invoice-meta">
<p><strong>Invoice #:</strong> <span id="inv-number">HTL-2026-001</span></p>
<p><strong>Date:</strong> <span id="inv-date"></span></p>
</div>
</div>
<div class="invoice-guest">
<h4>Billed To:</h4>
<p id="inv-guest-name">—</p>
<p id="inv-guest-email">—</p>
</div>
<table class="invoice-table">
<thead>
<tr>
<th>Description</th>
<th>Qty</th>
<th>Rate</th>
<th>Amount</th>
</tr>
</thead>
<tbody id="inv-items">
<tr>
<td>Room Booking</td>
<td id="inv-nights">—</td>
<td id="inv-rate">—</td>
<td id="inv-room-total">—</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3" class="inv-label">Subtotal</td>
<td id="inv-subtotal">—</td>
</tr>
<tr>
<td colspan="3" class="inv-label">SST (6%)</td>
<td id="inv-tax">—</td>
</tr>
<tr class="inv-grand-total">
<td colspan="3" class="inv-label">Grand Total</td>
<td id="inv-grand">—</td>
</tr>
</tfoot>
</table>
<div class="invoice-footer">
<p>Thank you for choosing Hotelier. We hope to welcome you again!</p>
</div>
<button id="btn-print" class="btn btn-outline" onclick="window.print()">Print Invoice</button>
</div>
<!-- Review Panel -->
<div class="review-panel">
<h3 class="review-title">Rate Your Stay</h3>
<p class="review-subtitle">Your feedback helps us improve.</p>
<form id="form-review" novalidate>
<div class="form-group">
<label for="rev-name">Your Name</label>
<input type="text" id="rev-name" name="name" placeholder="Full name" required />
<span class="field-error" id="err-rev-name" role="alert"></span>
</div>
<div class="form-group">
<label>Overall Experience</label>
<div class="star-rating" id="star-rating" role="radiogroup" aria-label="Rate your stay from 1 to 5 stars">
<span class="star" data-value="1" role="radio" aria-checked="false" tabindex="0"
aria-label="1 star">★</span>
<span class="star" data-value="2" role="radio" aria-checked="false" tabindex="0"
aria-label="2 stars">★</span>
<span class="star" data-value="3" role="radio" aria-checked="false" tabindex="0"
aria-label="3 stars">★</span>
<span class="star" data-value="4" role="radio" aria-checked="false" tabindex="0"
aria-label="4 stars">★</span>
<span class="star" data-value="5" role="radio" aria-checked="false" tabindex="0"
aria-label="5 stars">★</span>
</div>
<span class="field-error" id="err-star-rating" role="alert"></span>
</div>
<div class="form-group">
<label>Specific Ratings</label>
<div class="sub-ratings">
<div class="sub-rating-row">
<span>Cleanliness</span>
<div class="mini-stars" data-group="cleanliness" aria-label="Cleanliness rating">
<span class="mini-star" data-value="1">★</span>
<span class="mini-star" data-value="2">★</span>
<span class="mini-star" data-value="3">★</span>
<span class="mini-star" data-value="4">★</span>
<span class="mini-star" data-value="5">★</span>
</div>
</div>
<div class="sub-rating-row">
<span>Service</span>
<div class="mini-stars" data-group="service" aria-label="Service rating">
<span class="mini-star" data-value="1">★</span>
<span class="mini-star" data-value="2">★</span>
<span class="mini-star" data-value="3">★</span>
<span class="mini-star" data-value="4">★</span>
<span class="mini-star" data-value="5">★</span>
</div>
</div>
<div class="sub-rating-row">
<span>Comfort</span>
<div class="mini-stars" data-group="comfort" aria-label="Comfort rating">
<span class="mini-star" data-value="1">★</span>
<span class="mini-star" data-value="2">★</span>
<span class="mini-star" data-value="3">★</span>
<span class="mini-star" data-value="4">★</span>
<span class="mini-star" data-value="5">★</span>
</div>
</div>
<div class="sub-rating-row">
<span>Value</span>
<div class="mini-stars" data-group="value" aria-label="Value rating">
<span class="mini-star" data-value="1">★</span>
<span class="mini-star" data-value="2">★</span>
<span class="mini-star" data-value="3">★</span>
<span class="mini-star" data-value="4">★</span>
<span class="mini-star" data-value="5">★</span>
</div>
</div>
</div>
</div>
<div class="form-group">
<label for="rev-comments">Comments</label>
<textarea id="rev-comments" name="comments" rows="3"
placeholder="Tell us about your experience…"></textarea>
</div>
<button type="submit" class="btn btn-primary btn-full">Submit Review</button>
</form>
<div id="review-success" class="success-banner hidden" role="alert">
<span class="success-icon">✔</span>
<p>Thank you for your review! We value your feedback.</p>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>