/* ── SPD Vehicle Search Form ───────────────────────────────── */

.spd-search-form {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.spd-search-grid {
    display: grid;
    gap: 16px;
}
.spd-search-cols-2 { grid-template-columns: repeat(2, 1fr); }
.spd-search-cols-3 { grid-template-columns: repeat(3, 1fr); }
.spd-search-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .spd-search-cols-3,
    .spd-search-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .spd-search-grid { grid-template-columns: 1fr !important; }
}

.spd-search-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.spd-search-field select,
.spd-search-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    color: #111827;
    appearance: auto;
    box-sizing: border-box;
}

.spd-search-field select:focus,
.spd-search-field input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

/* Range inputs */
.spd-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}
.spd-range-inputs input,
.spd-range-inputs select {
    flex: 1;
    min-width: 0;
}
.spd-range-sep {
    color: #9ca3af;
    font-size: 13px;
    flex-shrink: 0;
}

/* Actions row */
.spd-search-divider {
    border-top: 1px solid #e5e7eb;
    margin: 20px 0;
}

.spd-search-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spd-search-submit {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.spd-search-submit:hover {
    background: #1d4ed8;
}

.spd-search-reset {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
}
.spd-search-reset:hover {
    color: #2563eb;
}

/* Remove number input spinners for cleaner look */
.spd-search-field input[type="number"]::-webkit-outer-spin-button,
.spd-search-field input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.spd-search-field input[type="number"] {
    -moz-appearance: textfield;
}
