/* auth-modal.css — 登录/注册/重置密码 弹窗统一样式
   ============================================================
   单一来源: login.html(/wq/status 登录窗) 的设计语言
   引用方:
     - /wq/        (go-wq/templates/index.html)
     - /           (uqn-home/home.html)
     - /wq/status  (go-wq/templates/login.html 独立页 + status.html 重置密码窗)

   ⚠️ 四处共用本文件, 改样式只改这里, 避免再次出现"三处各写一套导致尺寸漂移"
   ──────────────────────────────────────────────────────────── */

/* ── 遮罩(弹窗模式) ── */
.auth-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(0, 0, 0, .6);
  align-items: center; justify-content: center;
  padding: 20px;
}

/* ── 卡片 (与 login.html 独立页 .box 完全一致) ── */
.auth-box {
  background: #16213e;
  border: 1px solid #2a2a4a;
  border-radius: 14px;
  padding: 32px 28px;
  max-width: 340px; width: 100%;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  box-sizing: border-box;
}

/* 印章 */
.auth-seal {
  width: 52px; height: 52px; border-radius: 50%;
  margin: 0 auto 14px;
  background: #1a2340; border: 1px solid #d4a574;
  display: flex; align-items: center; justify-content: center;
  color: #d4a574; font-size: 28px;
}

/* 标题 */
.auth-title {
  font-size: 19px; color: #d4a574; letter-spacing: 3px; font-weight: 600;
  margin: 0 0 22px;
}

/* 副标题/说明 */
.auth-tip {
  color: #8a7a6a; font-size: 12px;
  margin: 8px 0 22px; line-height: 1.7;
}

/* 表单 */
.auth-box label {
  display: block; text-align: left;
  color: #8a7a6a; font-size: 12px; margin-bottom: 4px;
}
.auth-box input {
  width: 100%; box-sizing: border-box;
  padding: 11px; border-radius: 6px;
  border: 1px solid #444; background: #121a33;
  color: #e0d5c1; font-size: 16px;
  margin-bottom: 14px; font-family: inherit;
}
.auth-box input:focus { outline: none; border-color: #d4a574; }

/* 主按钮 */
.auth-btn {
  width: 100%; padding: 12px; border-radius: 8px; border: none;
  cursor: pointer; background: #d4a574; color: #1a1a2e;
  font-size: 16px; font-weight: 700; font-family: inherit;
}
.auth-btn:hover:not(:disabled) { background: #c4925a; }
.auth-btn:disabled { opacity: .6; cursor: not-allowed; }

/* 次按钮(注册账号/去登录 切换) */
.auth-btn-toggle {
  background: #2a2a4a; color: #d4a574;
  margin-top: 10px; font-weight: 500; font-size: 14px;
}
.auth-btn-toggle:hover:not(:disabled) { background: #3a3a5a; }

/* 提示信息 */
.auth-msg {
  color: #e74c3c; font-size: 12px;
  margin-top: 12px; min-height: 16px;
}
.auth-msg.ok { color: #27ae60; }

/* 取消(文字链) */
.auth-cancel {
  display: inline-block; margin-top: 18px;
  background: none; border: none; padding: 0;
  color: #8a7a6a; font-size: 12px; font-family: inherit;
  text-decoration: none; cursor: pointer;
  border-bottom: 1px dotted #2a2a4a;
}
.auth-cancel:hover { color: #d4a574; }
