/* 中国中医科学院中国医史文献研究所 —— 登录页品牌皮肤 v1
   所有规则都限定在 .login-layout 内，不影响登录后的应用界面。 */

.login-layout {
  background:
    radial-gradient(1100px 600px at 12% 8%, rgba(176, 141, 87, 0.16), transparent 62%),
    radial-gradient(900px 520px at 88% 92%, rgba(20, 110, 118, 0.40), transparent 62%),
    linear-gradient(158deg, #0b3b40 0%, #072a2e 48%, #04191c 100%) !important;
  padding: 0 !important;
  flex-direction: row !important;
  align-items: center !important;
  min-height: 100vh !important;
}
.login-layout:before { display: none !important; }
.login-layout::after {
  content: "医史为脉 · 文献为证";
  position: fixed;
  top: 38px;
  left: 52px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  letter-spacing: 0.22em;
  font-family: "Songti SC", "Noto Serif SC", "SimSun", serif;
  pointer-events: none;
  z-index: 3;
}

.login-layout .animated-bg,
.login-layout .showcase-section,
.login-layout .header-logo,
.login-layout .header-links,
.login-layout .login-features,
.login-layout .register-cta { display: none !important; }

.login-layout .form-section {
  flex: 1 1 100% !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 48px 20px !important;
}
.login-layout .form-panel { max-width: 420px !important; margin: 0 !important; }

.login-layout .form-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 34px 36px 28px !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

.login-layout .form-header { margin-bottom: 26px !important; }
.login-layout .form-header::before {
  content: "";
  display: block;
  width: 100%;
  height: 60px;
  margin: 0 auto 20px;
  background: url("/brand/logo.jpg") center / contain no-repeat;
}
.login-layout .form-title { font-size: 0 !important; line-height: 1.2 !important; margin: 0 0 8px !important; }
.login-layout .form-title::after {
  content: "医史文献知识库";
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0d3f45;
  font-family: "Songti SC", "Noto Serif SC", "SimSun", serif;
}
.login-layout .form-welcome { font-size: 0 !important; }
.login-layout .form-welcome::after {
  content: "中国中医科学院中国医史文献研究所";
  font-size: 13px;
  color: #7b8482;
  letter-spacing: 0.04em;
}

.login-layout .t-button.t-button--theme-primary,
.login-layout .t-button--theme-primary.t-button--variant-base {
  background-color: #0d4f56 !important;
  border-color: #0d4f56 !important;
}
.login-layout .t-button.t-button--theme-primary:hover {
  background-color: #12626b !important;
  border-color: #12626b !important;
}
.login-layout .t-input:focus-within { box-shadow: 0 0 0 2px rgba(13, 79, 86, 0.15) !important; }

.login-layout .form-card::after {
  content: "仅限研究所内部人员使用";
  display: block;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid #edf0ef;
  text-align: center;
  font-size: 12px;
  color: #9aa3a1;
  letter-spacing: 0.02em;
}
