/*
 * 全芯联储 — 表单页（发布需求、维修工单、商家入驻）
 * 表单放在 .cp 内容页外壳里，手机 .cp--m 用 rem，PC .cp--pc 用 px。
 */

.qf_hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.qf_section { color: #111; font-weight: 800; }
.cp--pc .qf_section { margin: 6px 0 16px; font-size: 18px; }
.cp--m .qf_section { margin: .06rem 0 .2rem; font-size: .3rem; }
.qf_section + .qf_grid + .qf_section,
.qf_grid + .qf_section { padding-top: 8px; border-top: 1px dashed #eee; }
.cp--pc .qf_grid + .qf_section { margin-top: 26px; padding-top: 22px; }
.cp--m .qf_grid + .qf_section { margin-top: .32rem; padding-top: .28rem; }

.qf_grid { display: grid; }
.cp--pc .qf_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.cp--m .qf_grid { gap: .24rem; }
.cp--pc .qf_field--full { grid-column: 1 / -1; }

.qf_label { display: block; color: #333; font-weight: 600; }
.cp--pc .qf_label { margin-bottom: 8px; font-size: 14px; }
.cp--m .qf_label { margin-bottom: .1rem; font-size: .26rem; }
.qf_label em { margin-left: 3px; color: #ff4d1a; font-style: normal; }

.qf_field input[type="text"], .qf_field input[type="tel"], .qf_field input[type="email"],
.qf_field select, .qf_field textarea {
  display: block; width: 100%; border: 1px solid #e3e3e3; border-radius: 6px;
  color: #222; background: #fff; font-family: inherit; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cp--pc .qf_field input, .cp--pc .qf_field select { height: 42px; padding: 0 12px; font-size: 14px; }
.cp--m .qf_field input, .cp--m .qf_field select { height: .84rem; padding: 0 .2rem; font-size: .28rem; }
.cp--pc .qf_field textarea { padding: 10px 12px; font-size: 14px; line-height: 1.6; resize: vertical; }
.cp--m .qf_field textarea { padding: .16rem .2rem; font-size: .28rem; line-height: 1.6; }
.qf_field input:focus, .qf_field select:focus, .qf_field textarea:focus { border-color: #ff9a55; box-shadow: 0 0 0 3px rgba(255, 118, 26, .12); }
.qf_field.has_error input, .qf_field.has_error select, .qf_field.has_error textarea { border-color: #ff4d1a; }
.qf_error { margin: 6px 0 0 !important; color: #ff4d1a; font-size: 12px; }

.qf_choices { display: flex; flex-wrap: wrap; gap: 10px; }
.cp--m .qf_choices { gap: .14rem; }
.qf_choice { position: relative; cursor: pointer; }
.qf_choice input { position: absolute; opacity: 0; pointer-events: none; }
.qf_choice span { display: inline-block; border: 1px solid #e3e3e3; border-radius: 6px; color: #555; background: #fff; transition: all .15s ease; }
.cp--pc .qf_choice span { padding: 8px 14px; font-size: 14px; }
.cp--m .qf_choice span { padding: .12rem .22rem; font-size: .26rem; }
.qf_choice input:checked + span { border-color: #ff761a; color: #ff761a; background: #fff5ee; font-weight: 600; }
.qf_choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255, 118, 26, .2); }

.qf_alert { padding: 12px 14px; border-radius: 6px; color: #b73a0b; background: #fff1e8; font-size: 14px; }
.cp--pc .qf_alert { margin-bottom: 18px; }
.cp--m .qf_alert { margin-bottom: .2rem; font-size: .26rem; }

.qf_submit { display: flex; align-items: center; gap: 16px; }
.cp--pc .qf_submit { margin-top: 28px; }
.cp--m .qf_submit { flex-direction: column; align-items: stretch; gap: .14rem; margin-top: .36rem; }
.qf_privacy { color: #aaa; font-size: 12px; }
.cp--m .qf_privacy { text-align: center; }

.qf_btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #ff761a; border-radius: 6px; color: #ff761a !important; background: #fff;
  font-family: inherit; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.cp--pc .qf_btn { height: 42px; padding: 0 24px; font-size: 15px; }
.cp--m .qf_btn { height: .84rem; padding: 0 .32rem; font-size: .28rem; }
.qf_btn--solid { color: #fff !important; background: #ff761a; }
.qf_btn--solid:hover { background: #f5680e; }
.cp--pc .qf_btn--lg { height: 48px; padding: 0 40px; font-size: 16px; }
.cp--m .qf_btn--lg { height: .92rem; font-size: .3rem; }

/* 提交成功 */
.qf_done { text-align: center; }
.cp--pc .qf_done { padding: 48px 32px !important; }
.qf_done_icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  color: #fff; background: linear-gradient(135deg, #ff9a3c, #ff6412); font-size: 32px; font-weight: 800;
}
.qf_done h2 { margin-top: 16px !important; color: #111; font-size: 22px; font-weight: 800; }
.cp--m .qf_done h2 { font-size: .36rem; }
.qf_done p { margin-top: 8px !important; color: #777; font-size: 14px; line-height: 1.7; }
.cp--m .qf_done p { font-size: .26rem; }
.qf_done_actions { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }

/* 流程步骤 */
.qf_steps { display: grid; margin: 0; padding: 0; list-style: none; }
.cp--pc .qf_steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cp--m .qf_steps { gap: .2rem; }
.cp--pc .qf_steps--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qf_steps li { display: flex; gap: 12px; }
.qf_step_no {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px; color: #fff; background: #ff761a; font-weight: 800;
}
.qf_steps strong { display: block; color: #222; font-size: 15px; }
.qf_steps p { margin-top: 4px !important; color: #888; font-size: 13px; line-height: 1.6; }
.cp--m .qf_steps strong { font-size: .28rem; }
.cp--m .qf_steps p { font-size: .24rem; }

/* 入驻页 */
.cp--pc .qf_join_grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.qf_list { margin: 0; padding: 0; list-style: none; }
.qf_list li { position: relative; padding-left: 24px; color: #444; line-height: 1.7; }
.qf_list li + li { margin-top: 8px; }
.qf_list li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px;
  border-left: 2px solid #ff761a; border-bottom: 2px solid #ff761a; transform: rotate(-45deg);
}
.cp--pc .qf_list li { font-size: 14px; }
.cp--m .qf_list li { font-size: .26rem; }
.qf_benefits { display: flex; flex-wrap: wrap; gap: 10px; }
.qf_benefits span { padding: 8px 16px; border-radius: 999px; color: #ff761a; background: #fff2e8; font-size: 14px; font-weight: 700; }
.cp--m .qf_benefits span { font-size: .26rem; }
