Created by: KrugarValdes
- Added isTimeInPast check in onDateTimeChanged and updateEventDetails to compare the selected event time (newDate) against the current time (getCurrentTime()).
- Updated the state to include isTimeInPastError to indicate if the selected time is in the past.
- Added a SnackbarHostState to manage snackbar notifications.
- Used LaunchedEffect to display a snackbar with the is_time_in_past_error message when isTimeInPastError is true.