/* =====================================================================
   modules/auth.css — 登录页
   ===================================================================== */

.auth-wrap {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

/* 极淡的环境光晕（桌面更明显，克制） */
.auth-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 42% at 50% -4%, var(--accent-soft), transparent 72%);
}

.auth-topbar {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px 26px;
  box-shadow: var(--shadow-lg);
  animation: auth-in .5s var(--ease) both;
}
@keyframes auth-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* 品牌区 */
.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 26px;
}
.auth-mark {
  width: 48px; height: 48px;
  margin-bottom: 14px;
  color: var(--accent);
}
.auth-title {
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.auth-subtitle {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.auth-form { margin-top: 4px; }
.auth-submit { margin-top: 6px; }

.auth-foot {
  margin-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* 占位首页（临时） */
.placeholder-card { text-align: center; }
.placeholder-card .auth-title { margin-bottom: 8px; }
.placeholder-hint {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.6; margin: 6px 0 22px;
}
.placeholder-user {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}
