/* ===== VEHICLE SEARCH FORM STYLE ===== */

.vehicle-search-form {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    max-width: 1280px;
    margin: 30px auto;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

.vs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.vehicle-search-form select,
.vehicle-search-form input[type="text"],
.vehicle-search-form input[type="number"] {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f9f9f9;
    transition: border-color 0.2s ease-in-out;
}

.vehicle-search-form select:focus,
.vehicle-search-form input:focus {
    border-color: #0073aa;
    background: #fff;
    outline: none;
}

/* Range Slider Label Section */
.range-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.range-wrapper label {
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin-bottom: 4px;
}

/* noUiSlider overrides */
.noUi-target {
    margin-top: 5px;
    background: #eee;
    border-radius: 5px;
    height: 8px;
}

.noUi-connect {
    background: #0073aa;
}

.noUi-horizontal .noUi-handle {
    background: #ffffff;
    border: 2px solid #0073aa;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    top: -6px;
    cursor: grab;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* Search Button */
.vs-button-wrap {
    grid-column: span 2;
    text-align: center;
    margin-top: 20px;
}

.vehicle-search-form button {
    padding: 14px 32px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.vehicle-search-form button:hover {
    background-color: #005580;
}

/* Optional: dropdown icon styling (if you add icon later) */
select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px 14px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .vs-button-wrap {
        grid-column: span 1;
    }
}
