Adding the following to custom footer along with some CSS should look nice:
<script>
// Ensure execution after the DOM is fully loaded
document.addEventListener('DOMContentLoaded', () => {
const button = document.querySelector('.Dropdown-toggle');
</script>
Edited: Please see the updated code below.