/* ============ 志愿汇 · 志愿者成长之路（与小程序版块打通） ============ */

/* 登录提示条 */
.vf-loginbar { background: var(--bg-soft); border-left: 4px solid var(--red); border-radius: 0 12px 12px 0; padding: 14px 18px; color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 26px; }
.vf-loginbar.ok { border-left-color: #2e7d32; background: #eef7ee; color: #2e7d32; }
.vf-loginbar b { color: var(--ink); }
.vf-loginbar .bf-btn { margin-left: 8px; padding: 4px 14px; font-size: 13px; }

/* 流程主卡片 */
.vf-flow { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 26px 30px; margin-bottom: 34px; }
.vf-flow-hero { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; border-radius: 16px; padding: 26px 28px; margin-bottom: 24px; }
.vf-flow-title { font-size: 22px; font-weight: 900; letter-spacing: 1px; }
.vf-flow-sub { font-size: 14px; opacity: 0.92; margin: 8px 0 18px; }
.vf-progress { display: flex; align-items: center; gap: 16px; }
.vf-progress-text { font-size: 16px; font-weight: 800; flex-shrink: 0; }
.vf-progress-bar { flex: 1; height: 10px; background: rgba(255,255,255,0.3); border-radius: 999px; overflow: hidden; }
.vf-progress-fill { height: 100%; background: #fff; border-radius: 999px; transition: width .5s; }

/* 步骤 */
.vf-steps { display: flex; flex-direction: column; gap: 0; }
.vf-step { display: flex; gap: 18px; padding: 18px 4px; border-top: 1px dashed #eee; }
.vf-step:first-child { border-top: none; }
.vf-step-left { display: flex; flex-direction: column; align-items: center; }
.vf-step-num { width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 50%; background: #f0f0f0; color: #999; font-weight: 800; font-size: 16px; flex-shrink: 0; transition: all .2s; }
.vf-step-line { width: 2px; flex: 1; min-height: 28px; background: #eee; margin-top: 6px; }
.vf-step-right { flex: 1; min-width: 0; }
.vf-step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.vf-step-title { font-size: 17px; font-weight: 700; color: var(--ink); }
.vf-step-status { font-size: 12px; padding: 3px 12px; border-radius: 999px; background: #f0f0f0; color: #999; }
.vf-step-status.done { background: #e8f5e9; color: #2e7d32; }
.vf-step-status.current { background: #fff3e0; color: #ef6c00; }
.vf-step-status.pending { background: #fff8e1; color: #f9a825; }
.vf-step-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 10px; }
.vf-step-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.vf-step-tag { font-size: 12px; padding: 3px 10px; background: var(--red-light); color: var(--red); border-radius: 999px; }
.vf-step-btn { align-self: flex-start; padding: 9px 22px; background: var(--red); color: #fff; border: none; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; }
.vf-step-btn:hover { filter: brightness(1.05); }
.vf-step.done { opacity: .9; }
.vf-step.done .vf-step-num { background: #2e7d32; color: #fff; }
.vf-step.current { box-shadow: inset 3px 0 0 var(--red); border-radius: 8px; }
.vf-step.current .vf-step-num { background: var(--red); color: #fff; }
.vf-step.locked { opacity: .62; }
.vf-step.locked .vf-step-btn { display: none; }

/* 政策依据 */
.vf-policy { margin-top: 24px; background: var(--bg-alt); border-radius: 14px; padding: 20px 22px; }
.vf-policy-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; color: var(--ink); margin-bottom: 14px; }
.vf-policy-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .vf-policy-list { grid-template-columns: 1fr; } }
.vf-policy-item { background: #fff; border-radius: 10px; padding: 14px; }
.vf-policy-name { font-size: 14px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 6px; }
.vf-policy-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* 课程卡 */
.vf-course { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border-top: 4px solid var(--red); display: flex; flex-direction: column; transition: transform .2s; }
.vf-course:hover { transform: translateY(-5px); }
.vf-course-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.vf-course h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); line-height: 1.4; }
.vf-course-meta { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.vf-course-desc { color: var(--muted); font-size: 14px; flex: 1; margin-bottom: 16px; line-height: 1.6; }
.vf-course-btn { width: 100%; }

/* 学习弹层 */
.vf-study { display: flex; flex-direction: column; gap: 14px; }
.vf-text { font-size: 15px; color: #374151; line-height: 1.8; margin: 0; white-space: pre-wrap; }
.vf-media { width: 100%; border-radius: 12px; background: #000; max-height: 320px; }
.vf-media-cap { font-size: 12px; color: var(--muted); text-align: center; margin-top: 4px; }

/* 协议 / 考试 */
.vf-agree-text { background: var(--bg-alt); border-radius: 10px; padding: 16px 18px; font-size: 14px; color: #374151; line-height: 1.9; margin-bottom: 16px; }
.vf-agree-text p { margin: 0 0 8px; }
.vf-check-label { font-size: 14px; color: var(--ink); font-weight: 600; display: block; margin: 4px 0 8px; }
.vf-checks { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 6px; }
.vf-checks label { font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 6px; cursor: pointer; }
.vf-q { border-top: 1px dashed #eee; padding: 12px 0; }
.vf-q-t { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.vf-opt { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #374151; padding: 6px 10px; border-radius: 8px; cursor: pointer; transition: background .15s; }
.vf-opt:hover { background: var(--red-light); }
.vf-opt input { accent-color: var(--red); }

/* —— 精简版 hero（意义文案 + 注册提示） —— */
.page-hero .vf-kicker { display: inline-block; font-size: 12px; letter-spacing: 2px; color: var(--red, #E15A3F); background: rgba(225,90,63,.08); padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; font-weight: 600; }
.page-hero .vf-lead { font-size: 15px; line-height: 1.85; color: #4a4a4a; max-width: 780px; margin: 8px auto 6px; }
.page-hero .vf-hero-cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: center; }
.page-hero .vf-hero-cta .btn-lg { padding: 12px 28px; font-size: 16px; border-radius: 999px; }
.page-hero .vf-hero-note { font-size: 13px; color: #888; }

@media (max-width: 640px) {
  .page-hero .vf-hero-cta { flex-direction: column; gap: 8px; }
}

/* ============ 积分礼遇面板 ============ */
.vf-points-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 760px) { .vf-points-grid { grid-template-columns: 1fr; } }
.vf-points-rule { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.vf-points-rate { font-size: 16px; color: var(--ink); margin-bottom: 18px; }
.vf-points-rate strong { color: var(--red); font-size: 22px; }
.vf-points-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.vf-points-list li { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 10px 14px; background: var(--bg-alt); border-radius: 10px; }
.vf-points-list span { color: var(--ink); }
.vf-points-list em { font-style: normal; color: var(--red); font-weight: 700; }
.vf-points-card { background: linear-gradient(135deg, #fff7f3, #fdeee7); border: 1px solid #f6ddcf; border-radius: var(--radius); padding: 24px; }
.vf-points-card-h { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.vf-gift { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #f0d8c8; }
.vf-gift:last-of-type { border-bottom: none; }
.vf-gift-ico { width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; flex-shrink: 0; box-shadow: 0 2px 6px rgba(225,90,63,.12); }
.vf-gift-info { display: flex; flex-direction: column; }
.vf-gift-info b { font-size: 14px; color: var(--ink); }
.vf-gift-info span { font-size: 12px; color: var(--muted); }
.vf-points-note { font-size: 12px; color: var(--muted); margin-top: 14px; padding-top: 10px; border-top: 1px dashed #f0d8c8; }

/* ============ 服务排行星级榜 ============ */
.vf-rank-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 640px) { .vf-rank-grid { grid-template-columns: 1fr; } }
.vf-rank-item { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px; }
.vf-rank-no { width: 28px; height: 28px; line-height: 28px; text-align: center; border-radius: 8px; background: var(--red); color: #fff; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.vf-rank-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--red-light); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; flex-shrink: 0; }
.vf-rank-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vf-rank-body b { font-size: 15px; color: var(--ink); }
.vf-rank-body b a { color: inherit; text-decoration: none; }
.vf-rank-body b a:hover { text-decoration: underline; }
.vf-rank-body span { font-size: 12px; color: var(--muted); }
.vf-rank-star { color: #f5a623; font-size: 15px; letter-spacing: 1px; flex-shrink: 0; }

/* ============ 活动卡 meta 文字图标（替代 emoji） ============ */
.ca-meta-ico { display: inline-block; width: 16px; height: 16px; margin-right: 6px; border-radius: 4px; background: var(--red-light); vertical-align: -3px; flex-shrink: 0; position: relative; }
.ca-meta-ico::before { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 10px; color: var(--red); font-weight: 700; }
.ca-meta-ico.ico-loc::before { content: '位'; }
.ca-meta-ico.ico-addr::before { content: '址'; }
.ca-meta-ico.ico-org::before { content: '办'; }

/* ============ 快捷入口（注册志愿者 / 学习培训 / 政策保障 / 积分礼遇 / 服务排行 / 我的工时） ============ */
.quick-band { display: flex; flex-wrap: wrap; gap: 10px; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 22px; }
.quick-item { width: calc(16.66% - 10px); min-width: 92px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; border-radius: 12px; cursor: pointer; transition: all .2s; }
.quick-item:hover { background: var(--red-light); }
.quick-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--red-light); display: grid; place-items: center; font-size: 26px; color: var(--red); }
.quick-ico svg { width: 26px; height: 26px; }
.quick-txt { font-size: 13px; color: var(--ink); }
@media (max-width: 700px) { .quick-item { width: calc(33.33% - 10px); } }
