﻿/* ================================================
   FamilyTree - 主样式
   ================================================ */

/* 无障碍：视觉隐藏但屏幕阅读器可读 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 变量 — 医学遗传学专业主题 */
:root {
  /* 主色：深海蓝 —— 严谨、可信、学术感 */
  --primary: #1A56A0;
  --primary-dark: #134080;
  --primary-light: #EBF2FB;
  /* 辅助色：科研青绿 —— 生命科学、遗传符号感 */
  --success: #0B8A6B;
  --success-light: #E6F5F1;
  --warning: #B45309;
  --danger: #C0392B;
  /* 文字 */
  --text: #1A2332;
  --text-secondary: #4A5568;
  --text-light: #8A9BB0;
  /* 界面 */
  --border: #D8E3EE;
  --bg: #F5F8FC;
  --bg-warm: #F7F9FB;
  --white: #FFFFFF;
  /* 阴影 */
  --shadow-sm: 0 1px 4px rgba(26,86,160,0.07);
  --shadow: 0 4px 18px rgba(26,86,160,0.10);
  --shadow-lg: 0 12px 44px rgba(26,86,160,0.14);
  /* 形状 */
  --radius: 10px;
  --radius-sm: 7px;
  --radius-lg: 18px;
  --transition: 0.2s ease;
  --nav-height: 64px;
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }

/* 容器 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 页面系统 */
.page { display: none; }
.page.active { display: block; }

/* ================================================
   导航栏
   ================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: var(--text); text-decoration: none;
}
.nav-logo svg { flex-shrink: 0; }
.nav-links {
  display: flex; gap: 8px; flex: 1;
  list-style: none; padding: 0; margin: 0;
}
.nav-link {
  padding: 6px 14px; border-radius: 8px;
  color: var(--text-secondary); font-size: 15px;
  text-decoration: none; transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary); background: var(--primary-light);
  text-decoration: none;
}
.nav-actions { display: flex; gap: 8px; align-items: center; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all var(--transition);
}

/* ================================================
   按钮
   ================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; border: none;
  transition: all var(--transition); cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,86,160,0.30); }
.btn-ghost { background: none; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--bg); color: var(--text); }
.btn-outline { background: none; border: 1.5px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: var(--primary-light); }
.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-block { width: 100%; justify-content: center; padding: 12px; }
.btn-lg { padding: 12px 28px; font-size: 16px; border-radius: var(--radius); }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ================================================
   首页 Hero
   ================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  max-width: 1200px; margin: 0 auto;
  gap: 60px; position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15;
}
.blob1 { width: 500px; height: 500px; background: var(--primary); top: -100px; right: -100px; }
.blob2 { width: 400px; height: 400px; background: var(--success); bottom: -50px; left: -50px; }
.hero-content { flex: 1; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-light); color: var(--primary);
  padding: 6px 14px; border-radius: 100px; font-size: 13px;
  font-weight: 500; margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.2;
  margin-bottom: 20px; color: var(--text);
}
.text-gradient {
  background: linear-gradient(135deg, var(--primary), #0B8A6B);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
  font-size: 17px; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 36px; max-width: 520px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 22px; font-weight: 700; color: var(--text); }
.stat span { font-size: 13px; color: var(--text-secondary); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero 演示卡片 */
.hero-visual { flex: 0 0 480px; position: relative; z-index: 1; }
.hero-demo-card {
  background: white; border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.demo-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--border); }
