/* ==========================================================================
 *  熊猫人才服务平台 · 后台登录页样式
 * ========================================================================== */

.login-body {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(1100px 520px at 12% -8%, #e8f0f9 0%, transparent 62%),
    radial-gradient(900px 480px at 92% 108%, #eaf5ee 0%, transparent 60%),
    #f4f7fb;
}

.lg-wrap { width: 100%; padding: 24px; display: flex; justify-content: center; }

.lg-card {
  width: 100%; max-width: 460px;
  background: #fff; border: 1px solid #e6ebf2; border-radius: 18px;
  box-shadow: 0 4px 10px rgba(27,36,48,.05), 0 28px 60px -24px rgba(27,36,48,.3);
  overflow: hidden;
}

.lg-brand {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 26px; border-bottom: 1px solid #e6ebf2; background: #fbfcfe;
}
.lg-brand b { display: block; font-size: 15.5px; font-weight: 800; }
.lg-brand i { font-style: normal; font-size: 12px; color: #7c8899; }

.lg-body { padding: 30px 26px 26px; min-height: 260px; }

.lg-loading { text-align: center; color: #7c8899; font-size: 14px; padding: 60px 0; }
.lg-loading.err { color: #a63a3a; }

.lg-ok { text-align: center; padding: 40px 0; }
.lg-ico {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px;
  background: #eaf6ee; color: #237a45; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
}
.lg-ok h2 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.lg-ok p { font-size: 13.5px; color: #7c8899; }

.lg-badge {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  background: #fdf1e3; color: #96601a; padding: 4px 11px;
  border-radius: 7px; margin-bottom: 14px;
}
.lg-new h2 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.lg-hint { font-size: 13.5px; color: #45536a; line-height: 1.8; margin-bottom: 20px; }
.lg-hint b { color: #1f4e79; }

/* 6 位密码展示 */
.lg-code {
  display: flex; gap: 8px; justify-content: center; margin: 6px 0 24px;
}
.lg-code span {
  width: 46px; height: 56px; border-radius: 11px;
  background: #f4f7fb; border: 1px solid #dde4ed;
  display: flex; align-items: center; justify-content: center;
  font-size: 25px; font-weight: 800; color: #1f4e79;
  font-variant-numeric: tabular-nums;
}

.lg-form { display: flex; flex-direction: column; gap: 10px; }
.lg-form label { font-size: 12.5px; font-weight: 700; color: #45536a; }
.lg-form .in {
  text-align: center; font-size: 24px; letter-spacing: 8px; font-weight: 800;
  padding: 12px; font-variant-numeric: tabular-nums;
}
.lg-form .btn { margin-top: 4px; padding: 11px; font-size: 14.5px; }
.lg-form .btn:disabled { opacity: .6; cursor: default; }

/* 账号登录/创建：普通文本输入，不用 6 位密码的大字号 */
.lg-form-sm .in {
  text-align: left; font-size: 15px; letter-spacing: 0; font-weight: 500;
  padding: 10px 13px; border-radius: 9px; border: 1px solid #d8e0ea;
  font-family: inherit; background: #fff; color: #1b2430; width: 100%;
}
.lg-form-sm .in:focus {
  outline: none; border-color: #1f4e79;
  box-shadow: 0 0 0 3px rgba(31,78,121,.1);
}
.lg-form-sm label { margin-top: 4px; }
.lg-form-sm label:first-of-type { margin-top: 0; }

/* 密码提示词提示框 */
.lg-hintbox {
  background: #fdf6ea; border: 1px solid #f0dcc0; border-left: 3px solid #d59331;
  border-radius: 8px; padding: 10px 13px; font-size: 13.5px; color: #6b4d18;
  line-height: 1.7; margin-top: 2px;
}
.lg-hintbox b {
  display: block; font-size: 11.5px; color: #96601a; margin-bottom: 3px;
  font-weight: 700; letter-spacing: .3px;
}

/* 这台电脑记住的账号（一键切换） */
.lg-remember {
  display: flex; align-items: center; flex-wrap: wrap; gap: 7px;
  margin: 0 0 18px; padding: 11px 13px;
  background: #f6f9fc; border: 1px solid #e6ebf2; border-radius: 10px;
}
.lg-remember > span {
  font-size: 11.5px; color: #7c8899; font-weight: 700; letter-spacing: .3px;
  margin-right: 2px;
}
.lg-chip {
  font: inherit; cursor: pointer; font-size: 12.5px; font-weight: 600;
  padding: 5px 11px; border-radius: 20px;
  border: 1px solid #d8e0ea; background: #fff; color: #45536a;
  display: inline-flex; align-items: center; gap: 6px;
  transition: .15s;
}
.lg-chip:hover { border-color: #1f4e79; color: #1f4e79; }
.lg-chip.on { background: #1f4e79; border-color: #1f4e79; color: #fff; }
.lg-chip i {
  font-style: normal; font-size: 11px; opacity: .7;
  padding-left: 6px; border-left: 1px solid rgba(127,136,153,.35);
}
.lg-chip.on i { border-left-color: rgba(255,255,255,.35); }

.lg-resend {
  display: block; width: 100%; margin-top: 12px; padding: 9px;
  background: none; border: 1px dashed #cfdae6; border-radius: 9px;
  color: #1f4e79; font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: .15s;
}
.lg-resend:hover { background: #f4f7fb; }
.lg-resend:disabled { opacity: .6; cursor: default; }

.lg-tip {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid #eef1f6;
  font-size: 12.5px; color: #7c8899; line-height: 1.7; text-align: center;
}

.lg-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 26px; border-top: 1px solid #e6ebf2; background: #fbfcfe;
  font-size: 12.5px; color: #7c8899;
}
.lg-foot a { color: #7c8899; font-weight: 600; }
.lg-foot a:hover { color: #1f4e79; }
.lg-foot span { font-size: 11.5px; }
