[hidden] { display: none !important; }

.booking-section {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}

.booking-section .section-header h2 {
  color: #ffffff;
}

.booking-section .section-header p {
  color: #94a3b8;
}

.booking-shell {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
}

.booking-search-panel,
.booking-results-panel,
.booking-side-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

.booking-search-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  align-items: end;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field-group input,
.field-group select {
  width: 100%;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 16px 18px;
  font: inherit;
  font-size: 1rem;
  color: #0f172a;
  background: #f1f5f9;
  transition: all 0.3s ease;
}

.field-group input:focus,
.field-group select:focus {
  outline: none;
  background: #ffffff;
  border-color: #95C11F;
  box-shadow: 0 8px 24px rgba(149, 193, 31, 0.15);
}

.field-help {
  display: block;
  min-height: 2.4em;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
}

.field-help-placeholder,
.field-label-placeholder {
  visibility: hidden;
}

.field-label-placeholder {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-action {
  justify-content: flex-start;
}

.search-action .btn-search {
  width: 100%;
  min-height: 52px;
}

.booking-feedback {
  min-height: 24px;
}

.status-message {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
}

.status-info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.status-success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.status-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.booking-results-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: start;
}

.booking-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.results-toolbar h3,
.booking-side-card h3 {
  color: #0f172a;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.results-toolbar p,
.booking-side-card p {
  color: #64748b;
  line-height: 1.6;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-card {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover,
.result-card.is-active {
  border-color: rgba(149, 193, 31, 0.9);
  box-shadow: 0 16px 32px rgba(149, 193, 31, 0.12);
}

.result-topline,
.result-mainline,
.result-footer,
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.operator-chip,
.summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(149, 193, 31, 0.12);
  color: #527200;
  font-size: 0.82rem;
  font-weight: 700;
}

.result-mainline strong {
  display: block;
  font-size: 1.6rem;
  color: #0f172a;
}

.route-meta {
  display: flex;
  gap: 16px;
  color: #475569;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.point-grid,
.amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.point-pill,
.amenity-pill {
  padding: 9px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #475569;
}

.fare-block {
  text-align: right;
}

.fare-block strong {
  display: block;
  font-size: 1.65rem;
  color: #0f172a;
}

.seat-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(56px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.seat {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  border-radius: 12px;
  padding: 12px 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.seat.available:hover {
  border-color: #95C11F;
  color: #527200;
}

.seat.selected {
  background: #95C11F;
  border-color: #95C11F;
  color: #ffffff;
}

.seat.booked {
  background: #e2e8f0;
  border-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
}

.seat-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 0.85rem;
  margin-top: 14px;
}

.seat-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.seat-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.seat-dot.available { background: #f8fafc; border: 1px solid #cbd5e1; }
.seat-dot.selected { background: #95C11F; }
.seat-dot.booked { background: #cbd5e1; }

.passenger-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.passenger-form .field-group.full-width {
  grid-column: 1 / -1;
}

.summary-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.summary-row {
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-total strong {
  font-size: 1.5rem;
}

.stack-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.btn-secondary {
  background: #e2e8f0;
  color: #0f172a;
  border: none;
  padding: 14px 18px;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-secondary:hover {
  background: #cbd5e1;
}

.btn-search:disabled,
.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.confirmation-code {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.04em;
  margin: 10px 0;
}

.confirmation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.confirmation-grid div {
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px;
}

.lookup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.lookup-field {
  min-width: 0;
}

.lookup-form .btn-secondary {
  min-height: 52px;
  white-space: nowrap;
}

.lookup-result {
  margin-top: 16px;
}

.lookup-placeholder {
  margin: 0;
  padding: 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #64748b;
}

.lookup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lookup-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px;
  border: 1px solid #e2e8f0;
}

.lookup-card strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 8px;
}

.lookup-card p {
  margin: 0;
  color: #0f172a;
  word-break: break-word;
}

.lookup-code {
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.subtle-copy {
  font-size: 0.92rem;
  color: #64748b;
}

@media (max-width: 768px) {
  .booking-search-panel,
  .booking-results-panel,
  .booking-side-card {
    padding: 20px;
  }

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

  .booking-sidebar {
    position: static;
  }

  .result-topline,
  .result-mainline,
  .result-footer,
  .summary-row {
    align-items: flex-start;
  }

  .fare-block {
    text-align: left;
  }

  .seat-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lookup-form,
  .lookup-grid,
  .passenger-form,
  .confirmation-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================= */
/* OTP Verification Modal Style              */
/* ========================================= */
.otp-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.otp-modal-content {
  background: #ffffff;
  border-radius: 24px;
  width: 90%;
  max-width: 400px;
  padding: 30px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.otp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.otp-modal-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 !important;
}

.otp-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.otp-close-btn:hover {
  color: #0f172a;
}

.otp-modal-body {
  margin-bottom: 24px;
}

.otp-modal-body p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.otp-input-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
}

.otp-digit {
  width: 44px;
  height: 44px;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  background: #f8fafc;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.otp-digit:focus {
  border-color: #95C11F;
  box-shadow: 0 0 0 4px rgba(149, 193, 31, 0.15);
  background: #ffffff;
}

.otp-digit.is-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
  background: #fef2f2;
}

.otp-hint {
  font-size: 0.85rem !important;
  color: #64748b !important;
  text-align: center;
  margin-top: 15px;
}

.otp-hint strong {
  color: #7a9e18;
  background: rgba(149, 193, 31, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
}

.otp-modal-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.otp-modal-footer button {
  width: 100%;
}

/* UI Polishes for Next Hour */
.booking-side-card {
  position: sticky;
  top: 120px;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-card {
  animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.result-card:nth-child(1) { animation-delay: 0.1s; }
.result-card:nth-child(2) { animation-delay: 0.2s; }
.result-card:nth-child(3) { animation-delay: 0.3s; }
.result-card:nth-child(4) { animation-delay: 0.4s; }
.result-card:nth-child(5) { animation-delay: 0.5s; }

/* ========================================= */
/* Shimmer & Skeleton Loaders                */
/* ========================================= */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 8px;
}

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
  width: 100%;
}

.skeleton-text.short {
  width: 40%;
}

.skeleton-text.medium {
  width: 70%;
}

.skeleton-title {
  height: 24px;
  margin-bottom: 12px;
  width: 50%;
  border-radius: 12px;
}

.skeleton-card {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.skeleton-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.skeleton-block {
  height: 48px;
  width: 100px;
  border-radius: 12px;
}

.skeleton-btn {
  height: 44px;
  width: 120px;
  border-radius: 12px;
}

/* ========================================= */
/* Beautiful Empty State                     */
/* ========================================= */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px dashed #cbd5e1;
  max-width: 500px;
  margin: 20px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.empty-state-icon {
  width: 72px;
  height: 72px;
  background: rgba(149, 193, 31, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #95C11F;
}

.empty-state h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.empty-state p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.empty-state-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.suggestion-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggestion-tag:hover {
  background: rgba(149, 193, 31, 0.1);
  border-color: #95C11F;
  color: #527200;
}

/* ========================================= */
/* Premium Error Card                        */
/* ========================================= */
.error-card {
  border: 1px solid #fee2e2;
  background: #fff5f5;
  border-radius: 24px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 500px;
  margin: 20px auto;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.03);
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.error-card-icon {
  width: 64px;
  height: 64px;
  background: #fee2e2;
  color: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.error-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #991b1b;
  margin: 0 0 8px 0;
}

.error-card p {
  font-size: 0.95rem;
  color: #b91c1c;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.error-card .btn-retry {
  background: #ef4444;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.error-card .btn-retry:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

/* ========================================= */
/* Sorting & Filtering Panel Styles         */
/* ========================================= */
.filter-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: start;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-select {
  width: 100%;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-select:focus {
  border-color: #95C11F;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(149, 193, 31, 0.1);
}

.filter-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-pill {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  border-radius: 99px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.filter-pill:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #334155;
}

.filter-pill.is-active {
  background: #95C11F;
  border-color: #95C11F;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(149, 193, 31, 0.25);
  font-weight: 700;
}

.price-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: #95C11F;
}

.price-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  outline: none;
  margin: 12px 0 6px 0;
  padding: 0;
  cursor: pointer;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #95C11F;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s ease;
}

.price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.price-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #95C11F;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s ease;
  cursor: pointer;
}

.price-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.filter-actions {
  display: flex;
  justify-content: flex-end;
  border-top: 1px dashed #e2e8f0;
  margin-top: 20px;
  padding-top: 16px;
}

.btn-clear {
  border: none;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-clear:hover {
  background: #f1f5f9;
  color: #334155;
}

/* Animations for filter changes */
.results-list {
  transition: all 0.3s ease;
}

/* Responsive mobile view adjustments */
@media (max-width: 768px) {
  .filter-panel {
    padding: 16px;
  }
  .filter-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .filter-actions {
    justify-content: center;
  }
}


