/* ==================================================================
   实名认证 · 前台样式（V3.8.0）
   ------------------------------------------------------------------
   前缀 vf-（verify），主色 #5B6BF5（信任蓝），成功色 #22B573。
   圆角统一 8px / 12px，与全站一致。
   ================================================================== */

.vf-page { background: #F5F6FA; min-height: 100vh; padding-bottom: 40px; --vf: #5B6BF5; }

/* 顶栏 */
.vf-cap { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; height: 48px; background: #fff; padding: 0 12px; border-bottom: 1px solid #F0F1F6; }
.vf-cap a.vf-back { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.vf-cap h1 { flex: 1; text-align: center; font-size: 16px; font-weight: 700; color: #1B2033; margin: 0; }
.vf-cap .vf-cap-r { width: 32px; }

/* 顶部状态卡 */
.vf-hero { margin: 12px; border-radius: 14px; padding: 18px 16px 16px; background: linear-gradient(135deg, #6E7CF8 0%, #4B58E8 100%); color: #fff; position: relative; overflow: hidden; }
.vf-hero.on { background: linear-gradient(135deg, #2FC98E 0%, #16A574 100%); }
.vf-hero::after { content: ''; position: absolute; right: -36px; top: -40px; width: 132px; height: 132px; border-radius: 50%; background: rgba(255,255,255,.12); }
.vf-hero-top { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.vf-hero-ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; flex: none; }
.vf-hero-t { font-size: 17px; font-weight: 700; line-height: 1.25; }
.vf-hero-s { font-size: 12px; opacity: .9; margin-top: 3px; line-height: 1.5; }
.vf-hero-tx { flex: 1; min-width: 0; }
.vf-hero-badge { flex: none; align-self: flex-start; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.22); white-space: nowrap; }

/* 三步进度 */
.vf-steps { display: flex; margin: 14px 12px 0; background: #fff; border-radius: 12px; padding: 14px 6px; }
.vf-step { flex: 1; text-align: center; position: relative; }
.vf-step::after { content: ''; position: absolute; top: 13px; right: 0; width: 50%; height: 1px; background: #DFE3EE; }
.vf-step:first-child::before { content: ''; position: absolute; top: 13px; left: 0; width: 50%; height: 1px; background: #DFE3EE; }
.vf-step:last-child::after { display: none; }
.vf-step b { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; border-radius: 50%; background: #EEF0F6; color: #9AA3B5; font-size: 13px; font-weight: 700; }
.vf-step.done b { background: #22B573; color: #fff; }
.vf-step.cur b { background: #5B6BF5; color: #fff; box-shadow: 0 3px 10px rgba(91,107,245,.35); }
.vf-step span { display: block; font-size: 11.5px; color: #8A90A6; margin-top: 6px; }
.vf-step.done span, .vf-step.cur span { color: #1B2033; font-weight: 600; }

/* 卡片 */
.vf-card { margin: 12px; background: #fff; border-radius: 12px; padding: 15px 14px; }
.vf-card-hd { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.vf-card-ic { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex: none; }
.vf-card-t { flex: 1; min-width: 0; }
.vf-card-t b { display: block; font-size: 14.5px; font-weight: 700; color: #1B2033; }
.vf-card-t em { display: block; font-size: 11.5px; color: #8A90A6; font-style: normal; margin-top: 2px; }
.vf-ok { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: #22B573; background: #E9F9F1; padding: 3px 8px; border-radius: 999px; flex: none; }
.vf-wait { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: #E79A0B; background: #FFF6E3; padding: 3px 8px; border-radius: 999px; flex: none; }
.vf-no { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: #E25C5C; background: #FDEDED; padding: 3px 8px; border-radius: 999px; flex: none; }

/* 表单 */
.vf-field { margin-top: 12px; }
.vf-field label { display: block; font-size: 12.5px; color: #6B7280; margin-bottom: 6px; }
.vf-field input {
  width: 100%; box-sizing: border-box; height: 44px; border: 1px solid #E8EAF2; background: #F8F9FC;
  border-radius: 10px; padding: 0 12px; font-size: 14px; color: #1B2033; outline: none;
}
.vf-field input:focus { border-color: #5B6BF5; background: #fff; }
.vf-code { display: flex; gap: 8px; }
.vf-code input { flex: 1; min-width: 0; }
.vf-code button {
  flex: none; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid #5B6BF5;
  background: #fff; color: #5B6BF5; font-size: 13px; font-weight: 600; cursor: pointer;
}
.vf-code button:disabled { border-color: #E0E3EC; color: #B6BCCB; background: #F8F9FC; }
.vf-btn {
  width: 100%; height: 46px; margin-top: 14px; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, #6E7CF8, #4B58E8); color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(91,107,245,.28);
}
.vf-btn:disabled { background: #C9CEE0; box-shadow: none; }
.vf-btn.ghost { background: #fff; color: #5B6BF5; border: 1px solid #C7CDF7; box-shadow: none; }

/* 已认证信息条 */
.vf-done-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding: 12px 13px; background: #F4FBF8; border: 1px solid #D6F0E3; border-radius: 10px; }
.vf-done-line b { font-size: 14px; color: #1B2033; letter-spacing: .4px; }
.vf-done-line span { font-size: 12px; color: #22B573; font-weight: 600; }
/* 换绑（V3.9.0）：绿条右侧的文字按钮，别做成大按钮抢视觉 */
.vf-done-line .vf-link { flex: none; margin-left: auto; height: 26px; padding: 0 11px; border-radius: 999px; border: 1px solid #BFE7D5; background: #fff; color: #16A574; font-size: 12px; font-weight: 600; cursor: pointer; }
.vf-done-line .vf-link:active { background: #EAF9F2; }
.vf-done-line .vf-wait-tip { flex: none; font-style: normal; font-size: 11.5px; color: #9AA3B5; font-weight: 500; }
.vf-sub { margin: 7px 2px 0; font-size: 11.5px; color: #9AA3B5; line-height: 1.6; }
.vf-rebind { margin-top: 4px; }
.vf-rebind[hidden] { display: none; }
.vf-rebind-t { font-size: 13px; font-weight: 700; color: #1B2033; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #E6E9F2; }

/* 上传两个格子 */
.vf-ups { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.vf-up { position: relative; border: 1.5px dashed #D8DCEC; border-radius: 12px; background: #FAFBFE; height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; overflow: hidden; }
.vf-up span { font-size: 11.5px; color: #8A90A6; }
.vf-up img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vf-up.has { border-style: solid; border-color: #C7CDF7; }
.vf-up-del { position: absolute; right: 5px; top: 5px; z-index: 2; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }

.vf-note { margin: 10px 12px 0; font-size: 11.5px; color: #9AA3B5; line-height: 1.75; }
.vf-note b { color: #6B7280; }
.vf-tip-box { margin: 12px; padding: 12px 13px; border-radius: 10px; background: #FFF9EA; border: 1px solid #FCEBC4; font-size: 12px; color: #9A6B0B; line-height: 1.7; }
.vf-loading { text-align: center; color: #9AA3B5; font-size: 13px; padding: 40px 0; }
.vf-empty { text-align: center; padding: 40px 20px; }
.vf-empty p { font-size: 13px; color: #8A90A6; line-height: 1.7; margin: 8px 0 0; }

/* 已完成整页态 */
.vf-finish { margin: 12px; padding: 22px 16px; background: #fff; border-radius: 12px; text-align: center; }
.vf-finish .vf-fin-ic { width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 50%; background: #E9F9F1; display: flex; align-items: center; justify-content: center; }
.vf-finish b { font-size: 16px; color: #1B2033; }
.vf-finish p { font-size: 12.5px; color: #8A90A6; margin: 7px 0 0; line-height: 1.7; }
