Rotation with mouse position

I’m trying to make my Camera look at a target, but then add an offset for the mouse location.

For example, if the mouse is to the right of the screen it will rotate the camera to the target and then a bit to the right.

Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
            RaycastHit hit;
            Physics.Raycast(ray, out hit);

            Camera.main.transform.LookAt(target.position + hit.point);

I’ve tried this, however it freaks out and messes up constantly. Any help would be great, thanks!

Bump