/* 赛那云数据资产管理平台 - 自定义样式 */

/* 隐藏帮助按钮和GitHub提示 */
[data-testid="help-dropdown"],
.help-dropdown,
.ant-dropdown-trigger[title*="帮助"],
.ant-dropdown-trigger[title*="Help"],
button[aria-label*="help"],
button[aria-label*="Help"],
.help-icon,
.question-circle,
.ant-btn-circle[title="帮助"],
.ant-btn-circle[title="Help"],
.anticon-question-circle,
.help-center-button {
  display: none !important;
}

/* 隐藏GitHub相关提示 */
[href*="github.com"],
[data-testid*="github"],
.github-link,
.github-banner,
.github-notification,
[class*="github"] {
  display: none !important;
}

/* 隐藏版本更新提示和通知 */
.version-notification,
.update-notification,
.new-version-banner,
[data-testid="version-banner"],
[data-testid="update-banner"],
.ant-notification[class*="version"],
.ant-notification[class*="update"],
.version-alert,
.update-alert,
.ant-notification-notice,
.ant-notification,
[class*="notification"],
[class*="version-"],
[class*="update-"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* 隐藏指南链接 */
[href*="guide"],
[href*="tutorial"],
[href*="documentation"],
[class*="guide-link"],
[class*="tutorial-link"],
[data-testid*="guide"],
[data-testid*="tutorial"],
.guide-button,
.tutorial-button {
  display: none !important;
}

/* 欢迎文字样式 */
.welcome-text {
  text-align: center !important;
  line-height: 1.4 !important;
  white-space: pre-line !important;
}

/* 登录页面欢迎文字居中 */
[class*="welcome"] h1,
[class*="welcome"] h2,
[class*="welcome"] h3,
.login-welcome,
.welcome-message {
  text-align: center !important;
  line-height: 1.4 !important;
  white-space: pre-line !important;
}

/* 优化中文字体显示 */
body, .ant-typography {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* 隐藏外部链接 */
[href*="open-metadata.org"],
[href*="docs.open-metadata.org"],
[href*="slack.open-metadata.org"] {
  display: none !important;
}
