/* Dynotech Vehicle Tree – Frontend Dropdown */

.dvt-filter-wrapper {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 0 0 30px;
    max-width: 900px;
}

.dvt-title {
    margin: 0 0 16px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
}

.dvt-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
}

.dvt-field {
    flex: 1 1 200px;
    min-width: 180px;
}

.dvt-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #444;
}

.dvt-select {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: #222;
    appearance: auto;
    cursor: pointer;
    transition: border-color 0.2s;
}

.dvt-select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}

.dvt-select:disabled {
    background: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

.dvt-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dvt-btn {
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.dvt-btn-primary {
    background: #0073aa;
    color: #fff;
}

.dvt-btn-primary:hover:not(:disabled) {
    background: #005f8a;
}

.dvt-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dvt-btn-secondary {
    background: #e8e8e8;
    color: #333;
}

.dvt-btn-secondary:hover {
    background: #d5d5d5;
}

/* Responsive */
@media (max-width: 600px) {
    .dvt-selects {
        flex-direction: column;
    }
    .dvt-field {
        min-width: 100%;
    }
}
