/* Global font style */
body, html {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

      body {
            
        }
/* === Base Elements === */
* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6,
button, input, textarea {
  font-family: inherit;
}

form {
  background: #fff;
  padding: 20px;
  max-width: 500px;
  margin: 0 auto 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #2b3e5a;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

textarea {
  resize: vertical;
}

label {
  display: block;
  margin-bottom: 4px;
  color: #333;
}

input[type="checkbox"] {
  width: auto;
  margin-right: 6px;
}

p {
  margin: 10px 0;
  text-align: center;
}

p[style*="color:red"],
p[style*="color:green"] {
  font-weight: bold;
  text-align: center;
}

a {
  display: block;
  text-align: center;
  margin-top: 12px;
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* === Buttons === */
button,
button[type="submit"],
button[type="copy-all"] {
  width: 100%;
  padding: 16px;
  background-color: #454d46;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"],
button[type="copy-all"] {
  width: auto;
  padding: 8px 16px;
  border-radius: 4px;
}

button:hover,
button[type="submit"]:hover,
button[type="copy-all"]:hover {
  background-color: #454d46;
}

.close-btn {
  width: 50px;
  font-size: 30px;
}

/* === Topbar === */
.topbar {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #ffffff;
  color: #1a1919;
}

.hamburger {
  font-size: 24px;
  cursor: pointer;
  margin-right: 15px;
}

/* === Main Content === */
.main-content {
  padding: 5px;
  max-width: 98%;
  margin: auto;
}

/* === Notifications === */
.noti-request {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #87f5ad;
  padding: 12px;
  border-left: 5px solid #38d96f;
  margin-bottom: 20px;
  font-size: 14px;
  border-radius: 5px;
}

/* === Booking === */
.next-booking,
.booking-card {
  max-width: 98%;
  margin: 20px auto;
  padding: 15px;
  border-radius: 6px;
}

.next-booking p {
  margin: 6px 0;
  font-size: 1.1rem;
}

.booking-list li:hover {
  background-color: #f0f8ff;
}

/* === Modal === */
#bookingModal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

#bookingModalContent {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

#modalCloseBtn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* === Splash Screen === */
.splash-container {
  padding: 60px 20px;
}

.splash-logo {
  width: 100px;
  margin-bottom: 20px;
}

.app-name {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #004085;
}

/* === Role Buttons === */
.role-selection {
  margin-top: 30px;
}

.role-btn {
  display: block;
  margin: 10px auto;
  padding: 12px 24px;
  width: 90%;
  max-width: 300px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
}

.role-btn:hover {
  background-color: #0056b3;
}

/* === Navigation Panel === */
.nav-panel {
  margin-top: 40px;
}

.nav-panel ul {
  list-style: none;
  padding: 0;
}

.nav-panel li {
  margin: 8px 0;
}

.nav-panel a {
  text-decoration: none;
  color: #007bff;
}

.nav-panel a:hover {
  text-decoration: none;
}
.journey-qr{
    text-align:center;
}
/* === PWA Install Button === */
#installPWA {
  max-width: 400px;
  margin: auto;
  padding: 12px 18px;
  background-color: #333;
  color: #fff;
  border: 1px solid #333;
  border-radius: 5px;
}

/* === Responsive Styles === */
@media (max-width: 600px) {
  .main-content {
    max-width: 96%;
    margin: auto;
    margin-bottom:60px;
  }

  .booking-list {
    max-width: 100%;
  }

  .booking-card {
    width: 100%;
    background-color: #deffef;
  }

  .modal-content p {
    text-align: left;
  }

  .time-col {
    width: 100%;
  }
}
