/* 5ke Tools 登录页 */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #2f5bff;
  --primary-hover: #1e49e0;
  --ink: #111a2e;
  --muted: #6d7689;
  --dim: #9aa4b5;
  --line: #e3e7ef;
  --bg: #eef1f6;
  --card: #ffffff;
  --lime: #c9f45d;
}
html, body { min-height: 100%; }
body {
  font-family: "Inter", "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  background-image: radial-gradient(#d7dde8 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; width: 620px; height: 620px; border-radius: 50%;
  right: -180px; top: -220px; z-index: 0;
  background: radial-gradient(circle, rgba(201,244,93,.55), rgba(201,244,93,0) 68%);
  pointer-events: none;
}
body::after {
  content: ""; position: fixed; width: 480px; height: 480px; border-radius: 50%;
  left: -180px; bottom: -240px; z-index: 0;
  background: radial-gradient(circle, rgba(47,91,255,.12), rgba(47,91,255,0) 68%);
  pointer-events: none;
}
.login-shell {
  position: relative; z-index: 1;
  width: 100%; max-width: 1120px;
  display: grid; grid-template-columns: minmax(0,1fr) 420px;
  gap: 56px; align-items: center;
}
.login-brand { padding-left: 8px; }
.brand-line { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.7px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-size: 13px;
  box-shadow: 0 7px 18px rgba(47,91,255,.32);
}
.brand-line small {
  font-size: 8px; letter-spacing: 1.4px; color: var(--muted);
  border: 1px solid var(--line); padding: 3px 6px; border-radius: 4px;
}
.login-eyebrow {
  margin-top: 42px; width: fit-content; display: flex; align-items: center; gap: 7px;
  font-size: 8px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: #4d5a3a; background: rgba(201,244,93,.55); padding: 5px 9px; border-radius: 7px;
}
.login-eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: #4d7c0f; }
.login-brand h1 { margin-top: 18px; font-size: 50px; line-height: 1.05; letter-spacing: -2.4px; font-weight: 760; }
.login-brand h1 em { font-style: normal; position: relative; display: inline-block; z-index: 1; }
.login-brand h1 em::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 3px; height: 12px; background: var(--lime); z-index: -1; border-radius: 2px; }
.login-brand > p { margin-top: 14px; max-width: 470px; font-size: 12px; line-height: 1.75; color: #6b6a5c; }
.tool-chips { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 26px; max-width: 470px; }
.tool-chip {
  height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 11px;
  background: rgba(255,255,255,.64); border: 1px solid var(--line); border-radius: 10px;
  font-size: 9px; color: #5d6780; backdrop-filter: blur(6px);
}
.tool-chip i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-size: 10px; flex-shrink: 0; }
.tool-chip .blue { background: #e7edff; color: #2f5bff; }
.tool-chip .lime { background: #eefbd0; color: #4d7c0f; }
.tool-chip .coral { background: #ffe9e4; color: #d94b38; }
.tool-chip .violet { background: #f0eaff; color: #7c3aed; }
.tool-chip .teal { background: #dff7fb; color: #0e7490; }
.tool-chip .amber { background: #fff2d8; color: #b45309; }
.login-secure { margin-top: 24px; display: flex; align-items: center; gap: 7px; font-size: 9px; color: var(--dim); }
.login-secure span { width: 5px; height: 5px; border-radius: 50%; background: #84cc16; }
.login-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 28px 70px rgba(28,42,70,.13); padding: 30px 30px 24px;
  position: relative;
}
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-badge { font-size: 8px; font-weight: 800; letter-spacing: .8px; color: var(--primary); background: #e7edff; padding: 4px 7px; border-radius: 5px; }
.card-url { font-size: 8px; color: var(--dim); }
.login-card h2 { margin-top: 26px; font-size: 24px; letter-spacing: -.7px; font-weight: 760; }
.login-card .sub { margin-top: 5px; font-size: 10px; color: var(--muted); }
.auth-form { margin-top: 22px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 9.5px; font-weight: 600; letter-spacing: .3px; color: var(--muted); }
.form-input {
  width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px;
  background: #fbfcfe; color: var(--ink); font-family: inherit; font-size: 12px; outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.form-input::placeholder { color: #b4bccb; }
.form-input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(47,91,255,.1); }
.form-error { min-height: 16px; margin: 1px 0 8px; font-size: 9.5px; color: #dc2626; line-height: 1.4; }
.btn-login {
  width: 100%; height: 42px; border: 0; border-radius: 9px; background: var(--primary); color: #fff;
  font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 24px rgba(47,91,255,.22); transition: background .15s, transform .15s;
}
.btn-login:hover { background: var(--primary-hover); }
.btn-login:active { transform: translateY(1px); }
.btn-login:disabled { opacity: .6; cursor: not-allowed; }
.login-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid #eef1f6; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 8px; color: var(--dim); }
.login-foot b { color: var(--muted); font-weight: 500; }
.login-page-foot { position: fixed; left: 24px; bottom: 18px; z-index: 1; font-size: 8px; color: var(--dim); }
.login-page-foot b { color: var(--muted); font-weight: 500; }

@media (max-width: 1000px) {
  .login-shell { grid-template-columns: 1fr; gap: 26px; max-width: 520px; }
  .login-brand { padding-left: 4px; }
  .login-brand h1 { font-size: 37px; }
  .login-eyebrow { margin-top: 22px; }
  .tool-chips { max-width: none; margin-top: 18px; }
  .login-secure { margin-top: 16px; }
  .login-page-foot { position: static; margin-top: 22px; text-align: center; }
  body { align-items: flex-start; }
}
@media (max-width: 560px) {
  body { padding: 18px 12px; }
  .login-brand h1 { font-size: 31px; letter-spacing: -1.4px; }
  .login-brand > p { font-size: 11px; }
  .tool-chips { grid-template-columns: 1fr 1fr; }
  .tool-chip { height: 38px; font-size: 8.5px; }
  .login-card { padding: 24px 20px 20px; border-radius: 20px; }
  .login-card h2 { margin-top: 20px; }
  .login-page-foot { display: none; }
}
