/* ============================================================================
   引潮 GEO · 98 元诊断下单表单样式（order.css）
   只服务 #order 下单区；类名统一 of- 前缀，避免与 site.css 的 173 个类冲突
   变量全部沿用 site.css 的设计令牌
   ========================================================================= */

.of { display: grid; gap: var(--s-5); }

.of__row { display: grid; gap: var(--s-5); }
@media (min-width: 620px) {
  .of__row--2 { grid-template-columns: 1fr 1fr; }
}

.of__f { display: block; }

.of__l {
  display: block;
  margin-bottom: 7px;
  font-size: 13.4px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--t1);
}
.of__l b { color: var(--brand); font-weight: 600; }
.of__l i { font-style: normal; font-weight: 400; color: var(--t3); font-size: 12.4px; }

.of input[type="text"],
.of input[type="email"],
.of textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  line-height: 1.6;
  color: var(--t1);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.of input::placeholder,
.of textarea::placeholder { color: #A8B2C2; }
.of input[type="text"]:focus,
.of input[type="email"]:focus,
.of textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-50);
}
.of textarea { min-height: 84px; resize: vertical; }

/* 验证码一行 */
.of__cap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.of__capq {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--t1);
  min-width: 78px;
}
.of__cap .of__capin { display: inline-block; flex: none; width: 92px; }
.of__capin input { text-align: center; font-family: var(--font-mono); font-weight: 600; }
.of__refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--t2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.of__refresh:hover { color: var(--brand); border-color: var(--brand-line); background: var(--brand-50); }
.of__refresh svg { width: 15px; height: 15px; }
.of__refresh[disabled] { opacity: .5; cursor: default; }

/* 已付款勾选 */
.of__chk {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.7;
  color: var(--t2);
  cursor: pointer;
}
.of__chk input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  flex: none;
  accent-color: var(--brand);
  cursor: pointer;
}

/* 提交按钮 */
.of__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 22px;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  box-shadow: var(--sh-brand);
}
.of__submit:hover { background: var(--brand-700); border-color: var(--brand-700); }
.of__submit[disabled] { opacity: .6; cursor: default; box-shadow: none; }
.of__submit svg { width: 17px; height: 17px; }

/* 结果提示 */
.of__msg {
  display: none;
  gap: 10px;
  align-items: flex-start;
  margin-top: var(--s-4);
  padding: 13px 16px;
  font-size: 14px;
  line-height: 1.75;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--t2);
}
.of__msg.is-on { display: flex; }
.of__msg svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }
.of__msg a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.of__msg--ok { background: var(--teal-50); border-color: rgba(0, 194, 160, .3); color: var(--teal-ink); }
.of__msg--ok svg { color: var(--teal-ink); }
.of__msg--err { background: var(--red-50); border-color: rgba(229, 72, 77, .22); color: var(--red-ink); }
.of__msg--err svg { color: var(--red-ink); }

/* 表单脚注 */
.of__foot { margin-top: var(--s-4); font-size: 12.8px; line-height: 1.7; color: var(--t3); }

@media (max-width: 520px) {
  .of__cap { gap: 8px; }
  .of__capq { min-width: 64px; font-size: 15px; }
}
