/* 登录页 — 与官网同源视觉 */
.auth-page {
  --ink: #07111f;
  --muted: #5a6b7d;
  --accent: #0a6ebd;
  --deep: #053056;
  --teal: #0e8a9a;
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(14, 138, 154, .45), transparent 60%),
    radial-gradient(700px 380px at 10% 85%, rgba(10, 110, 189, .35), transparent 55%),
    linear-gradient(152deg, #031a33 0%, #064a7a 40%, #087a8f 100%);
}
.auth-page::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  pointer-events: none;
}
.auth-page * { box-sizing: border-box; }
.auth-page a { color: inherit; text-decoration: none; }

.auth-card {
  position: relative; z-index: 1;
  width: min(400px, 100%);
  padding: 32px 28px 28px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 28px 64px rgba(0,0,0,.28);
  backdrop-filter: blur(16px);
  animation: authIn .55s ease both;
}
@keyframes authIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.auth-brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.auth-brand .mark {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--teal));
  color: #fff; font-size: 18px; font-weight: 800;
  box-shadow: 0 10px 24px rgba(10, 110, 189, .35);
}
.auth-brand .title {
  font-size: 17px; font-weight: 700; letter-spacing: -.02em;
}
.auth-brand .sub {
  font-size: 12px; color: var(--muted); margin-top: 2px;
}

.auth-card h1 {
  margin: 0 0 6px;
  font-size: 24px; font-weight: 750; letter-spacing: -.03em;
}
.auth-card .hint {
  margin: 0 0 20px;
  font-size: 13px; color: var(--muted);
}

.auth-card label {
  display: block;
  font-size: 13px; font-weight: 600; color: var(--ink);
  margin: 0 0 6px;
}
.auth-card input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid rgba(7, 17, 31, .12);
  background: #f5f8fb;
  font: inherit; font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.auth-card input:focus {
  background: #fff;
  border-color: rgba(10, 110, 189, .45);
  box-shadow: 0 0 0 3px rgba(10, 110, 189, .12);
}

.auth-card button[type="submit"] {
  width: 100%;
  height: 46px;
  margin-top: 6px;
  border: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  color: #fff; font: inherit; font-size: 15px; font-weight: 650;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(10, 110, 189, .28);
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.auth-card button[type="submit"]:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(10, 110, 189, .34);
}
.auth-card button[type="submit"]:disabled {
  opacity: .7; cursor: wait;
}

.auth-foot {
  margin: 18px 0 0;
  text-align: center;
  font-size: 12px; color: var(--muted);
}
.auth-foot a {
  color: var(--accent); font-weight: 600;
}
.auth-foot a:hover { text-decoration: underline; }
