/* 隐藏左上角EMQX LOGO和链接 */
.logo,
.logo-link,
a.logo,
.sidebar-logo,
.el-menu .logo,
.aside .logo {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* 隐藏右上角所有外部链接按钮 - 更强力的选择器 */
.header .el-button,
.header-right .el-button,
.topbar .el-button,
.nav-bar .el-button,
header .el-button,
.el-button--text {
    display: none !important;
    visibility: hidden !important;
}

/* 通过href属性隐藏链接 */
a[href*="github.com"],
a[href*="emqx.com"],
a[href*="emqx.io"],
a[href*="cloud"] {
    display: none !important;
    visibility: hidden !important;
}

/* 隐藏右上角按钮组 */
.header-actions,
.header-buttons,
.top-right-buttons,
.external-links,
.header-link {
    display: none !important;
}

/* 通用：尽可能隐藏 header 中的按钮和链接 */
.el-header .el-button,
.top-bar .el-button,
header button[class*="el-button"],
header a[class*="el-button"] {
    display: none !important;
}

/* 保留用户菜单、帮助图标和语言选择器 */
.el-dropdown {
    display: inline-block !important;
    visibility: visible !important;
}