.demo-dots span:first-child { background: #FF5F57; }
.demo-dots span:nth-child(2) { background: #FFBD2E; }
.demo-dots span:last-child { background: #28C840; }
.demo-title { font-size: 13px; color: var(--text-secondary); }
.demo-canvas { height: 260px; padding: 16px; }
.demo-svg { overflow: visible; }
.demo-node { cursor: pointer; transition: transform var(--transition); }
.demo-node:hover { transform: scale(1.05); }

/* ================================================
   功能特性
   ================================================ */
.features { padding: 100px 0; background: var(--bg); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  padding: 4px 14px; border-radius: 100px; font-size: 13px;
  font-weight: 500; margin-bottom: 12px;
}
.section-header h2 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.section-header p { color: var(--text-secondary); font-size: 16px; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.feature-card {
  background: white; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--border); transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: var(--primary);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ================================================
   使用步骤
   ================================================ */
.howto { padding: 100px 0; }
.steps {
  display: flex; align-items: flex-start; gap: 20px;
  justify-content: center; flex-wrap: wrap;
}
.step { text-align: center; max-width: 260px; }
.step-number {
  font-size: 48px; font-weight: 800; color: var(--primary);
  opacity: 0.15; line-height: 1; margin-bottom: 12px;
}
.step-content h3 { font-size: 18px; margin-bottom: 8px; }
.step-content p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
.step-arrow {
  font-size: 24px; color: var(--text-light);
  margin-top: 24px; align-self: flex-start; padding-top: 12px;
}

/* ================================================
   用户评价
   ================================================ */
.testimonials { padding: 100px 0; background: var(--bg); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.testimonial-card {
  background: white; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border);
}
.testimonial-stars { color: #F59E0B; font-size: 16px; margin-bottom: 12px; }
.testimonial-card > p { color: var(--text-secondary); font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author span { font-size: 12px; color: var(--text-secondary); }

/* ================================================
   CTA Banner
   ================================================ */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #0F3460 0%, #1A56A0 50%, #0B8A6B 100%);
}
.cta-content { text-align: center; color: white; }
.cta-content h2 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.cta-content p { font-size: 16px; opacity: 0.9; margin-bottom: 32px; }

/* ================================================
   内容页面（教程/FAQ）
   ================================================ */
.content-page {
  padding-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
}
.page-header {
  background: linear-gradient(135deg, var(--primary-light), #E6F5F1);
  padding: 60px 0 40px; text-align: center;
}
.page-header h1 { font-size: 40px; font-weight: 700; margin-bottom: 12px; }
.page-header p { color: var(--text-secondary); font-size: 16px; }

/* ===== 教程标签 ===== */
.tutorial-tabs {
  display: flex; gap: 4px;
  padding: 20px 0; border-bottom: 1px solid var(--border); margin-bottom: 40px;
}
.tab-btn {
  padding: 8px 20px; border-radius: 8px; border: none;
  background: none; color: var(--text-secondary); font-size: 15px;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover { background: var(--primary-light); color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* 符号速查盒子 */
.symbol-reference-box {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 36px;
}
.symbol-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 16px;
}
.sym-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 8px;
}
.sym-item svg { flex-shrink: 0; }
.sym-item span {
  font-size: 11px; color: var(--text-secondary);
  text-align: center; line-height: 1.4;
}

/* 教程步骤 */
.tutorial-steps { display: flex; flex-direction: column; gap: 40px; }
.tutorial-step {
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 24px; align-items: start;
}
.ts-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; flex-shrink: 0;
}
.ts-content h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.ts-content p { color: var(--text-secondary); line-height: 1.7; }
.ts-tip {
  margin-top: 10px; padding: 10px 14px;
  background: #EFF6FF; border-left: 3px solid var(--primary);
  font-size: 13px; color: #1e40af; border-radius: 0 6px 6px 0; line-height: 1.6;
}
.ts-visual { width: 220px; }
.ts-screenshot { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }

/* 教程卡片网格 */
.tutorial-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.tutorial-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: all var(--transition);
}
.tutorial-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tc-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; margin-bottom: 14px; flex-shrink: 0;
}
.tutorial-card h2 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.tutorial-card p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.7; }

/* 导出指南 */
.export-guide { display: flex; flex-direction: column; gap: 20px; }
.export-item {
  display: flex; gap: 20px; align-items: center;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.export-icon {
  width: 64px; height: 64px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; flex-shrink: 0;
}
.export-info { flex: 1; }
.export-info h2 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.export-info p { color: var(--text-secondary); font-size: 14px; margin-bottom: 12px; }

/* ===== 操作指南 Tab ===== */
.guide-intro {
  max-width: 680px; margin: 0 auto 36px; text-align: center;
  color: var(--text-secondary); font-size: 15px; line-height: 1.8;
}

/* 目录导航 */
.guide-toc { margin-bottom: 40px; }
.guide-toc h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 14px; color: var(--text);
}
.toc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px;
}
.toc-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: white; border: 1px solid var(--border);
  color: var(--text); font-size: 13.5px; text-decoration: none;
  transition: all var(--transition);
}
.toc-item:hover {
  border-color: var(--primary); color: var(--primary);
  box-shadow: 0 2px 8px rgba(26,86,160,0.10); transform: translateY(-1px);
}
.toc-num {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}

/* 操作指南 section */
.guide-section { margin-bottom: 48px; }
.gs-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.gs-number {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
.gs-header h2 { font-size: 20px; font-weight: 700; margin: 0; }
.gs-body > p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.8; margin-bottom: 18px; }

/* 步骤列表 */
.gs-steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.gs-step { display: flex; gap: 14px; align-items: flex-start; }
.gs-step-icon { flex-shrink: 0; font-size: 22px; line-height: 1; margin-top: 2px; }
.gs-step strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.gs-step p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* 方法双栏 */
.gs-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 18px; }
.gs-method h4 {
  font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 12px;
  padding-bottom: 6px; border-bottom: 2px solid var(--primary-light);
}

/* SVG 示意图盒子 */
.gs-visual-box {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 18px;
}
.gv-label {
  font-size: 11px; font-weight: 600; color: var(--text-secondary);
  padding: 6px 14px; background: var(--primary-light); text-transform: uppercase;
  letter-spacing: 0.5px;
}
.gv-diagram { display: flex; justify-content: center; padding: 20px; }

/* Callout 模拟图 */
.gs-callout-diagram { margin: 10px 0; text-align: center; }
.callout-mock {
  display: inline-flex; align-items: center; gap: 2px;
  background: white; border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 10px; font-size: 16px;
}
.cm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 4px;
  background: #F5F8FC; color: var(--primary); font-weight: 700;
  cursor: default; border: 1px solid #DDE5F0;
}
.cm-sep { width: 1px; height: 20px; background: var(--border); margin: 0 4px; }
.cm-labels { display: flex; justify-content: space-between; padding: 4px 10px 0; font-size: 11px; color: var(--text-secondary); }

/* 标签组 */
.gs-tag-group { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.gs-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: #F5F8FC; border: 1px solid #DDE5F0;
  border-radius: 6px; padding: 8px 14px; font-size: 13px;
}
.gs-tag code { font-weight: 700; color: var(--primary); }

/* 操作关键词高亮 */
.gs-keyword {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border: 1px solid #F59E0B;
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: 600;
  color: #92400E;
  font-size: 0.95em;
  box-shadow: 0 1px 2px rgba(245, 158, 11, 0.15);
}
.gs-keyword svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ===== 操作指南结构优化 ===== */

/* 章节导语 - 一句话概括 */
.gs-lead {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
}

