Thank you for your reply. Illinois is an employment "at will" state. That means that an employer may terminate an employee for any, or no, reason and with no notice or warning unless in doing so they violate a contract or are motivated by illegal discriminatory intent or bias because of an employee's race, national origin, age (over 40), disability, gender, religion, pregnancy or military service.
That means unless your situation falls within one of the exceptions I mentioned, then despite it being unfair and unprofessional, there wouldn't be any legal basis for recourse. That doesn't mean you can try contacting someone more senior in the Company to see if they will reconsider your situation, it just means there isn't a legal option.
On the other hand, if you do think you fall within the exceptions I mentioned, then you will want to sit down with a local employment law attorney to discuss your case in detail so that they can help you decide what the best action is for you to take based on their evaluation of all of the facts they can gather.
Please feel free to ask for clarification if needed. If none is needed, then if you could take a moment to leave a positive rating in the ratings box on this page of my efforts to explain the law of your issue, then the Site will give me credit for assisting you today. Thank you