/* AGGRESSIVE DROPDOWN PREVENTION CSS */

/* Hide all dropdown menus completely */
.dropdown-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

/* Prevent dropdown menu from showing */
.dropdown-menu.show {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Remove dropdown toggle styles */
.dropdown-toggle::after {
    display: none !important;
}

/* Prevent any dropdown from appearing at bottom of screen */
body .dropdown-menu,
html .dropdown-menu,
* .dropdown-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Force hide Bootstrap dropdowns */
[data-bs-toggle="dropdown"] + .dropdown-menu,
.dropdown .dropdown-menu,
.btn-group .dropdown-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Override any Bootstrap dropdown positioning */
.dropdown-menu[style*="position"],
.dropdown-menu[style*="top"],
.dropdown-menu[style*="left"],
.dropdown-menu[style*="right"],
.dropdown-menu[style*="bottom"] {
    display: none !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    visibility: hidden !important;
    opacity: 0 !important;
}