/* 操作按钮组 - 突出主要操作 */
.gs-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.gs-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text);
}
.gs-action-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 8px;
  font-size: 16px;
}
.gs-action strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.gs-action span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* 精简步骤 - 主次分明 */
.gs-steps-simplified {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.gs-step-simplified {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}
.gs-step-simplified:hover {
  border-color: var(--primary-light);
  box-shadow: 0 2px 8px rgba(26, 86, 160, 0.08);
}
.gs-step-simplified .step-num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}
.gs-step-simplified .step-content {
  flex: 1;
}
.gs-step-simplified .step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.gs-step-simplified .step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.gs-step-simplified .step-desc code {
  background: #F1F5F9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

/* 快捷参考条 */
.gs-quick-ref {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.gs-quick-ref-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12.5px;
}
.gs-quick-ref-item code {
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* 结果图示区 - 更大更突出 */
.gs-result-box {
  margin: 24px 0;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gs-result-box .gv-label {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.gs-result-box .gv-diagram {
  padding: 24px;
  background: white;
}
.gs-result-box .gv-diagram svg {
  max-width: 100%;
  height: auto;
}

/* 提示和警告 - 更醒目 */
.gs-tip {
  margin-top: 20px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  line-height: 1.7;
  color: #1e40af;
}
.gs-tip strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gs-warn {
  margin-top: 20px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border-left: 4px solid #D97706;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  line-height: 1.7;
  color: #92400E;
}
.gs-warn strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 操作按钮模拟 - 更紧凑 */
.gs-callout-diagram {
  margin: 16px 0;
}
.callout-mock {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #F5F8FC;
  color: var(--primary);
  font-weight: 700;
  cursor: default;
  border: 1px solid #DDE5F0;
  font-size: 13px;
}
.cm-sep {
  width: 1px;
  height: 22px;
  background: var(--border);
  margin: 0 6px;
}
.cm-labels {
  display: flex;
  justify-content: space-between;
  padding: 8px 4px 0;
  font-size: 11px;
  color: var(--text-secondary);
}

/* Tab 模拟 */
.gs-tabs-mock { display: flex; gap: 0; margin-bottom: 18px; }
.gs-tab-mock {
  padding: 8px 20px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--border); background: white; color: var(--text-secondary);
}
.gs-tab-mock:first-child { border-radius: 6px 0 0 6px; }
.gs-tab-mock:last-child { border-radius: 0 6px 6px 0; border-left: none; }
.gs-tab-mock.active { background: var(--primary); color: white; border-color: var(--primary); }

/* 通用列表 */
.gs-list { padding-left: 18px; margin: 6px 0; }
.gs-list li { font-size: 13.5px; color: var(--text-secondary); line-height: 1.8; }

/* 提示框 */
.gs-tip {
  margin-top: 14px; padding: 12px 16px;
  background: #EFF6FF; border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0; font-size: 13px; line-height: 1.7;
  color: #1e40af;
}
.gs-warn {
  margin-top: 14px; padding: 12px 16px;
  background: #FFF7ED; border-left: 3px solid #D97706;
  border-radius: 0 8px 8px 0; font-size: 13px; line-height: 1.7;
  color: #92400E;
}

/* 快捷键表格 */
.shortcut-table { margin-bottom: 18px; overflow-x: auto; }
.shortcut-table table {
  width: 100%; border-collapse: collapse; font-size: 13.5px;
}
.shortcut-table th {
  text-align: left; padding: 10px 14px;
  background: var(--bg); font-weight: 600; color: var(--text);
  border-bottom: 2px solid var(--border);
}
.shortcut-table td {
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.shortcut-table code {
  display: inline-block; padding: 2px 8px;
  background: #F1F5F9; border: 1px solid #E2E8F0;
  border-radius: 4px; font-size: 12px; font-weight: 600;
  color: var(--text);
}

/* 底部引导 */
.guide-cta {
  text-align: center; padding: 36px 0 12px;
  border-top: 1px solid var(--border); margin-top: 20px;
}
.guide-cta p { color: var(--text-secondary); font-size: 15px; margin-bottom: 16px; }

/* ===== FAQ ===== */
.faq-search {
  position: relative; margin: 32px 0 20px;
}
.faq-search input {
  width: 100%; padding: 12px 16px 12px 48px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 15px; outline: none; transition: border-color var(--transition);
}
.faq-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,160,0.10); }
.faq-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.faq-categories { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.faq-cat {
  padding: 6px 16px; border-radius: 100px;
  border: 1px solid var(--border); background: none;
  font-size: 13px; color: var(--text-secondary); transition: all var(--transition);
}
.faq-cat.active, .faq-cat:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 48px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
}
.faq-item.hidden { display: none; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; cursor: pointer; background: white;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg); }
.faq-question span { font-size: 15px; font-weight: 500; flex: 1; }
.faq-arrow { transition: transform var(--transition); flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 20px 18px; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { color: var(--text-secondary); font-size: 14px; line-height: 1.8; }

.faq-contact {
  background: var(--bg); border-radius: var(--radius); padding: 40px;
  text-align: center; margin-bottom: 60px;
}
.faq-contact h3 { font-size: 24px; margin-bottom: 8px; }
.faq-contact p { color: var(--text-secondary); margin-bottom: 24px; }
.contact-options { display: flex; justify-content: center; gap: 12px; }
.contact-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); color: var(--text); font-size: 14px;
  transition: all var(--transition);
}
.contact-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); text-decoration: none; }

/* ================================================
   通用表单输入框样式
   ================================================ */
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 160, 0.10);
}

.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
  font-family: var(--font);
  line-height: 1.6;
  box-sizing: border-box;
}

.form-textarea::placeholder {
  color: var(--text-light);
}

.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 160, 0.10);
}

/* ================================================
   登录页面
   ================================================ */
.login-page {
  min-height: 100vh; padding-top: var(--nav-height);
  background: linear-gradient(135deg, #EBF2FB 0%, #E6F5F1 100%);
  display: flex; align-items: center;
}
.login-container {
  width: 100%; max-width: 440px; margin: 40px auto; padding: 20px;
}
.login-card {
  background: white; border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 40px;
}
.login-header { text-align: center; margin-bottom: 24px; }
.auth-tabs {
  display: flex; background: var(--bg); border-radius: var(--radius-sm);
  padding: 4px; gap: 4px; margin-bottom: 24px;
}
.auth-tab {
  flex: 1; padding: 8px; border-radius: 6px; border: none;
  background: none; font-size: 14px; font-weight: 500;
  color: var(--text-secondary); transition: all var(--transition);
}
.auth-tab.active { background: white; color: var(--text); box-shadow: var(--shadow-sm); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text); }
.required { color: var(--danger); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-wrap {
  position: relative; display: flex; align-items: center;
}
.input-wrap > svg { position: absolute; left: 12px; pointer-events: none; }
.input-wrap input {
  width: 100%; padding: 10px 12px 10px 40px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; outline: none; transition: all var(--transition);
}
.input-wrap input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,160,0.10); }
.pwd-toggle {
  position: absolute; right: 10px; background: none; border: none;
  color: var(--text-light); padding: 4px; display: flex; align-items: center;
}
.form-options {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.checkbox-wrap { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; }
.form-link { color: var(--primary); }
.auth-footer { text-align: center; font-size: 13px; color: var(--text-secondary); }

/* 密码强度 */
.pwd-strength { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.strength-bars { display: flex; gap: 4px; }
.strength-bars span {
  width: 40px; height: 4px; border-radius: 2px;
  background: var(--border); transition: background var(--transition);
}
.strength-label { font-size: 12px; color: var(--text-secondary); }

/* ================================================
   忘记密码 - 专业设计
   ================================================ */
.forgot-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 步骤进度指示器 */
.forgot-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  margin-bottom: 8px;
}

.forgot-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  transition: all 0.3s ease;
}

