.Cab-form-box {
  padding: 5px 9px 7px 7px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 1px 0 rgba(50, 50, 50, 0.05);
  min-height: 34px;
  height: auto;
  width: 100%;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .Cab-form-box {
    height: 50px;
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .Cab-form-box {
    width: 100%;
    padding-left: 12px;
  }
}

.search-buttonn {
  width: 100%;
  height: 40px;
}

@media (min-width: 768px) {
  .search-buttonn {
    height: 50px;
  }
}
.card-container {
  padding: 10px 0 50px;
  background-color: white;
  overflow-x: hidden; 
  max-width: 1400px;
    margin: auto;
}

@media (min-width: 768px) {
  .card-container {
    padding-top: 20px;
    overflow-y: auto;
  }
}

.heading-line {
  position: relative;
  padding-bottom: 1rem;
}

.heading-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #e2e8f0;
}

@media (min-width: 768px) {
  .heading-line::after {
    width: calc(100% - 2rem);
    left: 1rem;
  }
}
.cab-box {
    padding: 1px 21px 11px 21px;
    margin-bottom: 24px;
    margin-top: 13px;
    }
    .cab-container {
      /* margin-bottom: 41px; */
      /* border: 1px solid #D9DFC6; */
      flex: 1 1;
      border: 1px solid #d9dfc6;
      height: 93px;
      margin-top: 24px;
    }
    .from-cab-group {
      margin-bottom: 20px;
      flex: 1;
      border: 1px solid #d9dfc6;
      height: 93px;
    }
    .cab-headers {
        font-size: 11px;
        font-weight: bold;
        color: #7a7a7a;
        text-transform: uppercase;
        margin-bottom: 5px;
        padding-left: 12px;
        padding-top: 6px;
      }
      .cab_names{
        font-weight: 500;
        color: black;
      }
      .cab_image{
        height: 142px;

      }
      .Cab_photos_container{
        width: 107%;
      }
.cab_width_adjust{
  width: 52.666667%;
}
.max_height{
  max-height: 450px;
}
.max_height_container{
  min-height: 100px;
  /* height: auto; */
}
.input_width_cab{
  width: 70%
}

/* .bseat {
  width: 20px;
  height: 20px;
  background-color: gray;
  margin: 2px;
  display: inline-block;
}

.nseat {
  width: 20px;
  height: 20px;
  background-color: green;
  margin: 2px;
  display: inline-block;
  cursor: pointer;
} */
.seat-layout-container {
  max-width: 900px;
  margin: 0 auto;
  background: #f9fafb;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

.seat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.legend {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  font-size: 14px;
}

.legend-box {
  width: 24px;
  height: 24px;
  border: 1px solid #ccc;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
}

.available { background: #fff; }
.booked { background: #a0aec0; }
.ladies { background: #fca5a5; }
.selected { background: #6ee7b7; }

.deck {
  margin-bottom: 24px;
}

.deck h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.deck-row {
  display: flex;
  align-items: flex-start;
}

.driver-icon {
  text-align: center;
  margin-right: 12px;
}

.driver-label {
  font-size: 12px;
  margin-top: 2px;
}

.driver-placeholder {
  width: 40px;
  margin-right: 12px;
}

.seat-grid {
  display: grid;
  grid-template-columns: repeat(6, 40px);
  gap: 8px;
}

.seat {
  width: 40px;
  height: 40px;
  border: 1px solid #ccc;
  position: relative;
  cursor: pointer;
  border-radius: 4px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.seat.booked {
  background: #a0aec0;
  cursor: not-allowed;
}

.seat.ladies {
  background: #fca5a5;
}

.seat.selected {
  background: #6ee7b7;
}

.seat-handle {
  position: absolute;
  right: 4px;
  top: 50%;
  height: 14px;
  width: 2px;
  background: black;
  transform: translateY(-50%);
}

.exit-door {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.door {
  width: 24px;
  height: 40px;
  background: #a0aec0;
  border-radius: 4px;
  position: relative;
}

.door::after {
  content: '';
  width: 4px;
  height: 24px;
  background: white;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.summary {
  margin-bottom: 16px;
}

.selected-seats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-size: 14px;
}

.selected-seat {
  display: flex;
  justify-content: space-between;
}

.total {
  text-align: right;
  font-weight: bold;
  font-size: 16px;
  margin-top: 10px;
}

.no-selection {
  font-size: 14px;
  color: #666;
}

.proceed-btn {
  width: 100%;
  padding: 12px;
  background: #2563eb;
  color: white;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.proceed-btn:hover {
  background: #1e40af;
}

.proceed-btn:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}


/* .bus-seat-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.view-seats-btn {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s;
}

.view-seats-btn:hover {
  background-color: #2563eb;
}

.error-message {
  color: #ef4444;
  margin-top: 10px;
  padding: 10px;
  background-color: #fee2e2;
  border-radius: 5px;
}

.seat-layout-modal {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.layout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.layout-header h2 {
  color: #1f2937;
  font-size: 1.5rem;
  margin: 0;
}

.available-count {
  background-color: #10b981;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.seat-legend {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.legend-color.available {
  background-color: #3b82f6;
}

.legend-color.booked {
  background-color: #d1d5db;
}

.legend-color.ladies {
  background-color: #f472b6;
}

.legend-color.selected {
  background-color: #10b981;
}

.bus-layout {
  background-color: #f3f4f6;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  margin-bottom: 20px;
}

.driver-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.driver-cabin {
  width: 80%;
  height: 30px;
  background-color: #374151;
  border-radius: 5px 5px 0 0;
}

.steering-wheel {
  margin-left: 10px;
  font-size: 1.5rem;
}

.seats-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
}

.seat {
  background-color: #3b82f6;
  color: white;
  border-radius: 5px;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.seat:hover {
  transform: scale(1.05);
}

.seat.booked {
  background-color: #d1d5db;
  cursor: not-allowed;
}

.seat.ladies {
  background-color: #f472b6;
}

.seat.selected {
  background-color: #10b981;
}

.seat.upper-deck {
  border-top: 3px solid #1e40af;
}

.seat-number {
  font-weight: 600;
  font-size: 0.9rem;
}

.seat-price {
  font-size: 0.7rem;
  opacity: 0.8;
}

.exit-door {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.door {
  width: 60px;
  height: 80px;
  background-color: #ef4444;
  border-radius: 0 0 5px 5px;
}

.exit-sign {
  margin-top: 5px;
  font-weight: bold;
  color: #ef4444;
}

.selection-summary {
  background-color: #f9fafb;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.selection-summary h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #1f2937;
}

.selected-seats-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 15px;
}

.selected-seat-item {
  background-color: white;
  padding: 8px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.no-selection {
  color: #6b7280;
  font-style: italic;
}

.total-price {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.1rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 10px;
}

.proceed-btn {
  width: 100%;
  background-color: #10b981;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.proceed-btn:hover {
  background-color: #059669;
}

.proceed-btn:disabled {
  background-color: #d1d5db;
  cursor: not-allowed;
}
   */