/* 禁用谷歌翻译的CSS规则 */

/* 全局禁用翻译 */
html, body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 禁用所有元素的翻译 */
* {
    translate: no !important;
}

/* 隐藏谷歌翻译工具栏 */
.goog-te-banner-frame,
.goog-te-gadget,
.goog-te-combo,
.goog-te-menu-frame,
.goog-te-menu2,
.goog-te-balloon-frame,
.goog-te-ftab-frame,
.goog-te-spinner-pos,
.goog-te-ftab {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 隐藏谷歌翻译按钮 */
#google_translate_element,
#goog-gt-tt,
.goog-te-gadget-simple,
.goog-te-gadget-icon,
.goog-te-menu-value,
.goog-te-menu-value span,
.goog-te-menu-value:before,
.goog-te-menu-value:after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* 防止谷歌翻译修改页面样式 */
body {
    top: 0 !important;
    position: relative !important;
}

/* 移除谷歌翻译添加的样式 */
font[style*="background-color"],
font[style*="color"],
span[style*="background-color"],
span[style*="color"] {
    background-color: transparent !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
}

/* 确保页面布局不被翻译工具破坏 */
.notranslate {
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
}

/* 修复底部导航栏团队按钮对齐问题 */
.footer .btn-link-default {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 8px 12px !important;
}

.footer .btn-link-default img {
    display: block !important;
    margin: 0 auto !important;
    vertical-align: middle !important;
}

.footer .btn-link-default i.material-icons {
    font-size: 24px !important;
    line-height: 1 !important;
    display: block !important;
    margin: 0 auto !important;
} 