/* Search Results (Available Cabs) – page specific only */

/* Layout around trip summary and list */
.trip-summary {
  position: sticky;
  top: 70px;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  margin: 10px auto 20px;
  padding: 16px 25px;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.trip-info {
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.trip-summary strong {
  color: #4a3aff;
}
.best-deal {
  background: #ffda47;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}
.container {
  max-width: 1250px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
.page-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #4a3aff;
  margin-bottom: 25px;
}
.cab-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cab-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  transition: 0.2s;
}
.cab-card:hover { transform: translateY(-3px); }
.cab-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 340px;
}
.cab-img { width: 110px; height: 72px; border-radius: 10px; overflow: hidden; text-align:center;}
.cab-img img { width: 100%; height: 100%; object-fit: cover; }
.car-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 82px;
}
.car-details .vehicle-name {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
}
.car-details .vehicle-type {
  color: #666;
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.route-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 130px;
  margin-left: 22px;
}
.route-details div {
  font-size: 0.96rem;
  font-weight: 500;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.icon-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: #4a3aff;
  font-weight: 500;
}
.amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4a3aff;
}
.btn-book {
  background: #4a3aff;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.btn-book:hover { background: #372cff; }
.no-result {
  text-align: center;
  padding: 50px 20px;
  color: #555;
}
.breadcrumb {
  max-width: 1200px;
  margin: 20px auto 0;
  font-size: 0.9rem;
  color: #666;
}
.breadcrumb a {
  color: #4a3aff;
  text-decoration: none;
}
.breadcrumb span {
  margin: 0 5px;
}
.booking-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  min-width: 300px;
  max-width: 350px;
  margin-left: auto;
  margin-right: 0;
}
.booking-box h3 {
  background: #4a3aff;
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  margin: 0 0 15px;
  font-size: 1.1rem;
}
.booking-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.booking-box select, .booking-box button {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
}
.search-btn {
  background: #4a3aff;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.search-btn:hover { background: #372cff; }

  @media (max-width: 900px) {
  .trip-summary {
    position: static !important;
    top: auto !important;
    flex-direction: column;
    text-align: center;
    margin: 10px 2vw 20px 2vw;
  }
  .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 2vw !important;
  }
  .cab-list {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0;
  }
  .booking-box {
    width: 100%;
    max-width: 100% !important;
    margin: 20px 0 0 0 !important;
    padding: 18px !important;
    box-sizing: border-box;
  }
  .cab-card {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 10px 17px 10px;
    border-radius: 16px;
    min-width: 0;
    margin-bottom: 0;
    box-sizing: border-box;
  }
  .cab-left {
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 0;
    justify-content: flex-start;
    min-width: 0;
  }
  .cab-img {
    width: 94px;
    height: 56px;
    flex-shrink: 0;
    margin-top: 3px;
  }
  .mobile-card-main {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    margin-left: 0;
    min-width: 0;
  }
  .car-route-mob {
    display: flex;
    flex-direction: column;
    font-size: 1.03rem;
    font-weight: 700;
    margin-bottom: 2px;
    margin-top: 2px;
    line-height: 1.2;
  }
  .car-route-mob span {
    font-weight: 700;
    margin-right: 3px;
    display: inline-block;
  }
  .vehicle-name {
    font-size: 1.13rem;
    font-weight: 700;
    margin: 1px 0 0 0;
    padding: 0;
    line-height: 1.12;
  }
  .vehicle-type {
    color: #888;
    font-size: 1.04rem;
    font-weight: 500;
    margin-bottom: 2px;
    margin-top: 0;
    line-height: 1.09;
  }
  .price-row {
    margin: 0 0 0 0;
    justify-content: flex-end;
    width: 100%;
    align-items: center;
    gap: 13px;
    font-size: 1.13rem;
    padding: 0;
    flex-wrap: nowrap;
  }
  .amount {
    color: #4a3aff;
    font-size: 1.12rem;
    font-weight: 800;
    min-width: 70px;
    letter-spacing: 0.2px;
    text-align: right;
    flex: 1 1 auto;
    margin-left: 0;
    padding-right: 5px;
  }
  .btn-book {
    width: 98%;
    margin: 13px auto 0 auto;
    text-align: center;
    font-size: 1.17rem;
    padding: 13px 0;
    background: #4a3aff;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 10px;
    display: block;
    box-shadow: 0 2px 12px #6e77ee1a;
  }
}

