// Vehicle Search System - Type-to-filter approach // Much more user-friendly than cascading dropdowns class VehicleSearchAutocomplete { constructor(containerId, onSelectionChange = null) { this.container = document.getElementById(containerId); this.onSelectionChange = onSelectionChange; this.selectedVehicle = null; this.isManualMode = false; this.init(); } init() { this.createSearchInterface(); this.bindEvents(); } createSearchInterface() { this.container.innerHTML = `