glad you got it all cleaned up.
Keep those dehumidifiers running non-stop for the next week at minimum. They need to run till you pull zero moisture and you are under 40%.
Fans will help to move the still humid air from the carpet so the dehumidifiers can get it.