Resignation before probation confirmation

Hello sir, I want to discuss my resignation procedure. Please help me on this. I joined my company on 1st april-2022. As per appointment letter, my probation period is 3 months and within probation period, my notice period is 1 month. After confirmation of probation period, my notice period will be 3 months. My probation period was going to complete on 30-jun-2022. I had submitted resignation on 30-jun-2022 after closing of office hours i.e. 8.30PM. after seeing my resignation, HR of company has issued confirmation letter for my probation period at 11.30pm, which is 3 hours after my resignation. My query is : 1) Is my resignation valid/acceptable after closing hours of company as per indian labour laws.? Company has not given me any acceptance on this. 2) does their confirmation letter stands valid as I have received it after my resignation? 3) now, my notice period will be 1 month as I was not confirmed till resignation or it's 3 months? Company is forcing me to serve 3 months. 4) Company has took Disciplinary action against me for entry into office after closing hours. Company is not accepting 'resignation submission' as a valid reason for late entry. Does company has right to take action against me that I have entered into office after closing hours? Please advice me as per indian labour laws Thanks & Regards Vishal Jindal