.step-circle span { transition: all 0.3s ease; }
.step-circle .step-check { display: none; }

.step-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.step-sub {
  font-size: 12px;
  color: var(--text-light);
  transition: all 0.3s ease;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.step-connector {
  width: 48px;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  position: relative;
  overflow: hidden;
}

.step-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--primary);
  transition: width 0.4s ease;
}

/* 激活状态 */
.forgot-step.active .step-circle {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,86,160,0.15);
}

.forgot-step.active .step-circle span { color: white; }

.forgot-step.active .step-title { color: var(--primary); }

.forgot-step.active .step-sub {
  opacity: 1;
  max-width: 100px;
  color: var(--text-secondary);
}

/* 完成状态 */
.forgot-step.done .step-circle {
  border-color: var(--success);
  background: var(--success);
}

.forgot-step.done .step-circle span { display: none; }
.forgot-step.done .step-circle .step-check { display: block; color: white; }

.forgot-step.done .step-title { color: var(--success); }

.forgot-step.done .step-connector .step-progress { width: 100%; }

/* 步骤面板 */
.forgot-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;
}

.step-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
}

.forgot-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin: 0;
}

.forgot-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

.forgot-desc strong { color: var(--text); font-weight: 600; }

.code-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--warning);
  background: #FEF3C7;
  padding: 8px 12px;
  border-radius: 8px;
  margin: 0;
}

/* 验证码按钮 */
.code-btn {
  padding: 8px 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  min-width: 80px;
  text-align: center;
}

.code-btn:hover:not(:disabled) {
  background: var(--primary-dark);
}

.code-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* 验证码输入组 - 样式与 input-wrap 保持一致 */
.code-input-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.code-input-group input {
  flex: 1;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  text-align: center;
  outline: none;
  transition: all var(--transition);
}

.code-input-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,160,0.10);
}

.code-input-group input::placeholder {
  letter-spacing: 0;
  text-align: left;
}

.code-timer {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.timer-icon { color: var(--primary); }

.code-timer.expiring {
  background: #FEE2E2;
  color: var(--danger);
}

.code-timer.expiring .timer-icon { color: var(--danger); }

/* 重发链接 */
.resend-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.btn-text-link {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
}

.btn-text-link:hover { text-decoration: underline; }
.btn-text-link:disabled { color: var(--text-light); cursor: not-allowed; }

/* 成功状态 */
.forgot-success { text-align: center; padding: 16px 0; }

.success-animation {
  margin-bottom: 20px;
}

.success-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #10B981);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(11,138,107,0.35);
  animation: successPop 0.5s ease-out;
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.forgot-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.forgot-success p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.success-actions { display: flex; flex-direction: column; gap: 12px; }

.forgot-back-btn {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
}

.forgot-back-btn:hover {
  color: var(--text);
  background: var(--bg);
}

/* 按钮增强 */
.btn-lg { padding: 14px 24px; font-size: 15px; }

/* 响应式 */
@media (max-width: 640px) {
  .forgot-steps { padding: 0; gap: 0; }
  .step-info { display: none; }
  .step-connector { width: 32px; margin: 0 4px; }
  .step-sub { display: none; }
}

/* ================================================
   页脚
   ================================================ */
.footer {
  background: var(--text); color: #CBD5E1; padding: 56px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .nav-logo { color: white; margin-bottom: 12px; }
.footer-brand .nav-logo span { color: white; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: #94A3B8; max-width: 300px; }
.footer-col h4 { color: white; font-size: 13px; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #94A3B8; font-size: 14px; transition: color var(--transition); }
.footer-col a:hover { color: white; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #1E293B; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: #475569;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #94A3B8;
}

.footer-icp {
  border-top: 1px solid #1E293B;
  padding: 14px 0;
  font-size: 12px;
  color: #334155;
  text-align: center;
}

.footer-icp a {
  color: #334155;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-icp a:hover {
  color: #64748B;
}



/* ================================================
   意见反馈页
   ================================================ */
.feedback-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.feedback-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px;
}

.feedback-form .form-group {
  margin-bottom: 22px;
}

/* 反馈类型选择 */
.feedback-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feedback-type-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 13px;
  color: var(--text-secondary);
}

.feedback-type-item input {
  display: none;
}

.feedback-type-item:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 500;
}

.feedback-type-item:hover {
  border-color: var(--primary);
}

.feedback-type-item .type-icon {
  font-size: 15px;
}

/* 字数统计 */
.char-count {
  font-size: 12px;
  color: var(--text-light);
  text-align: right;
  margin-top: 4px;
}

/* 文件上传 */
.file-upload-area {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.file-upload-area:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.file-upload-text {
  font-size: 13px;
  color: var(--text-light);
}

.file-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
}

.file-remove {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 16px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all var(--transition);
}

.file-remove:hover {
  background: #FEE2E2;
  color: var(--danger);
}

/* 联系方式 Tab */
.contact-methods {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.contact-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.contact-tab input {
  display: none;
}

.contact-tab.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 500;
}

.contact-tab:hover {
  border-color: var(--primary);
}

.form-hint {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}

/* 提交按钮 */
.feedback-submit-btn {
  margin-top: 8px;
}

/* 提交中 spinner */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 提交成功 */
.feedback-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  margin-bottom: 20px;
}

