/* ===== 向导版 (guide) 专用样式 ===== */

/* ---- 业务选择卡片 ---- */
.guide-biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.guide-biz-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #1e7e34;
  border-radius: 10px;
  padding: 22px 24px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.guide-biz-card:hover {
  border-color: #1e7e34;
  box-shadow: 0 6px 20px rgba(30, 126, 52, 0.12);
  transform: translateY(-2px);
}
.guide-biz-card .icon { font-size: 36px; margin-bottom: 8px; }
.guide-biz-card h3 { margin: 0 0 6px 0; color: #1e7e34; font-size: 19px; }
.guide-biz-card p { color: #5a6e62; font-size: 14px; line-height: 1.6; margin: 0 0 10px 0; }
.guide-biz-card .meta {
  font-size: 13px;
  color: #888;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.guide-biz-card .meta span { display: inline-flex; align-items: center; gap: 4px; }

/* ---- 步骤进度条 ---- */
.wiz-progress {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 18px;
}
.wiz-progress-bar {
  height: 6px;
  background: #e8f5ed;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}
.wiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1e7e34, #4caf50);
  transition: width 0.3s;
  border-radius: 3px;
}
.wiz-progress-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #2d3e36;
  margin-bottom: 10px;
}
.wiz-progress-text strong { color: #1e7e34; font-size: 16px; }
.wiz-step-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wiz-step-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e8f5ed;
  color: #5a8c6e;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.wiz-step-dot:hover { background: #d0e8d8; }
.wiz-step-dot.done {
  background: #1e7e34;
  color: #fff;
}
.wiz-step-dot.current {
  background: #fff;
  border-color: #1e7e34;
  color: #1e7e34;
  box-shadow: 0 0 0 3px rgba(30, 126, 52, 0.2);
}
.wiz-step-dot.has-data::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ffa726;
  border-radius: 50%;
  margin-top: 18px;
  margin-left: 16px;
}

/* ---- 步骤主内容 ---- */
.wiz-step-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 16px;
}
.wiz-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8f5ed;
}
.wiz-step-num {
  background: #1e7e34;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.wiz-step-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e7e34;
  margin: 0;
}
.wiz-step-tip {
  background: #fff8e1;
  border-left: 3px solid #ffa726;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14px;
  color: #5a4a2e;
  margin: 12px 0;
}
.wiz-step-actions {
  display: flex;
  gap: 8px;
  margin: 12px 0;
  flex-wrap: wrap;
}

/* ---- 上传区 ---- */
.wiz-upload {
  border: 2px dashed #b6dec1;
  border-radius: 10px;
  padding: 32px 20px;
  text-align: center;
  background: #fafffe;
  cursor: pointer;
  transition: all 0.2s;
  margin: 16px 0;
}
.wiz-upload:hover, .wiz-upload.drag-over {
  border-color: #1e7e34;
  background: #f0f9f3;
}
.wiz-upload input[type=file] { display: none; }
.wiz-upload-icon { font-size: 40px; margin-bottom: 6px; }
.wiz-upload-text { color: #1e7e34; font-size: 15px; }
.wiz-upload-hint { color: #888; font-size: 12px; margin-top: 6px; }

.wiz-file-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.wiz-file-item {
  background: #f7faf8;
  border: 1px solid #d0e0d5;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  position: relative;
  word-break: break-all;
}
.wiz-file-item .fname { color: #2d3e36; font-weight: 500; margin-bottom: 4px; }
.wiz-file-item .fmeta { color: #888; font-size: 11px; }
.wiz-file-item .fdel {
  position: absolute;
  top: 4px;
  right: 6px;
  background: none;
  border: none;
  color: #c62828;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

/* ---- 复选框（已准备） ---- */
.wiz-check-row {
  margin: 16px 0;
  padding: 12px 16px;
  background: #f7faf8;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wiz-check-row label {
  font-size: 14px;
  color: #2d3e36;
  cursor: pointer;
}

/* ---- 导航按钮 ---- */
.wiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0;
}
.wiz-nav .btn-prev, .wiz-nav .btn-next, .wiz-nav .btn-finish {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.wiz-nav .btn-prev {
  background: #f0f0f0;
  color: #555;
}
.wiz-nav .btn-prev:hover { background: #e0e0e0; }
.wiz-nav .btn-prev:disabled { opacity: 0.4; cursor: not-allowed; }
.wiz-nav .btn-next {
  background: #1e7e34;
  color: #fff;
  margin-left: auto;
}
.wiz-nav .btn-next:hover { background: #166328; }
.wiz-nav .btn-finish {
  background: linear-gradient(90deg, #1e7e34, #4caf50);
  color: #fff;
  margin-left: auto;
}
.wiz-nav .btn-finish:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30, 126, 52, 0.3); }

/* ---- 子材料组 (m5 之类的 6 子项) ---- */
.wiz-subgroup {
  background: #f7faf8;
  border: 1px solid #d0e0d5;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 12px 0;
}
.wiz-subgroup h4 {
  margin: 0 0 10px 0;
  color: #1e7e34;
  font-size: 16px;
}
.wiz-subgroup h4 .badge {
  background: #1e7e34;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  font-weight: 500;
}

/* ---- 完成页 ---- */
.wiz-done {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 40px 32px;
  text-align: center;
  margin: 20px 0;
}
.wiz-done .check {
  font-size: 64px;
  margin-bottom: 12px;
}
.wiz-done h2 { color: #1e7e34; margin: 0 0 8px 0; }
.wiz-done p { color: #5a6e62; }
.wiz-done .summary {
  background: #f7faf8;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 20px auto;
  max-width: 480px;
  text-align: left;
  font-size: 14px;
}
.wiz-done .summary div { padding: 4px 0; color: #2d3e36; }
.wiz-done .summary strong { color: #1e7e34; }
.wiz-export-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}
.wiz-export-row button {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.wiz-export-row .btn-pdf { background: #1e7e34; color: #fff; }
.wiz-export-row .btn-docx { background: #ffa726; color: #fff; }
.wiz-export-row .btn-save { background: #5a8c6e; color: #fff; }
.wiz-export-row .btn-clear { background: #c62828; color: #fff; }
.wiz-export-row button:hover { transform: translateY(-1px); }

/* ---- 顶栏模式切换 ---- */
.mode-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 3px;
  margin: 0 8px;
}
.mode-switch a {
  padding: 4px 12px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}
.mode-switch a.active {
  background: rgba(255, 255, 255, 0.95);
  color: #1e7e34 !important;
  font-weight: 600;
}

@media (max-width: 720px) {
  .wiz-step-card { padding: 20px 18px; }
  .wiz-step-title { font-size: 18px; }
  .wiz-step-dots { gap: 4px; }
  .wiz-step-dot { width: 22px; height: 22px; font-size: 11px; }
  .wiz-nav { flex-direction: column; }
  .wiz-nav .btn-next, .wiz-nav .btn-finish { margin-left: 0; }
  .mode-switch { margin: 0 4px; }
  .mode-switch a { padding: 3px 8px; font-size: 12px; }
}
