I'm currently trying to customize the radio button using my own CSS styles, but I've encountered an issue. For some reason, setting the z-index to -1 is not working when the radio button is within a modal.
Below is the code snippet that I am working with:
(CSS code here)
(HTML code here)
I seem to be stuck on this problem and am unsure of what I might be overlooking. My goal is to replace the default radio button with a custom style positioned next to the flag icon.
If anyone has alternative solutions or insights, I would greatly appreciate them.