.o_navbar_apps_menu .dropdown-toggle {
	padding: 0px 14px !important;
}
	
.o_fusion_app_switcher.dropdown-menu {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-content: flex-start;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    border: none;
    border-radius: 0;
	user-select: none;
    margin-top: 0 !important;
	margin-bottom: 0 !important;
	background: {
        size: cover;
        repeat: no-repeat;
        position: center;
		color: var(--o-fusion-appsmenu-bg-color, #{$o-gray-200});
    }
    scrollbar-color: rgba(255, 255, 255, .4) transparent;

    &::-webkit-scrollbar {
        width: 8px;
    }

    &::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, .4);
        border-radius: 10px;
    }

	@include media-breakpoint-up(lg) {
	    padding: {
	        left: 20vw;
	        right: 20vw;
	    }
	}

	.o_fusion_apps_grid {
		padding-top: 20px;
	}

	.o_app {
		margin-top: 20px;
	    width: percentage(1/3);
		background: none !important;
	    @include media-breakpoint-up(sm) {
	        width: percentage(1/4);
	    }
	    @include media-breakpoint-up(md) {
	        width: percentage(1/6);
	    }
	   	> a {
		    display: flex;
		    align-items: center;
		    flex-direction: column;
			border-radius: 0.375rem;
			padding: 8px;
			transition: background-color 0.15s ease;

	   		.o_fusion_app_icon {
			    width: 100%;
			    padding: 10px;
			    max-width: 70px;
				aspect-ratio: 1;
			    border-radius: 0.375rem;
			    background-color: var(--o-fusion-app-icon-bg, rgba(255, 255, 255, 1));
				object-fit: cover;
			    transform-origin: center bottom;
			    transition: box-shadow ease-in 0.1s, transform ease-in 0.1s;
			    box-shadow: 
					var(--o-fusion-app-icon-inset-shadow, inset 0 0 0 1px rgba(0, 0, 0, 0.2)),
					0 1px 1px rgba(0, 0, 0, 0.02),
					0 2px 2px rgba(0, 0, 0, 0.02),
					0 4px 4px rgba(0, 0, 0, 0.02),
					0 8px 8px rgba(0, 0, 0, 0.02);
			}
			.o_fusion_app_name {
				color: var(--o-fusion-appsmenu-caption-color, #{$o-fusion-color-appsmenu-text});
				text-align: center;
				margin-top: 8px;
				font-size: 0.875rem;
				font-weight: 500;
			}

			&.o_fusion_app_focused {
				background: rgba(255, 255, 255, 0.1);
				outline: 1px solid rgba(255, 255, 255, 0.3);
			}
	   	}
	    &:hover {
			> a .o_fusion_app_icon {
			    box-shadow: 
					var(--o-fusion-app-icon-inset-shadow, inset 0 0 0 1px rgba(0, 0, 0, 0.2)),
					0 2px 2px rgba(0, 0, 0, 0.03),
					0 4px 4px rgba(0, 0, 0, 0.03),
					0 8px 8px rgba(0, 0, 0, 0.03),
					0 12px 12px rgba(0, 0, 0, 0.03),
					0 24px 24px rgba(0, 0, 0, 0.03);
    			transform: translateY(-2px);
			}
	    }
		&:active {
			> a .o_fusion_app_icon {
				transform: translateY(-2px) scale(.98);
				transition: none;
			}
		}
	}

	// Drag-and-drop visual feedback
	.o_dragged_app,
	.o_app.o_dragging {
		transition: transform 0.5s;
		transform: rotate(6deg);
		> a .o_fusion_app_icon {
			box-shadow: 0 8px 15px -10px black;
			transform: translateY(-1px);
		}
	}
}