.feedback-success h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.feedback-success p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.8;
}

.success-contact {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* 侧边栏 */
.feedback-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  border: 1px solid var(--border);
}

.sidebar-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.sidebar-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* 邮箱联系卡片 */
.sidebar-email-card {
  background: linear-gradient(135deg, #F0F5FF, #FAFAFF);
  border-color: #D0E0F0;
  text-align: center;
}

.email-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 2px 8px rgba(26, 86, 160, 0.08);
}

.sidebar-email-card h3 {
  justify-content: center;
  font-size: 18px;
  margin-bottom: 8px;
}

.sidebar-email-card p {
  margin-bottom: 16px;
}

.email-display-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  border: 1px dashed var(--primary);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.email-display-box span {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  font-family: 'Courier New', Courier, monospace;
}

.btn-copy-email {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.btn-copy-email:hover {
  color: var(--primary);
}

.sidebar-card-faq {
  border-color: #E0E8F0;
}

.sidebar-card-faq h3 {
  color: var(--info);
}

.sidebar-card-notice {
  background: #F0F7FF;
  border-color: #BAD3F0;
}

.sidebar-card-notice h3 {
  color: var(--primary);
}

/* 成功页面邮箱展示 */
.success-email-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #F0F5FF;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  margin: 20px auto;
  max-width: 320px;
  color: var(--primary);
}

.success-email-box span {
  font-size: 16px;
  font-weight: 600;
  font-family: 'Courier New', Courier, monospace;
}

/* 反馈页移动端适配 */
@media (max-width: 768px) {
  .feedback-layout {
    grid-template-columns: 1fr;
  }
  .feedback-form-wrapper {
    padding: 24px 18px;
  }
  .feedback-types {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .feedback-form-wrapper {
    padding: 20px 14px;
  }
  .file-upload-area {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
}

/* ================================================
   弹窗
   ================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal {
  background: white; border-radius: 20px;
  width: 100%; max-width: 520px;
  box-shadow: var(--shadow-lg); animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 18px; font-weight: 600; }
.modal-close {
  background: none; border: none; font-size: 18px;
  color: var(--text-secondary); width: 32px; height: 32px;
  border-radius: 8px; transition: all var(--transition); display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--bg); color: var(--text); }
.modal-body { padding: 24px; }
.modal-footer {
  display: flex; justify-content: flex-end; gap: 8px;
  padding-top: 16px; border-top: 1px solid var(--border); margin-top: 16px;
}

/* 表单样式（弹窗内） */
#memberForm .form-group { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
#memberForm label { font-size: 13px; font-weight: 500; }
#memberForm input, #memberForm select, #memberForm textarea {
  padding: 9px 12px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; outline: none;
  transition: border-color var(--transition); width: 100%;
}
#memberForm input:focus, #memberForm select:focus, #memberForm textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,160,0.10);
}
#memberForm textarea { resize: vertical; font-family: var(--font); }

/* ================================================
   Toast 提示
   ================================================ */
