/* ── Booking page ─────────────────────────────────────────────────────────── */

/* Vehicle picker — hide the actual Django select widget */
.vehicle-hidden-select { display: none; }

/* Horizontal scroll strip */
.vehicle-scroll-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}

/* Individual vehicle card */
.vehicle-opt {
  flex-shrink: 0;
  width: 130px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.1);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.vehicle-opt:hover { border-color: rgba(201,168,76,0.5); }
.vehicle-opt:hover .vehicle-opt-img img { transform: scale(1.05); }
.vehicle-opt.selected { border-color: #C9A84C; box-shadow: 0 0 0 2px rgba(201,168,76,0.25); }
.vehicle-opt.selected .vehicle-opt-info { background: rgba(201,168,76,0.08); }

/* Image area */
.vehicle-opt-img {
  height: 80px;
  overflow: hidden;
  background: #1a1a1a;
}
.vehicle-opt-img img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

/* No-image placeholder */
.vehicle-opt-placeholder {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201,168,76,0.2);
  font-size: 1.5rem;
}

/* Info text */
.vehicle-opt-info {
  padding: 6px 8px;
  background: #1e1e1e;
  transition: background 0.2s;
}
.vehicle-opt-name {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vehicle-opt-cat {
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Clear button */
#clear-vehicle {
  display: none;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
#clear-vehicle i { margin-right: 4px; }
