/* Journey & Common Interaction (v9)
 * 仅包含“流程化/导航/表单/提示”的组件；配色跟随 fc.css 变量。
 */

.fc-journey-wrap{
  max-width: 1120px;
  margin: 18px auto 0;
  padding: 0 12px 56px;
}

.fc-journey-grid{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 980px){
  .fc-journey-grid{ grid-template-columns: 1fr; }
}

.fc-journey-side{
  position: sticky;
  top: 86px;
}
@media (max-width: 980px){
  .fc-journey-side{ position: static; }
}

/* 阶段列表 */
.fc-stage-list{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow2);
  padding: 10px;
}
.fc-stage-item{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 10px 10px;
  border-radius: 14px;
  text-decoration:none;
  color: var(--fc-text);
  border: 1px solid transparent;
  transition: background-color .14s ease, border-color .14s ease, transform .14s ease;
}
.fc-stage-item:hover{
  background: rgba(15,45,92,0.05);
  border-color: rgba(15,45,92,0.10);
  transform: translateY(-1px);
}
.fc-stage-item.active{
  background: linear-gradient(135deg, rgba(15,45,92,0.08), rgba(176,141,87,0.08));
  border-color: rgba(176,141,87,0.22);
}
.fc-stage-badge{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--fc-navy), var(--fc-navy2));
  box-shadow: 0 12px 26px rgba(15,45,92,0.18);
}
.fc-stage-title{
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.fc-stage-sub{
  font-size: 12px;
  color: rgba(71,85,105,0.92);
}

/* 右侧阶段内容卡片 */
.fc-stage-panel{
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.92);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow2);
  overflow: hidden;
}
.fc-stage-head{
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
  background: linear-gradient(135deg, rgba(15,45,92,0.05), rgba(176,141,87,0.05));
}
.fc-stage-head h2{ margin: 0 0 6px; font-size: 18px; font-weight: 950; }
.fc-stage-head small{
  display:inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(71,85,105,0.85);
}
.fc-stage-body{ padding: 18px 18px 18px; }

.fc-form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 980px){ .fc-form-grid{ grid-template-columns: 1fr; } }

.fc-field label{
  display:block;
  font-size: 13px;
  color: rgba(71,85,105,0.95);
  margin-bottom: 6px;
}
.fc-field input:not([type="checkbox"]):not([type="radio"]),
.fc-field select,
.fc-field textarea{
  width: 100%;
  padding: 11px 12px;
  border-radius: var(--fc-radius-sm);
  border: 1px solid rgba(15,23,42,0.14);
  outline:none;
  background: rgba(255,255,255,0.98);
}
.fc-field input[type="checkbox"],
.fc-field input[type="radio"]{
  width: auto;
  padding: 0;
  min-height: auto;
  height: auto;
}
.fc-field textarea{ min-height: 110px; resize: vertical; }

.fc-actions{
  display:flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* 主按钮组件（旅程页使用） */
.fc-btn{
  appearance:none;
  border: 1px solid rgba(15,23,42,0.14);
  background: rgba(255,255,255,0.98);
  color: rgba(15,23,42,0.92);
  padding: 10px 16px;
  border-radius: var(--fc-radius-btn);
  cursor:pointer;
  font-weight: 850;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.fc-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(15,45,92,0.20);
  box-shadow: 0 14px 28px rgba(2,6,23,0.10);
}
.fc-btn.primary{
  border-color: rgba(15,45,92,0.25);
  background: linear-gradient(135deg, var(--fc-navy), var(--fc-navy2));
  color: #fff;
  box-shadow: 0 18px 40px rgba(15,45,92,0.18);
}
.fc-btn.danger{
  border-color: rgba(239,68,68,0.25);
  background: rgba(239,68,68,0.06);
  color: rgba(127,29,29,0.92);
}

.fc-note{
  border: 1px solid rgba(15,23,42,0.10);
  background: linear-gradient(135deg, rgba(15,45,92,0.04), rgba(176,141,87,0.04));
  padding: 12px 14px;
  border-radius: var(--fc-radius);
  color: rgba(71,85,105,0.95);
  font-size: 14px;
  margin: 12px 0;
}
.fc-note strong{ color: rgba(15,23,42,0.92); }

/* AI 输出区域（若页面启用） */
.fc-ai{
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: var(--fc-radius);
  border: 1px dashed rgba(15,45,92,0.22);
  background: rgba(15,45,92,0.04);
}
.fc-ai .fc-ai-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.fc-ai .fc-ai-row .hint{ color: rgba(71,85,105,0.95); font-size: 14px; }
.fc-ai-output{
  white-space: pre-wrap;
  margin-top: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.98);
  font-size: 14px;
  color: rgba(15,23,42,0.92);
  display:none;
}



/* ========================================================================
 * Elite Aurora UI (v10) — Journey overrides
 * - 让自助流程侧边导航与 v10 主站一致，更炫酷但不花
 * - 调整 sticky top 值，避免在不同 header 高度下出现遮挡
 * ====================================================================== */

.fc-journey-wrap{
  margin-top: 0;
  padding-top: 0;
}

.fc-journey-side{ top: 92px; }

.fc-stage-list{
  background: rgba(255,255,255,0.82);
  border-color: rgba(11,42,74,0.10);
  box-shadow: 0 14px 34px rgba(15,23,42,0.10);
}

.fc-stage-item.active{
  background: linear-gradient(135deg, rgba(11,42,74,0.10), rgba(199,163,91,0.16));
  border-color: rgba(199,163,91,0.28);
}

.fc-stage-badge{
  background: linear-gradient(135deg, rgba(11,42,74,0.10), rgba(199,163,91,0.22));
  border-color: rgba(199,163,91,0.22);
}

.fc-stage-pane{
  background: rgba(255,255,255,0.84);
  border-color: rgba(11,42,74,0.10);
  box-shadow: 0 18px 46px rgba(15,23,42,0.10);
}

.fc-stage-head{
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.86));
}



/* =============================================================================
 * Aurora Journey v10 — 流程侧边栏与步骤视觉统一（跟随 Aurora 渐变）
 * ========================================================================== */

.fc-stage-list{
  background: rgba(255,255,255,0.88);
  border-color: rgba(15,23,42,0.10);
  overflow:hidden;
  position: relative;
}
.fc-stage-list::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(circle at 10% 0%, rgba(29,78,216,0.08), transparent 55%);
}
.fc-stage-item.active{
  border-color: rgba(176,141,87,0.22);
  background: linear-gradient(135deg, rgba(15,45,92,0.10), rgba(176,141,87,0.10));
}
.fc-stage-badge{
  background: linear-gradient(135deg, var(--fc-navy), var(--fc-navy2));
  border-color: rgba(15,45,92,0.18);
}
.fc-stage-badge.done{
  background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(15,45,92,0.12));
}

/* 步骤卡片边框与主站一致 */
.fc-stage-card{
  position: relative;
  overflow: hidden;
}
.fc-stage-card::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--fc-aurora);
  background-size: 220% 100%;
  animation: fc-aurora-shift 10s ease-in-out infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.18;
  pointer-events:none;
}



/* === V13 Button Normalization ============================================
 * journey.css 在 fc.css 之后加载；这里做最终兜底，确保全站按钮尺寸一致。
 */
.fc-btn, .btn, .fc-primary-btn, .fc-primary-btn-sub{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 16px;
  border-radius: var(--fc-radius-btn);
  font-weight:800;
  line-height:1;
  font-size: 14px;
  text-align: center;
  line-height: 1.1;
}

.fc-actions{ gap: 10px; flex-wrap: wrap; }
