/* 学员 / 教师·管理员登录入口共用外壳；入口本身不提供角色选择 */
.login-shell { min-height: 100vh; display: flex; }
.login-brand {
  flex: 1 1 46%;
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-700) 62%, var(--brand-500) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 8%;
}
.login-brand .mark-chip {
  width: 78px; height: 78px;
  background: #fff;
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow-2);
  margin-bottom: 22px;
}
.login-brand .mark-chip img { width: 100%; height: 100%; object-fit: contain; display: block; }
.login-brand h1 { font-size: 34px; letter-spacing: 1px; margin-bottom: 10px; }
.login-brand .en { font-size: 13px; letter-spacing: 4px; color: var(--brand-300); text-transform: uppercase; margin-bottom: 26px; }
.login-brand .tagline { font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.9; margin-bottom: 36px; }
.login-brand .alt { font-size: 13px; color: rgba(255,255,255,.55); }
.login-brand .portal-badge {
  display: inline-flex; align-items: center; gap: 7px;
  align-self: flex-start;
  padding: 7px 12px; margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
  font-size: 12px; letter-spacing: .04em;
}
.login-brand .portal-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #8fd6ff; box-shadow: 0 0 0 3px rgba(143,214,255,.15);
}
.login-form-wrap { flex: 1 1 54%; display: flex; align-items: center; justify-content: center; background: var(--bg-1); padding: 40px 24px; }
.login-panel {
  width: 100%; max-width: 400px;
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: 36px 32px;
}
.login-panel h2 { font-size: 20px; color: var(--text-1); margin-bottom: 4px; }
.login-panel .sub { font-size: 12px; color: var(--text-3); margin-bottom: 24px; line-height: 1.7; }
.login-panel .portal-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; margin-bottom: 12px;
  border: 1px solid #d6e6ff; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.login-panel .portal-badge::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: #286aff;
}
.login-panel .entry-note {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line-1, #e8edf5);
  font-size: 12px; line-height: 1.75; color: var(--text-3);
}
.login-panel .entry-note a { color: var(--brand-700, #1d5fa8); font-weight: 700; text-decoration: none; }
.login-panel .entry-note a:hover { text-decoration: underline; }
.login-staff .login-brand {
  background: linear-gradient(160deg, #0b1f3a 0%, #123a63 58%, #1d5fa8 100%);
}
.login-staff .login-brand .tagline { max-width: 30em; }
.login-panel .staff-scope {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 0 0 20px;
}
.login-panel .staff-scope span {
  padding: 8px 10px; border-radius: 8px;
  background: #f4f7fc; color: #4b5f79;
  font-size: 11px; text-align: center; line-height: 1.5;
}
@media (max-width: 768px) {
  .login-shell { flex-direction: column; }
  .login-brand { flex: none; padding: 26px 24px; }
  .login-brand h1 { font-size: 22px; margin-bottom: 4px; }
  .login-brand .tagline { font-size: 13px; margin-bottom: 0; }
  .login-brand .en, .login-brand .alt { display: none; }
  .login-brand .portal-badge { margin-bottom: 12px; }
  .login-form-wrap { padding: 24px 16px; }
  .login-panel { padding: 28px 22px; }
}
