Replaces the old whiptail menu loop in advanced_settings with a state-machine, wizard-style configuration supporting forward and backward navigation. Each step is now modular, input validation is improved, and a summary confirmation is shown before applying settings. This enhances user experience and maintainability for container configuration.