/* ================= 登录页 ================= */
html, body { overflow-y: auto; }
body { min-height: 100vh; user-select:text; }

.login-wrap { position: relative; z-index: 2; min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 34px; padding: 40px 18px 70px; }

.login-brand { text-align: center; }
.login-brand .title { font-size: 46px; letter-spacing: 14px; }
.login-brand .subtitle { margin-top: 10px; font-size: 12px; letter-spacing: 8px; }

.login-card { width: min(400px, 100%); padding: 32px 30px 26px; border-radius: 24px;
  background: rgba(10, 26, 42, 0.42); border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation: loginIn .5s cubic-bezier(.2,.8,.3,1); }
@keyframes loginIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

.login-card h1 { font-size: 22px; letter-spacing: 8px; text-align: center; color: #fff; font-weight: 700; }
.login-sub { margin: 10px 0 24px; text-align: center; font-size: 12px; line-height: 1.7; color: rgba(255, 255, 255, 0.6); }

.login-field { display: block; margin-bottom: 16px; }
.login-field span { display: block; margin-bottom: 7px; font-size: 12px; letter-spacing: 2px; color: rgba(255, 255, 255, 0.72); }
.login-field input { width: 100%; padding: 13px 15px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 15px; font-family: inherit; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s; }
.login-field input:focus { border-color: #ffd98a; background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 3px rgba(255, 217, 138, 0.16); }
.login-field input::placeholder { color: rgba(255, 255, 255, 0.35); }

.login-error { min-height: 20px; margin: 4px 0 10px; font-size: 12.5px; line-height: 1.6; color: #ff9b9b; }

.login-btn { width: 100%; padding: 14px; border: 0; border-radius: 13px; cursor: pointer;
  background: linear-gradient(135deg, #ffd98a, #ffb45e); color: #3a2408; font-size: 15px; font-weight: 800;
  letter-spacing: 4px; font-family: inherit; box-shadow: 0 10px 26px rgba(255, 180, 94, 0.3);
  transition: transform .18s, box-shadow .18s, opacity .18s; }
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255, 180, 94, 0.42); }
.login-btn:active { transform: translateY(0); }
.login-btn:disabled { opacity: .65; cursor: default; transform: none; }

.login-hint { margin-top: 20px; text-align: center; font-size: 12px; line-height: 1.8; color: rgba(255, 255, 255, 0.5); }
.login-hint a { color: #ffd98a; text-decoration: none; }
.login-hint a:hover { text-decoration: underline; }
.dot-sep { margin: 0 5px; color: rgba(255, 255, 255, 0.3); }

.login-footer { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 2; text-align: center;
  font-size: 11px; letter-spacing: 3px; color: rgba(255, 255, 255, 0.38); }

@media (max-width: 520px) {
  .login-wrap { gap: 26px; padding-top: 30px; }
  .login-brand .title { font-size: 38px; letter-spacing: 10px; }
  .login-card { padding: 26px 20px 22px; }
  .login-footer { position: static; margin-top: 24px; padding-bottom: 16px; }
}
