/* ============================================================
 * 承运商接单全流程指南 carrier-guide.html
 * 视觉遵循官网体系：深蓝渐变头、白圆角卡、蓝主色、浅色状态胶囊、竖向时间线、纯 CSS。
 * ============================================================ */

.cg-intro {
  max-width: 880px;
  margin: 0 auto 8px;
  color: var(--yz-sub, #5a6b82);
  font-size: 15px;
  line-height: 1.85;
  text-align: center;
}

/* 流程总览胶囊 */
.cg-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 22px 0 6px;
}
.cg-overview span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: #eef4ff;
  border: 1px solid #d8e6fb;
  border-radius: 999px;
  font-size: 13px;
  color: #0A4DAA;
  font-weight: 600;
}
.cg-overview span b { color: #0984E3; }

/* 入口提示横幅：两种入口均可完成全流程 */
.cg-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin: 4px 0 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef4ff, #f4f8ff);
  border: 1px solid #d4e4fb;
}
.cg-entry__ic {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #0984E3, #0A4DAA);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.cg-entry__ic svg { width: 25px; height: 25px; }
.cg-entry__body { flex: 1 1 auto; min-width: 260px; }
.cg-entry__t { font-size: 15px; font-weight: 800; color: #0A4DAA; margin: 0 0 4px; }
.cg-entry__d { font-size: 13.5px; color: #4a5a73; line-height: 1.7; margin: 0; }
.cg-entry__d b { color: #15233b; }
.cg-entry__paths { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.cg-entry__path {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px;
  background: #fff; border: 1px solid #cfdffa;
  font-size: 12.5px; font-weight: 600; color: #0A4DAA;
  text-decoration: none;
}
.cg-entry__path svg { width: 15px; height: 15px; }
.cg-entry__path:hover { background: #f0f6ff; border-color: #b9d4f7; }

/* 纵向时间线 */
.cg-steps {
  position: relative;
  max-width: 1040px;
  margin: 34px auto 0;
  padding-left: 8px;
}
.cg-steps::before {
  content: "";
  position: absolute;
  left: 31px; top: 14px; bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, #cfe0fb, #e7eefb);
}
.cg-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 14px 0 30px;
}
.cg-step__num {
  position: relative;
  z-index: 2;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0984E3, #0A4DAA);
  color: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(10,77,170,.28);
  font-weight: 800;
}
.cg-step__num b { font-size: 22px; line-height: 1; }
.cg-step__num small { font-size: 11px; opacity: .85; margin-top: 2px; }

.cg-card {
  background: #fff;
  border: 1px solid #e8eef7;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 6px 22px rgba(20,40,80,.05);
}
.cg-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.cg-card__ic {
  width: 40px; height: 40px; flex: 0 0 auto;
  border-radius: 11px;
  background: #eef4ff;
  display: flex; align-items: center; justify-content: center;
  color: #0984E3;
}
.cg-card__ic svg { width: 22px; height: 22px; }
.cg-card__t { font-size: 19px; font-weight: 800; color: #15233b; margin: 0; }
.cg-card__sub { color: var(--yz-sub, #5a6b82); font-size: 13.5px; margin: 2px 0 14px; line-height: 1.6; }

.cg-body { display: grid; grid-template-columns: 1fr 230px; gap: 20px; align-items: start; }
.cg-list { margin: 0; padding: 0; list-style: none; }
.cg-list li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 14px;
  line-height: 1.6;
  color: #33445c;
  border-top: 1px dashed #eef2f8;
}
.cg-list li:first-child { border-top: 0; }
.cg-list li::before {
  content: "";
  position: absolute; left: 4px; top: 14px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #0984E3;
}
.cg-list li b { color: #15233b; }

/* 小标签 */
.cg-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #eaf6ee;
  color: #1f9d57;
  margin-left: 4px;
}
.cg-tag--blue { background: #eaf2ff; color: #0A4DAA; }
.cg-tag--warn { background: #fff3e6; color: #d9760a; }

/* CSS 手机界面示意 */
.cg-phone {
  width: 220px;
  background: #0f2238;
  border-radius: 26px;
  padding: 10px;
  box-shadow: 0 14px 30px rgba(15,34,55,.22);
  align-self: start;
}
.cg-phone__notch {
  width: 54px; height: 5px; border-radius: 3px;
  background: #2a466b;
  margin: 2px auto 8px;
}
.cg-phone__screen {
  background: #f4f7fb;
  border-radius: 18px;
  padding: 12px 11px;
  min-height: 280px;
  font-size: 12px;
  color: #33445c;
}
.cg-phone__ttl {
  font-weight: 800; color: #15233b; font-size: 13px;
  margin-bottom: 9px; display: flex; align-items: center; gap: 6px;
}
.cg-phone__row {
  background: #fff; border: 1px solid #e8eef7; border-radius: 9px;
  padding: 7px 9px; margin-bottom: 7px;
  display: flex; justify-content: space-between; align-items: center; gap: 6px;
}
.cg-phone__row span:first-child { color: #7a8aa3; }
.cg-phone__row b { color: #15233b; font-weight: 700; }
.cg-phone__field {
  background: #fff; border: 1px solid #e1e9f4; border-radius: 8px;
  padding: 7px 9px; margin-bottom: 7px; color: #9aa8bd;
}
.cg-phone__field b { color: #15233b; }
.cg-phone__btn {
  display: block; text-align: center;
  background: linear-gradient(135deg, #0984E3, #0A4DAA);
  color: #fff; font-weight: 700; border-radius: 9px;
  padding: 9px; margin-top: 4px; font-size: 12.5px;
}
.cg-phone__btn--ghost { background: #e8eef7; color: #4a5a73; }
.cg-phone__chip {
  display: inline-block; padding: 3px 8px; border-radius: 7px;
  background: #eaf2ff; color: #0A4DAA; font-weight: 700; font-size: 11px;
}
.cg-phone__dot { width: 8px; height: 8px; border-radius: 50%; background: #0984E3; display: inline-block; margin-right: 5px; }
.cg-phone__dot--ok { background: #1f9d57; }
.cg-phone__dot--warn { background: #f0a23a; }

/* 提示条 */
.cg-note {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 11px;
  background: #fff8ef;
  border: 1px solid #ffe6c2;
  color: #8a5a12;
  font-size: 13px;
  line-height: 1.65;
}
.cg-note b { color: #7a4e0e; }

/* FAQ */
.cg-faq { max-width: 880px; margin: 8px auto 0; }
.cg-faq details {
  background: #fff; border: 1px solid #e8eef7; border-radius: 12px;
  padding: 14px 18px; margin-bottom: 10px;
}
.cg-faq summary { font-weight: 700; color: #15233b; cursor: pointer; }
.cg-faq details p { color: var(--yz-sub, #5a6b82); font-size: 13.5px; line-height: 1.75; margin: 8px 0 0; }

@media (max-width: 760px) {
  .cg-body { grid-template-columns: 1fr; }
  .cg-phone { width: 100%; max-width: 280px; margin: 0 auto; }
  .cg-steps::before { left: 31px; }
}

/* ============================================================
 * 宽屏（≥1500px）饱满化：时间线放宽到 1400px、清单双栏、
 * 手机示意放大，避免 1920 宽屏两侧大片留白、内容显单薄。
 * ============================================================ */
@media (min-width: 1500px) {
  .cg-intro { max-width: 1160px; }
  .cg-faq { max-width: 1160px; }
  .cg-overview { max-width: 1400px; margin-left: auto; margin-right: auto; }
  .cg-entry { max-width: 1400px; margin-left: auto; margin-right: auto; }
  .cg-steps { max-width: 1400px; }
  .cg-body { grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
  .cg-card { padding: 24px 28px; }
  .cg-card__t { font-size: 20px; }
  .cg-list { column-count: 2; column-gap: 36px; }
  .cg-list li { break-inside: avoid; }
  .cg-phone { width: 260px; }
  .cg-phone__screen { min-height: 300px; }
}
