/* ============================================================
 * guided-resume.css — 引导式简历样式
 * =========================================================== */

/* --- 头部 --- */
.gp-header {
  background: linear-gradient(135deg, #FF6600, #CC5200);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gp-header .gp-back {
  font-size: 22px;
  cursor: pointer;
  padding: 2px;
}
.gp-header .gp-title {
  font-size: 16px;
  font-weight: 700;
  flex: 1;
}
.gp-header .gp-pct {
  background: rgba(255,255,255,.15);
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 700;
}

/* --- 进度条 --- */
.gp-bar-wrap {
  padding: 8px 16px 0;
  background: #fff;
}
.gp-bar-track {
  height: 4px;
  background: #E5E7EB;
  border-radius: 2px;
  overflow: hidden;
  margin: 0 2px 8px;
}
.gp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF6600, #FF8533);
  border-radius: 2px;
  transition: width .4s ease;
}

.gp-steps {
  display: flex;
  justify-content: space-between;
  padding: 0 4px 8px;
  background: #fff;
}
.gp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
  opacity: .35;
  transition: all .2s;
}
.gp-step.active { opacity: 1; }
.gp-step.done { opacity: .65; }
.gp-dot {
  font-size: 11px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #F3F4F6;
  color: #999;
  font-weight: 700;
}
.gp-step.active .gp-dot {
  background: #FF6600;
  color: #fff;
}
.gp-step.done .gp-dot {
  background: #10B981;
  color: #fff;
}
.gp-label {
  font-size: 8px;
  color: #666;
  white-space: nowrap;
  font-weight: 500;
}
.gp-step.active .gp-label { color: #FF6600; font-weight: 700; }
.gp-step.done .gp-label { color: #10B981; }

/* --- 步骤内容 --- */
.gp-step-content {
  background: #fff;
  margin: 6px 12px;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.gp-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F3F4F6;
}
.gp-hint {
  font-size: 12px;
  color: #9CA3B3;
  margin-bottom: 12px;
}
.gp-field {
  margin-bottom: 12px;
}
.gp-field label {
  display: block;
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 4px;
  font-weight: 500;
}
.gp-field input,
.gp-field select,
.gp-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: 14px;
  color: #1F2937;
  outline: none;
  background: #fff;
  box-sizing: border-box;
  transition: border-color .2s;
}
.gp-field input:focus,
.gp-field select:focus,
.gp-field textarea:focus {
  border-color: #FF6600;
  box-shadow: 0 0 0 3px rgba(255,102,0,.1);
}
.gp-field textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

/* --- 技能标签 --- */
.gp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.gp-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  background: #F3F4F6;
  color: #555;
  transition: all .15s;
  border: 1px solid transparent;
}
.gp-tag:active { opacity: .7; }
.gp-tag.ac {
  background: #FFF0E0;
  color: #FF6600;
  border-color: #FF6600;
  font-weight: 600;
}

/* --- 按钮区 --- */
.gp-actions {
  display: flex;
  gap: 10px;
  padding: 16px 12px 24px;
  justify-content: space-between;
}
.gp-btn {
  flex: 1;
  padding: 12px 0;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: opacity .15s;
}
.gp-btn:active { opacity: .75; }
.gp-btn-next {
  background: linear-gradient(135deg, #FF6600, #CC5200);
  color: #fff;
}
.gp-btn-prev {
  background: #F3F4F6;
  color: #666;
}
