/* ============================================================
 * 悦点进销存 Web 版 · 个人信息（2026-11-08）
 * ------------------------------------------------------------
 * 只作用于 .prof-page 作用域；按钮/表单/徽章等基类来自 components.css
 * 布局：概览卡（整行）+ 双列（左：基本资料 / 登录手机号，右：实名信息 / 账号信息）
 * ============================================================ */
.prof-page { max-width: 1080px; }

/* ---- 概览卡 ---- */
.prof-hero { display: flex; align-items: center; gap: 16px; padding: 20px 22px; margin-bottom: 14px; }
.prof-avatar {
  flex: none; width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 600; color: #fff; letter-spacing: 1px;
  background: linear-gradient(135deg, #1677ff, #4c9aff);
  box-shadow: 0 6px 14px rgba(22, 119, 255, .22);
}
.prof-hero-main { min-width: 0; }
.prof-hero-name { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; color: var(--t1); }
.prof-hero-sub { margin-top: 5px; font-size: 12.5px; color: var(--t3); }

/* ---- 双列 ---- */
.prof-cols { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.prof-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 1000px) { .prof-cols { grid-template-columns: 1fr; } }

/* ---- 卡片 ---- */
.prof-card { padding: 18px 20px 16px; }
.prof-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.prof-card-head h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--t1); }
.prof-card-tip { font-size: 12px; color: var(--t3); }
.prof-card .field { margin-bottom: 13px; }

/* ---- 行内输入 + 按钮 ---- */
.prof-inline { display: flex; gap: 8px; align-items: center; }
.prof-inline input { flex: 1; min-width: 0; }
.prof-inline .btn { flex: none; height: 42px; line-height: 40px; padding: 0 14px; white-space: nowrap; }
.prof-readonly { background: #f7f8fa !important; color: var(--t2) !important; cursor: default; }
.prof-captcha {
  flex: none; width: 112px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: #f7f8fa; cursor: pointer; object-fit: contain;
}
.prof-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }

/* ---- 只读键值行 ---- */
.prof-kv {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px dashed var(--line-soft); font-size: 13.5px;
}
.prof-kv:last-child { border-bottom: 0; }
.prof-kv .k { flex: none; color: var(--t3); }
.prof-kv .v { color: var(--t1); text-align: right; word-break: break-all; }

/* ---- 实名说明 ---- */
.prof-rn-note {
  margin-bottom: 14px; padding: 10px 12px; border-radius: 8px;
  border-left: 3px solid #ff9a2e; background: rgba(255, 154, 46, .08);
  font-size: 12.5px; line-height: 1.7; color: #8a5a12;
}

/* ---- 手机号修改面板 ---- */
.prof-phone-panel { margin-top: 2px; padding-top: 14px; border-top: 1px dashed var(--line); }

/* ---- 校验错误提示（覆盖 .hint 的灰色） ---- */
.prof-card .hint.err { color: var(--danger); }
.prof-card .hint.ok { color: #16a34a; }

/* ---- ④ 登录密码面板（20261108f） ---- */
.prof-actions-left { justify-content: flex-start; }
#pf-pwd-panel { margin-top: 12px; }
#pf-pwd-mode-tip { margin-bottom: 12px; }
/* components.css 的 .field 白名单只列了 text/tel/email/... 没列 password，
   密码框会退化成浏览器默认的窄输入框（无边框、高度不一致）。
   这里补齐同款内框，让「新密码 / 确认新密码」与「短信验证码」完全一致。 */
.prof-card .field input[type=password] {
  width: 100%; height: 42px; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 10px; padding: 0 13px;
  font-size: 13.5px; font-family: inherit; color: var(--t1); background: #fff;
  outline: 0; transition: border .15s, box-shadow .15s, background .15s;
}
.prof-card .field input[type=password]:hover { border-color: #c9cdd4; }
.prof-card .field input[type=password]:focus { border-color: var(--brand); box-shadow: 0 0 0 3.5px rgba(22, 119, 255, .12); }
