/* 登录页覆盖样式 - 参考 wenlv 登录界面，统一蓝色调 */
.login-layout {
  --custom-bg-top: #1a1a2e;
  --custom-bg-mid: #16213e;
  --custom-bg-bottom: #0f3460;
  background: linear-gradient(225deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
}
.login-layout:before {
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,.06) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255,255,255,.04) 0%, transparent 50%) !important;
}

/* 隐藏 WeKnora 品牌 logo 与官网/GitHub 链接 */
a.header-logo,
div.header-links > a.header-link {
  display: none !important;
}

/* 左侧展示区：不设独立背景，统一透出 login-layout 的渐变，避免左右色差 */
.showcase-section {
  background: transparent !important;
}
.showcase-content {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* 自定义品牌区 */
.custom-brand {
  max-width: 440px;
}
.custom-brand-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #fff;
}
.custom-brand-sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.78;
  letter-spacing: -0.01em;
  color: #fff;
}
.custom-brand-footer {
  margin-top: 48px;
  font-size: 12px;
  opacity: 0.5;
  letter-spacing: 0;
  color: #fff;
}
.custom-brand-footer a {
  color: #7fb2ff;
  opacity: 1;
  text-decoration: none;
  margin-left: 4px;
}
.custom-brand-footer a:hover {
  text-decoration: underline;
  color: #a8cbff;
}

/* 隐藏原有的 WeKnora 副标题/描述/标签/轮播 */
.showcase-subtitle,
.showcase-description,
.feature-tags,
.carousel-container {
  display: none !important;
}

/* 飞书登录按钮：白底蓝 logo + 蓝字 + 浅蓝描边 */
.oidc-button.custom-feishu-btn {
  background: #fff !important;
  color: #3370ff !important;
  border: 1px solid rgba(51, 112, 255, 0.4) !important;
  height: 46px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
}
.oidc-button.custom-feishu-btn:hover {
  background: #f0f5ff !important;
  border-color: #3370ff !important;
}
.custom-feishu-logo {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  vertical-align: -3px;
}

/* 个人资料页「飞书账号绑定」区块 */
.custom-feishu-bind-row .setting-info .desc {
  margin-bottom: 2px;
  line-height: 1.6;
}
.custom-feishu-bind-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.custom-feishu-bind-title svg {
  flex-shrink: 0;
}
.custom-feishu-bind-title label {
  font-size: 15px;
  font-weight: 600;
  color: var(--td-text-color-primary, #303133);
  margin: 0;
}
.custom-feishu-bind-email {
  font-size: 13px;
  color: var(--td-text-color-secondary, #646a73);
}
.custom-feishu-bind-badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 20px;
  color: #3370ff;
  background: rgba(51, 112, 255, 0.08);
  border: 1px solid rgba(51, 112, 255, 0.25);
  border-radius: 999px;
  white-space: nowrap;
}
