/* style_patch.css - Anjli Cab v5 */

/* ================================================
   1. OLD BOOKING SECTION (.booking-section)
================================================ */
.booking-section {
  background: var(--secondary) !important;
  padding: 60px 0 70px !important;
  position: relative;
  overflow: hidden;
}
.booking-section h2 {
  color: #ffffff !important;
  font-size: clamp(28px, 4vw, 46px) !important;
  margin-bottom: 8px !important;
  line-height: 1.2 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #ffffff !important;
}
.booking-section .section-tag {
  color: var(--primary) !important;
  display: block !important;
}
.booking-section > .container > p {
  color: rgba(255,255,255,0.60) !important;
  margin-bottom: 32px !important;
  display: block !important;
  -webkit-text-fill-color: rgba(255,255,255,0.60) !important;
}
.booking-premium-card {
  background: rgba(255,255,255,0.04) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3) !important;
  overflow: hidden !important;
}
.booking-tabs {
  display: flex !important;
  background: rgba(0,0,0,0.25) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 0 !important;
  padding: 6px 6px 0 !important;
  gap: 3px !important;
  width: 100% !important;
  margin-bottom: 0 !important;
}
.tab-btn {
  flex: 1 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.45) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 10px 10px 0 0 !important;
  padding: 11px 8px !important;
  cursor: pointer !important;
}
.tab-btn.active {
  background: rgba(255,255,255,0.07) !important;
  color: var(--primary) !important;
  font-weight: 600 !important;
}
.tab-content { display: none !important; padding: 28px 30px 34px !important; }
.tab-content.active { display: block !important; }
.booking-form {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 16px !important;
}
.form-submit { grid-column: 1 / -1 !important; }
.booking-section .form-group label {
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.50) !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  -webkit-text-fill-color: rgba(255,255,255,0.50) !important;
}
.booking-section .form-group label i { color: var(--primary) !important; }
.booking-section .form-group input,
.booking-section .form-group select {
  font-size: 14px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1.5px solid rgba(255,255,255,0.12) !important;
  border-radius: 10px !important;
  padding: 11px 14px !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.booking-section .form-group input::placeholder { color: rgba(255,255,255,0.35) !important; opacity: 1 !important; }
.booking-section .form-group input:focus,
.booking-section .form-group select:focus {
  border-color: var(--primary) !important;
  background: rgba(255,255,255,0.11) !important;
}
.booking-section .form-submit .btn-primary {
  width: 100% !important;
  justify-content: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 15px 32px !important;
  background: linear-gradient(135deg, #ffc107 0%, #f5a623 50%, #e8940e 100%) !important;
  border: none !important;
  color: #1a1200 !important;
  -webkit-text-fill-color: #1a1200 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.input-wrap { position: relative !important; }
.autocomplete-dropdown {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  right: 0 !important;
  background: #1e1e38 !important;
  border: 1px solid rgba(245,166,35,0.25) !important;
  border-radius: 10px !important;
  z-index: 9999 !important;
  max-height: 220px !important;
  overflow-y: auto !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5) !important;
}
.autocomplete-dropdown div {
  padding: 11px 16px !important;
  cursor: pointer !important;
  color: rgba(255,255,255,0.85) !important;
  font-size: 14px !important;
}
.autocomplete-dropdown div:hover { background: rgba(245,166,35,0.15) !important; color: var(--primary) !important; }

/* ================================================
   2. NEW BOOKING SECTION (#booking with .bk-*)
================================================ */
#booking {
  background: #eef2ff;
  padding: 40px 0 48px;
}
.bk-tag {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #ff8c00;
  margin-bottom: 6px;
}
.bk-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 4px;
}
.bk-sub {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin: 0 0 24px;
}
.bk-card {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(30,60,120,0.10);
  padding: 24px 28px 20px;
}
.bk-tabs {
  display: flex !important;
  background: rgba(225,230,245,0.70) !important;
  border-radius: 10px !important;
  padding: 4px !important;
  gap: 4px !important;
  margin-bottom: 20px !important;
  border-bottom: none !important;
}
.bk-tab {
  flex: 1 !important;
  border: none !important;
  border-radius: 8px !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #555 !important;
  -webkit-text-fill-color: #555 !important;
  padding: 9px 6px !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.bk-tab.active {
  background: #ff8c00 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 3px 10px rgba(255,140,0,0.28) !important;
}
.bk-pane { display: none !important; }
.bk-pane.active { display: block !important; }
.bk-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  align-items: end !important;
}
.bk-submit-row { grid-column: 1 / -1 !important; }
.bk-grid label {
  display: block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #444 !important;
  -webkit-text-fill-color: #444 !important;
  margin-bottom: 5px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.bk-grid label i { color: #ff8c00 !important; margin-right: 4px !important; }
.bk-grid input[type=text],
.bk-grid input[type=tel],
.bk-grid input[type=date],
.bk-grid input[type=time],
.bk-grid select {
  width: 100% !important;
  background: rgba(255,255,255,0.92) !important;
  border: 1.5px solid #d8dff0 !important;
  border-radius: 9px !important;
  color: #1a1a2e !important;
  -webkit-text-fill-color: #1a1a2e !important;
  font-size: 14px !important;
  padding: 10px 12px !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
}
.bk-grid input::placeholder { color: #a0aabf !important; opacity: 1 !important; }
.bk-grid input:focus,
.bk-grid select:focus {
  border-color: #ff8c00 !important;
  box-shadow: 0 0 0 3px rgba(255,140,0,0.12) !important;
  background: #fff !important;
}
.bk-submit-btn {
  width: 100% !important;
  padding: 14px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  border: none !important;
  cursor: pointer !important;
  background: linear-gradient(135deg, #ff8c00, #e65c00) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}
.bk-alert { padding: 11px 14px !important; border-radius: 8px !important; font-size: 13px !important; font-weight: 600 !important; margin-bottom: 14px !important; }
.bk-alert-ok  { background: #e6f9ee !important; color: #1a7a3f !important; border: 1px solid #a8e6bf !important; }
.bk-alert-err { background: #fff0f0 !important; color: #c0392b !important; border: 1px solid #f5b7b1 !important; }
.ac-wrap { position: relative !important; }
.ac-drop {
  display: none;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  background: #fff !important;
  border: 1.5px solid #d8dff0 !important;
  border-top: none !important;
  border-radius: 0 0 9px 9px !important;
  max-height: 190px !important;
  overflow-y: auto !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10) !important;
}
.ac-drop div { padding: 9px 13px !important; cursor: pointer !important; font-size: 14px !important; color: #1a1a2e !important; }
.ac-drop div:hover { background: #fff4e5 !important; color: #e65c00 !important; }
.hp-wrap { display: none !important; visibility: hidden !important; position: absolute !important; left: -9999px !important; }

/* ================================================
   3. TABLET: 2 columns
================================================ */
@media (max-width: 900px) and (min-width: 600px) {
  .bk-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ================================================
   4. MOBILE: single column - THE MAIN FIX
================================================ */
@media (max-width: 599px) {
  #booking {
    padding: 18px 0 24px !important;
    margin-top: 0 !important;
  }
  .bk-title { font-size: 20px !important; }
  .bk-sub   { font-size: 13px !important; margin-bottom: 14px !important; }
  .bk-card  { padding: 14px 11px !important; border-radius: 13px !important; }
  .bk-tab   { font-size: 11px !important; padding: 8px 3px !important; }
  .bk-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    grid-template-columns: unset !important;
    width: 100% !important;
  }
  .bk-grid > div,
  .bk-submit-row {
    width: 100% !important;
    grid-column: unset !important;
    min-width: 0 !important;
  }
  .bk-grid input[type=text],
  .bk-grid input[type=tel],
  .bk-grid input[type=date],
  .bk-grid input[type=time],
  .bk-grid select {
    font-size: 15px !important;
    padding: 12px 13px !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .bk-submit-btn {
    padding: 14px !important;
    font-size: 15px !important;
    width: 100% !important;
  }
}

/* ================================================
   5. OLD BOOKING FORM MOBILE (.booking-section)
================================================ */
@media (max-width: 768px) {
  .booking-section {
    background: transparent !important;
    padding: 16px 0 40px !important;
    margin-top: 0 !important;
  }
  .booking-section h2 {
    font-size: 26px !important;
    color: #FFB300 !important;
    -webkit-text-fill-color: #FFB300 !important;
  }
  .booking-section .section-tag { color: #ffd54f !important; -webkit-text-fill-color: #ffd54f !important; }
  .booking-section > .container > p { color: rgba(255,255,255,0.85) !important; -webkit-text-fill-color: rgba(255,255,255,0.85) !important; }
  .booking-premium-card {
    background: rgba(10,8,2,0.58) !important;
    backdrop-filter: blur(22px) !important;
    -webkit-backdrop-filter: blur(22px) !important;
    border: 1px solid rgba(255,200,60,0.20) !important;
    border-radius: 18px !important;
  }
  .booking-form { grid-template-columns: 1fr !important; gap: 12px !important; }
  .tab-content  { padding: 18px 14px 22px !important; }
  .booking-section .form-group label { color: rgba(255,210,80,0.90) !important; -webkit-text-fill-color: rgba(255,210,80,0.90) !important; }
  .booking-section .form-group input,
  .booking-section .form-group select {
    background: rgba(255,255,255,0.93) !important;
    border: 1.5px solid rgba(255,200,60,0.30) !important;
    color: #1a1200 !important;
    -webkit-text-fill-color: #1a1200 !important;
    font-size: 15px !important;
    padding: 13px 14px !important;
    display: block !important;
    width: 100% !important;
  }
  .booking-section .form-group input::placeholder { color: #888 !important; opacity: 1 !important; }
  .booking-section .form-submit .btn-primary { font-size: 15px !important; padding: 15px !important; }
}

/* ================================================
   6. ROUTE PAGE MOBILE
================================================ */
@media (max-width: 768px) {
  .route-detail-card { padding: 20px 16px !important; }
  .fare-table-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
  .fare-table { font-size: 13px !important; min-width: 420px !important; }
  .fare-table th, .fare-table td { padding: 10px 12px !important; white-space: nowrap !important; }
  .route-title-bar h1 { font-size: 26px !important; line-height: 1.2 !important; }
  .route-title-bar { flex-wrap: wrap !important; gap: 10px !important; }
  .chip { font-size: 13px !important; padding: 6px 14px !important; }
  .route-detail-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .route-detail-card p { font-size: 14px !important; line-height: 1.7 !important; }
}
@media (max-width: 420px) {
  .fare-table { min-width: 360px !important; font-size: 12px !important; }
  .route-title-bar h1 { font-size: 22px !important; }
  .chip { font-size: 12px !important; padding: 5px 12px !important; }
}