
/* =====================================
   QUEUEFLOW BOOKING PAGE
===================================== */

/* PAGE BACKGROUND */
body {
  display: block;
  min-height: 100vh;
  margin: 0;
  background: #0b0b0c;
  color: #f4f4f5;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

/* MAIN CONTAINER */
.booking-main {
  width: 100%;
  max-width: 1500px;
  margin: auto;
  padding: 20px 25px;
  box-sizing: border-box;
}

/* HEADER */
.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.booking-header a {
  color: #f4f4f5;
  text-decoration: none;
}

.booking-header .brand {
  font-family: "Sora", sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.booking-header .brand span {
  color: #ff4757;
}

.booking-header a:hover {
  color: #ff4757;
}

/* BOOKING CARD */
.booking-card {
  width: 100%;
  max-width: 1450px;
  margin: 15px auto;
  padding: 28px;
  background: #151517;
  border: 1px solid #2b2b30;
  border-radius: 16px;
  box-sizing: border-box;
}

.booking-card h1 {
  margin: 0 0 8px;
  font-family: "Sora", sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.booking-card p {
  color: #9b9ba3;
  margin-bottom: 24px;
}

/* BOOKING FORM */
#booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* SIX FIELDS IN ONE ROW */
#booking-form .booking-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  width: 100%;
}

/* FIELD LABELS */
#booking-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: #f4f4f5;
  font-size: 13px;
  font-weight: 700;
}

/* INPUTS AND SELECTS */
#booking-form input,
#booking-form select {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 8px 10px;
  background: #0f0f11;
  color: #f4f4f5;
  border: 1px solid #2b2b30;
  border-radius: 9px;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#booking-form input:focus,
#booking-form select:focus {
  border-color: #ff4757;
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.15);
}

/* SUBMIT BUTTON */
#booking-form button[type="submit"] {
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  background: #d90f23;
  color: #ffffff;
  border: none;
  border-radius: 9px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

#booking-form button[type="submit"]:hover {
  background: #b30c1d;
  transform: translateY(-2px);
}

#booking-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* SUCCESS AND ERROR MESSAGE */
.booking-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
}

.booking-message:empty {
  display: none;
}

.booking-message.success {
  background: rgba(47, 210, 122, 0.12);
  border: 1px solid #2fd27a;
  color: #2fd27a;
}

.booking-message.error {
  background: rgba(255, 71, 87, 0.12);
  border: 1px solid #ff4757;
  color: #ff7a86;
}

/* TABLET: THREE FIELDS PER ROW */
@media (max-width: 1100px) {
  #booking-form .booking-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* MOBILE: ONE FIELD PER ROW */
@media (max-width: 600px) {
  .booking-main {
    padding: 15px;
  }

  .booking-card {
    padding: 20px;
  }

  .booking-card h1 {
    font-size: 23px;
  }

  #booking-form .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-header {
    align-items: flex-start;
  }
}
.booking-header-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.booking-header-links a {
  color: #f4f4f5;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s;
}

.booking-header-links a:hover {
  color: #ff4757;
}

/* LIVE QUEUE SECTION */
.live-queue {
  width: min(100% - 32px, 1100px);
  margin: 35px auto;
  padding: 28px;
  border: 1px solid rgba(255, 71, 87, 0.25);
  border-radius: 16px;
  background: rgba(18, 18, 22, 0.94);
  text-align: center;
  box-sizing: border-box;
}

.live-queue h2 {
  margin: 8px 0;
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: 28px;
}

.live-queue-intro {
  color: #aaa;
  margin-bottom: 25px;
}

.live-queue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.live-counter {
  padding: 24px 12px;
  border: 1px solid rgba(255, 71, 87, 0.35);
  border-radius: 12px;
  background: #202027;
  min-width: 0;
}

.live-counter h3 {
  margin: 0 0 18px;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 17px;
}

.live-ticket {
  color: #ff4757;
  font-family: "Sora", sans-serif;
  font-size: clamp(25px, 4vw, 38px);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.live-status {
  margin: 12px 0 0;
  color: #bbb;
  font-size: 13px;
  text-transform: capitalize;
}

#live-queue-updated {
  margin-top: 20px;
  color: #888;
  font-size: 12px;
}

@media (max-width: 650px) {
  .live-queue {
    padding: 18px 12px;
  }

  .live-queue-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .live-counter {
    padding: 18px 10px;
  }
}
