There is no convention in using z-index in our codebase. To research and implement a mini framework for z-index usage. It's possible to extend tailwind utilities as well for this case.
ref: https://www.smashingmagazine.com/2021/02/css-z-index-large-projects/