:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface2: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-dim: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --radius: 12px;
}

.login-page {
  max-width: 440px;
  margin: 60px auto 80px;
  padding: 0 20px;
}

.login-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.login-card h1 {
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 8px;
}

.login-card .subtitle {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 32px;
  font-size: 0.9em;
}

.beta-notice {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 0.85em;
  color: #92400e;
  line-height: 1.5;
}

.beta-notice strong {
  color: #78350f;
}

.beta-notice a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.beta-notice a:hover {
  text-decoration: underline;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form label {
  display: block;
  font-size: 0.85em;
  font-weight: 600;
  margin-bottom: 6px;
}

.login-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95em;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.btn-login {
  width: 100%;
  padding: 14px;
  font-size: 1.05em;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 8px;
}

.btn-login:hover {
  background: var(--primary-dark);
}

.btn-login:active {
  transform: scale(0.98);
}

.login-divider {
  text-align: center;
  margin: 28px 0 20px;
  color: var(--text-dim);
  font-size: 0.85em;
  position: relative;
}

.login-divider::before,
.login-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: var(--border);
}

.login-divider::before {
  left: 0;
}

.login-divider::after {
  right: 0;
}

.btn-block {
  width: 100%;
  text-align: center;
  padding: 12px;
  display: inline-block;
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.88em;
  color: var(--text-dim);
}

.login-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.login-footer a:hover {
  text-decoration: underline;
}

/* ============================================================
   V3 AI 高科技视觉层（2026-08-18 星途重塑 · 登录页）
   ============================================================ */
.login-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.10), 0 2px 10px rgba(124, 58, 237, 0.06);
  animation: cardFadeUp 0.45s ease both;
}
@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
