/* 紫蓝渐变 hero 标题 (与 gpt.aws32v.com 同款样式) */
.hero-title {
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 55%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 提交按钮渐变 */
.btn-grad {
  background: linear-gradient(90deg, #4f7df0 0%, #7c5cf0 60%, #9b6ff0 100%);
  transition: filter 0.15s, opacity 0.15s;
}
.btn-grad:hover:not(:disabled) { filter: brightness(1.05); }

/* Stepper：默认（未达） */
.step .step-circle {
  background: #cbd5e1;
  color: #ffffff;
}
.step .step-label {
  color: #94a3b8;
}
.step-line {
  background: #e2e8f0;
}

/* Stepper：当前激活 */
.step.active .step-circle {
  background: #3b82f6;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
.step.active .step-label {
  color: #1d4ed8;
}

/* Stepper：已完成（绿勾） */
.step.done .step-circle {
  background: #22c55e;
  color: #ffffff;
}
.step.done .step-label {
  color: #15803d;
}
.step-line.done {
  background: #86efac;
}

/* 状态面板大图标：转圈 / 绿勾 / 红叉，纯 CSS 不拉图 */
.status-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  position: relative;
}
.status-icon.spin {
  border: 6px solid #e0e7ff;
  border-top-color: #6366f1;
  animation: status-spin 0.9s linear infinite;
}
.status-icon.ok,
.status-icon.err {
  animation: status-pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.status-icon.ok { background: #22c55e; box-shadow: 0 0 0 10px #dcfce7; }
.status-icon.ok::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 16px;
  width: 18px;
  height: 34px;
  border: solid #fff;
  border-width: 0 6px 6px 0;
  transform: rotate(45deg);
}
.status-icon.err { background: #ef4444; box-shadow: 0 0 0 10px #fee2e2; }
.status-icon.err::before,
.status-icon.err::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38px;
  height: 6px;
  background: #fff;
  border-radius: 3px;
  transform: translate(-50%, -50%) rotate(45deg);
}
.status-icon.err::after { transform: translate(-50%, -50%) rotate(-45deg); }
@keyframes status-spin { to { transform: rotate(360deg); } }
@keyframes status-pop {
  from { transform: scale(0.3); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* 状态结果着色 */
.status-result-ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.status-result-err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
