Libreoffice GTK3 dropdown shaddows missing Gnome 49 Wayland

Hey guys, this is my first time on this forum. Im using RHEL 10.2 Gnome 49 Wayland with adw gtk3 and im encountering this weird bug where libreoffice scrollviews in dropdowns dont have shaddows and its hard to tell them appart from the rest of the UI. If I run libreoffice with GTK_BACKEND=x11, the problem seems to somehow go away, as I get UI Shaddows and native titlebars but then another problem arrives as modal dialogs dont initially get initialized as focused when in xwayland. I both tried launching libreoffice with various backends like gen which was horrible retro like, I tried gtk4 which was broken and im kinda stuck with gtk3 with no choice. Can somebody help me?

Note: I tried adding UI shaddows manually by using gtk3 config but had no effect whats so ever

/* Target the GtkOverlay inside the combobox popup */
window.gtk-combobox-popup-window overlay,
window.popup overlay,
overlay {
    /* Apply a distinct drop shadow directly to the overlay box */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
    
    /* CRITICAL: Push the overlay inward away from the window borders */
    /* This creates the invisible canvas space needed for the shadow blur */
    margin: 12px;
    
    /* Give the dropdown clean, modern rounded corners */
    border-radius: 6px;
}

/* Force the parent popup window wrapper to be completely transparent */
/* This ensures the 12px margin gap shows the background desktop/app instead of a solid color block */
window.gtk-combobox-popup-window,
window.popup,
window {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
@import 'colors.css';

Hey and welcome to the forum. Can you disable your theme? To see if it’s the one causing it

@tragivictoria Hey I did try using the built in adwaita but it still had no effect. I need to note in qt6 breeze it showed shadows just fine