.toast-container {
  position: fixed; top: 80px; right: 20px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--radius-sm);
  background: #1E293B; color: white; font-size: 14px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease;
  pointer-events: all;
}
.toast.success { background: #166534; }
.toast.error { background: #991B1B; }
.toast.warning { background: #92400E; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(20px); }
}

/* ================================================
   响应式设计
   ================================================ */
@media (max-width: 1024px) {
  .hero { flex-direction: column; align-items: flex-start; padding-top: calc(var(--nav-height) + 40px); }
  .hero-visual { width: 100%; max-width: 480px; align-self: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    background: white; padding: 12px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open + .nav-actions {
    display: flex; position: absolute;
    top: calc(var(--nav-height) + 120px); left: 0; right: 0;
    padding: 0 16px 16px; background: white;
    border-bottom: 1px solid var(--border);
  }
  .hamburger { display: flex; }
  .hero { padding: 100px 20px 60px; gap: 40px; }
  .hero-title { font-size: 32px; }
  .hero-visual { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }
  .tutorial-step { grid-template-columns: 48px 1fr; }
  .ts-visual { display: none; }
  .toc-grid { grid-template-columns: 1fr 1fr; }
  .gs-methods { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .login-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .forgot-code-row { flex-direction: column; }
  .forgot-resend-btn { width: 100%; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
  .section-header h2 { font-size: 26px; }
  .hero-cta { flex-direction: column; }
  .btn-lg { padding: 12px 20px; font-size: 15px; }
  .tutorial-tabs { flex-wrap: wrap; }
  .toc-grid { grid-template-columns: 1fr; }
  .faq-categories { gap: 6px; }
}

/* ================================================
   内容页 padding 修复
   ================================================ */
.content-page .container {
  padding-top: 40px;
  padding-bottom: 80px;
}

/* ================================================
   医学专业主题增强
   ================================================ */

/* 提示框——专业医学提示风 */
.ts-tip {
  margin-top: 10px; padding: 10px 14px;
  background: #EBF2FB; border-left: 3px solid var(--primary);
  font-size: 13px; color: #1A3A6B; border-radius: 0 6px 6px 0;
}

/* 节拍序号颜色 */
.step-number { color: var(--primary); }

/* 遗传等级标签样式 */
.genetics-tag {
  display: inline-block; padding: 2px 8px;
  background: var(--success-light); color: var(--success);
  border-radius: 4px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.5px; vertical-align: middle; margin-left: 6px;
}
.genetics-tag.ad { background: #FFF0EB; color: #C0531A; }
.genetics-tag.ar { background: #EBF2FB; color: #1A56A0; }
.genetics-tag.xd { background: #F5E6FF; color: #7B2FBE; }
.genetics-tag.xr { background: #E6F5F1; color: #0B8A6B; }

/* 医学规范说明框 */
.med-notice {
  background: #F0F7FF; border: 1px solid #BAD3F0;
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-size: 13px; color: #1A3A6B; line-height: 1.8;
  margin: 20px 0;
}
.med-notice strong { color: var(--primary); }

/* 专业徽章 */
.pro-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 4px;
  background: linear-gradient(135deg, #1A56A0, #0B8A6B);
  color: white; font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
}

/* ================================================
   法律条款页面样式
   ================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.85;
  color: #334155;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.legal-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 16px 0 8px;
}

.legal-section p {
  margin-bottom: 12px;
}

.legal-section ul {
  margin: 10px 0 14px 20px;
  list-style: disc;
}

.legal-section ul li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.legal-section ul li strong {
  color: var(--text);
}

/* Cookie 页面分类卡片 */
.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  background: #F8FAFC;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
}

.cookie-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.cookie-cat-header h3 {
  margin: 0;
  font-size: 16px;
  color: var(--text);
}

/* Cookie 表格 */
.cookie-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.cookie-table th,
.cookie-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #E2E8F0;
}

.cookie-table th {
  background: #EEF2F7;
  font-weight: 600;
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-table td code {
  background: #EEF2F7;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  color: var(--primary);
  font-family: 'Courier New', Courier, monospace;
}

/* 法律页面的 code 样式 */
.legal-content code {
  background: #EEF2F7;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 13px;
  color: var(--primary);
  font-family: 'Courier New', Courier, monospace;
}

/* ================================================
   联系我们页面
   ================================================ */

.contact-hero {
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-bottom: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  background: linear-gradient(135deg, #F0F5FF, #E8F4FD);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.contact-hero h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-hero-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.contact-hero-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.email-display {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  font-family: 'Courier New', Courier, monospace;
  background: #F0F5FF;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--primary);
}

.contact-hero-note {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 8px;
}

.contact-quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.contact-quick-card {
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.2s;
}

.contact-quick-card:hover {
  box-shadow: 0 6px 24px rgba(26, 86, 160, 0.08);
  transform: translateY(-2px);
}

.quick-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-quick-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-quick-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-tips {
  background: linear-gradient(135deg, #F8FAFC, #F0F5FF);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 28px 32px;
}

.contact-tips h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.contact-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-tips li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 10px;
}

.contact-tips li:last-child {
  margin-bottom: 0;
}

.contact-tips li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--primary);
  font-weight: bold;
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 32px 24px;
  }
  .contact-hero h2 {
    font-size: 20px;
  }
  .email-display {
    font-size: 14px;
    padding: 8px 16px;
  }
  .contact-quick-links {
    grid-template-columns: 1fr;
  }
  .contact-tips {
    padding: 20px 24px;
  }
}

/* ================================================
   VIP 会员中心页面
   ================================================ */

/* 页面头部 */
.vip-page-header {
  text-align: center;
  padding: 8px 0 40px;
}
.vip-crown-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.vip-page-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.vip-page-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.vip-current-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.vip-current-free { background: #F1F5F9; color: #64748B; }
.vip-current-vip  { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); color: #B45309; border: 1px solid #FCD34D; }

/* 套餐网格 */
.vip-plans-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 48px;
  align-items: start;
}

/* 套餐卡片 */
.vip-plan-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.vip-plan-card:hover {
  box-shadow: 0 8px 30px rgba(26, 86, 160, 0.1);
  transform: translateY(-3px);
}
.vip-plan-highlight {
  border-color: #F59E0B;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
}
.vip-plan-highlight:hover {
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.2);
}
.vip-plan-current {
  border-color: var(--primary);
  background: #FAFCFF;
}

/* 套餐 badge */
.vip-plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #F59E0B, #EF8C00);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}
.vip-plan-badge-current {
  background: linear-gradient(135deg, #1A56A0, #0B8A6B);
  box-shadow: 0 2px 6px rgba(26, 86, 160, 0.3);
}

/* 套餐内容 */
.vip-plan-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  margin-top: 8px;
  text-align: center;
}
.vip-plan-price-wrap {
  text-align: center;
  margin-bottom: 8px;
}
.vip-plan-price-free {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-secondary);
}
.vip-plan-price-symbol {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}
.vip-plan-price-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.vip-plan-highlight .vip-plan-price-symbol,
.vip-plan-highlight .vip-plan-price-num { color: #B45309; }
.vip-plan-price-unit {
  font-size: 12px;
  color: var(--text-secondary);
  display: block;
  margin-top: 2px;
}
.vip-plan-desc {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 16px;
  min-height: 32px;
  line-height: 1.5;
}
.vip-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}
.vip-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 7px;
}
.vip-plan-features li svg { flex-shrink: 0; margin-top: 1px; }

.vip-plan-btn {
  width: 100%;
  justify-content: center;
  font-size: 13px;
  padding: 9px 0;
}
.vip-plan-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* 功能对比 */
.vip-compare-wrap { margin-bottom: 48px; }
.vip-compare-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}
.vip-compare-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
.vip-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 14px;
}
.vip-compare-table th,
.vip-compare-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.vip-compare-table th {
  background: #F8FAFC;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.vip-compare-table td:nth-child(2) { color: var(--text-secondary); }
.vip-compare-table .vip-yes { color: #0B8A6B; font-weight: 600; }
.plan-label-free { padding: 2px 10px; background: #F1F5F9; border-radius: 12px; font-size: 12px; color: #64748B; }
.plan-label-vip  { padding: 2px 10px; background: linear-gradient(135deg, #FFFBEB, #FEF3C7); border-radius: 12px; font-size: 12px; color: #B45309; font-weight: 700; }

/* FAQ */
.vip-faq { margin-bottom: 48px; }
.vip-faq-list { display: flex; flex-direction: column; gap: 12px; }
.vip-faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.vip-faq-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.vip-faq-a {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ====== 支付弹窗 ====== */
.pay-modal-box {
  max-width: 480px;
  width: 90vw;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  overflow: hidden;
}
.pay-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding: 24px 28px 0;
}
.pay-order-summary {
  margin: 0 28px 20px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #F0F5FF, #F8FAFC);
  border-radius: var(--radius-md);
  border: 1px solid #D0E0F0;
}
.pay-order-plan  { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.pay-order-price { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.pay-order-desc  { font-size: 12px; color: var(--text-secondary); }
.pay-method-section { margin: 0 28px 16px; }
.pay-method-label { font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.pay-method-alipay {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: white;
  border: 2px solid #1677FF;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: #1677FF;
}
.pay-notice {
  margin: 0 28px 20px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.pay-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 16px 28px 24px;
  border-top: 1px solid var(--border);
}

/* 支付二维码 */
.pay-qr-wrap {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 0 28px 20px;
}
.pay-qr-box {
  flex-shrink: 0;
  width: 176px;
  height: 176px;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}
.pay-qr-info { flex: 1; }
.pay-qr-amount { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.pay-qr-plan-name { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.pay-qr-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.pay-countdown {
  padding: 0 28px 12px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}
.pay-countdown-num { font-weight: 700; color: var(--primary); font-family: 'Courier New', monospace; }
.pay-polling-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  padding-bottom: 12px;
}
.pay-polling-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1677FF;
  animation: pollingPulse 1.2s ease-in-out infinite;
}
@keyframes pollingPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* 支付成功 */
.pay-success-wrap {
  text-align: center;
  padding: 40px 28px;
}
.pay-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #0B8A6B);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}
.pay-success-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.pay-success-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.pay-success-info {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: left;
}
.pay-success-info > div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
  color: var(--text-secondary);
}
.pay-success-info > div span:last-child { font-weight: 600; color: var(--text); }

/* ====== 个人中心 VIP 相关 ====== */
.vip-badge {
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  color: #B45309;
  border: 1px solid #FCD34D;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}
.free-badge {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #E2E8F0;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
}
.profile-vip-expire {
  font-size: 12px;
  color: #B45309;
  margin-top: 2px;
}
.avatar-vip {
  box-shadow: 0 0 0 3px #F59E0B, 0 4px 16px rgba(245, 158, 11, 0.3) !important;
}
.btn-vip-upgrade {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #FFF7ED, #FFFBEB);
  border: 1.5px solid #FCD34D;
  border-radius: var(--radius-sm);
  color: #B45309;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-vip-upgrade:hover {
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
  transform: translateY(-1px);
}
.btn-vip-manage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #EBF2FB;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* ====== 导航 VIP 相关 ====== */
.nav-vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  color: #B45309;
  padding: 1px 6px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  vertical-align: middle;
  border: 1px solid #FCD34D;
}
.nav-user-avatar-vip {
  box-shadow: 0 0 0 2px #F59E0B;
}
.dropdown-vip-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  color: #B45309;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #FCD34D;
}
.dropdown-item-vip {
  color: #B45309 !important;
  font-weight: 600;
}
.dropdown-item-vip:hover {
  background: #FFFBEB !important;
}

/* VIP 页响应式 */
@media (max-width: 1100px) {
  .vip-plans-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .vip-plans-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-page-title { font-size: 22px; }
  .pay-qr-wrap { flex-direction: column; align-items: center; }
  .pay-modal-title, .pay-modal-actions, .pay-notice, .pay-order-summary, .pay-method-section { padding-left: 20px; padding-right: 20px; margin-left: 0; margin-right: 0; }
}
@media (max-width: 480px) {
  .vip-plans-grid { grid-template-columns: 1fr; }
}

/* ================================================
   个人中心页面
   ================================================ */

/* 用户信息头部 — 紧凑精炼风格 */
.profile-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A56A0, #0B8A6B);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s;
}

.profile-avatar:hover {
  box-shadow: 0 4px 16px rgba(26, 86, 160, 0.25);
  transform: scale(1.06);
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-info-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.profile-info h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-email {
  font-size: 13px;
  color: var(--text-light);
}

.profile-header-actions {
  flex-shrink: 0;
}

/* 概览统计卡片 — 四宫格布局 */
.profile-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.overview-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.25s, transform 0.2s;
}

.overview-card:hover {
  box-shadow: var(--shadow);
}

.overview-card--cta {
  border-color: var(--primary);
  background: var(--primary-light);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.overview-card--cta:hover {
  background: #D6E6F7;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26, 86, 160, 0.15);
  text-decoration: none;
}

.overview-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #EBF2FB;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.overview-icon--green {
  background: #E6F5F1;
  color: var(--success);
}

.overview-icon--amber {
  background: #FEF3C7;
  color: #B45309;
}

.overview-icon--primary {
  background: var(--primary);
  color: white;
}

.overview-data {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.overview-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.stat-unit {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
}

.overview-label {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

.overview-card--cta .overview-label {
  color: var(--primary);
  font-weight: 500;
  font-size: 14px;
}

/* 工具栏 — 精简统一 */
.profile-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.toolbar-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  flex: 1;
  max-width: 280px;
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 160, 0.08);
}

.search-box svg {
  flex-shrink: 0;
  color: var(--text-light);
}

.search-box input {
  border: none;
  outline: none;
  background: none;
  font-size: 14px;
  color: var(--text);
  width: 100%;
}

.search-box input::placeholder {
  color: var(--text-light);
}

.toolbar-select {
  padding: 8px 32px 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--transition);
}

.toolbar-select:focus {
  border-color: var(--primary);
  outline: none;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* 视图切换按钮 — 图标按钮风格 */
.view-toggle-btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.view-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.view-toggle-btn .view-icon-list {
  display: none;
}

.view-toggle-btn[data-view="list"] .view-icon-grid {
  display: none;
}

.view-toggle-btn[data-view="list"] .view-icon-list {
  display: block;
}

/* 按钮尺寸 */
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-xs { padding: 5px 12px; font-size: 12px; }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
}
.btn-ghost:hover {
  background: var(--bg);
  border-color: var(--text-light);
}

.btn-danger {
  background: #DC2626;
  border-color: #DC2626;
  color: white;
}
.btn-danger:hover {
  background: #B91C1C;
  border-color: #B91C1C;
}

.btn-outline {
  background: white;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* 家系图网格视图 */
.pedigree-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.pedigree-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.pedigree-card:hover {
  box-shadow: 0 8px 30px rgba(26, 86, 160, 0.12);
  transform: translateY(-3px);
}

.card-thumb {
  position: relative;
  height: 160px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid #EEF2F7;
}

.card-thumb-svg {
  width: 100%;
  height: 100%;
}

.card-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.status-active {
  background: #DCFCE7;
  color: #15803D;
}

.status-completed {
  background: #DBEAFE;
  color: #1D4ED8;
}

.status-draft {
  background: #FEF3C7;
  color: #A16207;
}

.card-body {
  padding: 16px;
  flex: 1;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.card-tag {
  padding: 2px 8px;
  background: #F0F5FF;
  color: var(--primary);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-top: 1px solid #F1F5F9;
  background: #FAFBFC;
}

.card-action {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all var(--transition);
  flex-shrink: 0;
}

.card-action:hover {
  background: #F1F5F9;
}

.card-action[data-action="delete"]:hover {
  background: #FEE2E2;
}

/* 家系图列表视图 */
.pedigree-list-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pedigree-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: box-shadow 0.3s, transform 0.2s;
}

.pedigree-row:hover {
  box-shadow: 0 4px 16px rgba(26, 86, 160, 0.08);
  transform: translateY(-1px);
}

.row-main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.row-icon {
  width: 40px;
  height: 32px;
  flex-shrink: 0;
}

.row-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  flex-wrap: wrap;
}

.row-meta .card-tag {
  margin-left: 2px;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.empty-state h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.empty-hint {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-light);
}

.empty-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

.empty-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.empty-links a:hover {
  text-decoration: underline;
}

/* 弹窗 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.delete-warning {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.delete-warning strong {
  color: var(--text);
}

/* 用户下拉菜单容器 */
.nav-user-wrapper {
  position: relative;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 下拉菜单头部用户信息 */
.dropdown-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.dropdown-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A56A0, #0B8A6B);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.dropdown-user-detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dropdown-user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-user-email {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}

.dropdown-item:hover {
  background: var(--bg);
  color: var(--text);
}

.dropdown-item svg {
  flex-shrink: 0;
  color: var(--text-light);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.dropdown-item.danger {
  color: #DC2626;
}

.dropdown-item.danger:hover {
  background: #FEF2F2;
  color: #B91C1C;
}

/* 导航栏用户头像按钮 */
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1.5px solid var(--border);
  border-radius: 40px;
  background: white;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.nav-user-btn:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(26, 86, 160, 0.12);
}

.nav-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A56A0, #0B8A6B);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.nav-user-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.nav-user-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-light);
  transition: transform 0.2s;
}

.nav-user-btn.open .nav-user-chevron {
  transform: rotate(180deg);
}

/* 个人中心页面移动端适配 */
@media (max-width: 768px) {
  .profile-header {
    padding: 20px;
    gap: 14px;
  }
  .profile-header-actions {
    display: none;
  }
  .profile-overview {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .overview-card {
    padding: 14px 16px;
    gap: 10px;
  }
  .overview-number {
    font-size: 18px;
  }
  .overview-icon {
    width: 36px;
    height: 36px;
  }
  .profile-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .toolbar-left {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    max-width: none;
  }
  .toolbar-right {
    justify-content: flex-end;
  }
  .pedigree-grid {
    grid-template-columns: 1fr;
  }
  .pedigree-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .row-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .account-page {
    max-width: none;
  }
  .account-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .account-info-row .btn {
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .profile-header {
    padding: 16px;
  }
  .profile-info h1 {
    font-size: 18px;
  }
  .profile-overview {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .overview-card {
    padding: 12px 14px;
  }
  .card-actions {
    flex-wrap: wrap;
  }
  .account-page {
    padding: 0 12px;
  }
}

/* ================================================
   个人信息页面（account.html）
   ================================================ */
.account-page {
  max-width: 640px;
  margin: 0 auto;
}

.account-page-header {
  margin-bottom: 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 10px;
}

.back-link:hover {
  color: var(--primary);
}

.account-page-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.page-subtitle {
  font-size: 14px;
  color: var(--text-light);
}

.account-section {
  margin-bottom: 24px;
}

.account-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.account-section-title svg {
  color: var(--primary);
}

.account-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.account-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #F1F5F9;
}

.account-info-row:last-child {
  border-bottom: none;
}

.account-info-row--hint {
  background: #FAFBFC;
}

.account-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A56A0, #0B8A6B);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.account-avatar-info {
  display: flex;
  flex-direction: column;
}

.account-avatar-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.account-avatar-hint {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

.account-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-field-label {
  font-size: 12px;
  color: var(--text-light);
}

.account-field-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.account-field-value--light {
  font-weight: 400;
  color: var(--text-light);
  font-size: 13px;
}

.account-field-hint {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
}

.account-security-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius);
  font-size: 13px;
  color: #92400E;
  line-height: 1.7;
}

.account-security-tip svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #D97706;
}

/* 弹窗内输入框统一优化 */
.modal-box .form-group {
  margin-bottom: 18px;
}

.modal-box .form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.modal-box .input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.modal-box .input-wrap .form-input {
  flex: 1;
  padding: 10px 40px 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  background: #FAFBFC;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.modal-box .input-wrap .form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 160, 0.1);
  background: white;
}

.modal-box .input-wrap .form-input:disabled {
  background: #F1F5F9;
  color: var(--text-light);
  cursor: not-allowed;
}

.modal-box .form-hint {
  display: block;
  font-size: 12px;
  color: #DC2626;
  margin-top: 6px;
  min-height: 0;
}

.modal-box .pwd-toggle {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-light);
  opacity: 0.4;
  transition: opacity 0.2s;
}

.modal-box .pwd-toggle:hover {
  opacity: 0.8;
}

.modal-box--wide {
  max-width: 460px;
}





/* 分页样式 */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: white;
  border-radius: var(--radius-sm);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-num {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--border);
  background: white;
  border-radius: var(--radius-sm);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.page-num:hover {
  background: var(--bg);
  border-color: var(--primary);
}

.page-num.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  font-weight: 600;
}