/* =========================
   CAB BOOKING PAGE
========================= */

body {
  background: #f6efe9;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: linear-gradient(180deg, #f6efe9 0%, #f1e6dd 100%);
}

/* Center Full Page */
.cab-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;  /* upar se thoda neeche */
  padding: 120px 20px 80px;
}


/* Card */
.cab-card {
  width: 100%;
  max-width: 1100px;   /* thoda wide but controlled */
  margin: 0 auto;
  background: #ffffff;
  padding: 60px;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

/* Watermark Logo */
.cab-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 450px;
  height: 450px;
  background: url("../assets/logo.png") center/contain no-repeat;
  opacity: 0.04;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Title */
.cab-title {
  text-align: center;
  font-size: 36px;
  color: #5e2b1f;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

/* Toggle Buttons */
.cab-toggle,
.trip-toggle {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 35px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cab-toggle input,
.trip-toggle input {
  display: none;
}

.cab-toggle label,
.trip-toggle label {
  padding: 12px 30px;
  border-radius: 50px;
  border: 2px solid #d8c8bc;
  background: #faf4ef;
  font-weight: 600;
  cursor: pointer;
  color: #5e2b1f;
  transition: 0.3s ease;
}

.cab-toggle input:checked + label,
.trip-toggle input:checked + label {
  background: #5e2b1f;
  color: #fff;
  border-color: #5e2b1f;
}

/* Form Row */
.cab-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-bottom: 35px;
}
.cab-row.full {
  grid-template-columns: repeat(3, 1fr);
}

.cab-row input,
.cab-row select {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* Submit */
.cab-submit {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: none;
  background: #5e2b1f;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  z-index: 2;
}

.cab-submit:hover {
  background: #7a3b26;
}

/* add pickup time */
.input-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.input-group label {
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 600;
  color: #5e2b1f;
}

.pickup-label {
  text-align: center;
  display: block;
  margin-bottom: 8px;
}

.startdate-label {
  text-align: center;
  display: block;
  margin-bottom: 8px;
}

.enddate-label {
  text-align: center;
  display: block;
  margin-bottom: 8px;
}


/* add stop gap */
.add-stop-btn {
  margin: 25px 0;   /* upar neeche dono gap */
}

#carType {
  margin-bottom: 25px;
}



@media (max-width: 992px) {

  .cab-card {
    padding: 30px;
  }

  .cab-row {
    grid-template-columns: 1fr;
  }

}

