I want to eliminate the gap between the reference text (such as 'First reference', 'Second reference' in the example below) and the reference super-scripted numbering (such as 1 and 2 in the example below). Please suggest an edit.
\documentclass{article}
\usepackage[super]{natbib}
\renewcommand{\bibsection}{}
\renewcommand{\bibnumfmt}[1]{$^{#1}$}
\begin{document}
Citing here \cite{AB} in the text.
\begin{thebibliography}{100}
\bibitem{AB}
First reference.
\bibitem{CD}
Second reference.
\end{thebibliography}
\end{document}
The output of the code is: