/*
 * The profile menu's hover, the sidebar's in a white menu (LXP-2740): one pill slides to the row under the pointer and
 * the icon grows a touch (assets/ux2/shell-next.css has the sidebar's; appjs/common/ux2/menuGlide.js moves this pill).
 * Without the script, on slower computers, the row under the pointer turns pale as before. The icon's Chase is icons.css.
 */
#kt_header_user_menu_toggle .menu-sub-dropdown.has-glide .menu-link {
    position: relative;
    z-index: 1;
    background-color: transparent !important;
    border-radius: 999px;
}

.ux2-menu-glide {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    display: block;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--sko-primary, #1e5f69) 11%, #fff) 0%, color-mix(in srgb, var(--sko-primary, #1e5f69) 6%, #fff) 100%);
    border-radius: 999px;
    transition: opacity .15s ease;
}

.ux2-menu-glide.is-moving {
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), width .3s cubic-bezier(.2, .8, .2, 1), height .3s cubic-bezier(.2, .8, .2, 1), opacity .15s ease;
}

/* Sign Out keeps its red */
.ux2-menu-glide.is-exit {
    background: linear-gradient(180deg, #fdecec 0%, #fef5f5 100%);
}

html.ux2-icon-grow #kt_header_user_menu_toggle .menu-sub-dropdown .menu-link .menu-icon svg {
    display: inline-block;
    transition: color .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1);
}

html.ux2-icon-grow #kt_header_user_menu_toggle .menu-sub-dropdown .menu-link:hover .menu-icon svg {
    transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
    html.ux2-icon-grow #kt_header_user_menu_toggle .menu-sub-dropdown .menu-link .menu-icon svg {
        transform: none !important;
    }
}

html.ux2-calm.ux2-icon-grow #kt_header_user_menu_toggle .menu-sub-dropdown .menu-link .menu-icon svg {
    transform: none !important;
}
