/* ============================================================
 * 九洲易运官网 · 承运商入驻（宽屏风格，沿用 site.css 视觉语言）
 * 深蓝渐变头 + 白卡细边 + 蓝/深蓝/橙 + 成功态用蓝（不用绿）
 * ============================================================ */
.yz-settle{max-width:1040px;margin:0 auto}

.yz-settle__view{/* 各状态视图容器，由 JS 显隐 */}
  animation:yz-settle-fade .25s ease;
}
@keyframes yz-settle-fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* 白卡（与全站卡片一致） */
.yz-settle__card{
  background:#fff;border:1px solid var(--yz-line);border-radius:var(--radius);
  padding:30px 32px 32px;margin-bottom:24px;box-shadow:var(--shadow-sm);
}
.yz-settle__card--plain{background:#FAFBFC;border:1px solid #F0F2F5;box-shadow:none}
.yz-settle__card-head{display:flex;align-items:center;margin-bottom:24px}
.yz-settle__bar{width:8px;height:34px;border-radius:4px;margin-right:14px;flex-shrink:0;
  background:linear-gradient(180deg,var(--yz-deep),var(--yz-primary));}
.yz-settle__bar--ok{background:linear-gradient(180deg,#1677ff,#0A4DAA)}
.yz-settle__bar--err{background:linear-gradient(180deg,#FF7875,var(--yz-danger))}
.yz-settle__card-head h3{font-size:19px;font-weight:700;color:var(--yz-deep);letter-spacing:.5px}

/* ===== 四步流程条 ===== */
.yz-settle__flow{
  display:flex;align-items:flex-start;gap:0;margin-bottom:28px;
  background:#fff;border:1px solid var(--yz-line);border-radius:var(--radius);
  padding:28px 24px;box-shadow:var(--shadow-sm);
}
.yz-settle__flow--static{padding:26px 24px}
.yz-settle__step{
  flex:1;position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;
}
.yz-settle__step::after{
  content:"";position:absolute;top:18px;left:50%;width:100%;height:3px;
  background:repeating-linear-gradient(90deg,#E2E4E8 0 14px,transparent 14px 22px);
  z-index:0;
}
.yz-settle__step:last-child::after{display:none}
.yz-settle__num{
  position:relative;z-index:1;width:38px;height:38px;border-radius:50%;
  background:linear-gradient(135deg,var(--yz-deep),var(--yz-primary));color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;
  box-shadow:0 4px 12px rgba(9,132,227,.22);margin-bottom:14px;
}
.yz-settle__num--done{background:linear-gradient(135deg,#1677ff,#0A4DAA);box-shadow:0 6px 16px rgba(22,119,255,.28)}
.yz-settle__num--active{box-shadow:0 0 0 8px rgba(9,132,227,.16)}
.yz-settle__num--rej{background:var(--yz-danger);box-shadow:0 6px 16px rgba(229,72,77,.28)}
.yz-settle__step b{font-size:15px;color:var(--yz-text);font-weight:700}
.yz-settle__step span{font-size:12.5px;color:var(--yz-sub);margin-top:4px}
.yz-settle__rej{color:var(--yz-danger)!important}

/* ===== 类型选择（2x2） ===== */
.yz-settle__types{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.yz-settle__type{
  display:flex;align-items:center;gap:16px;padding:22px 24px;background:#fff;
  border:2px solid var(--yz-line);border-radius:16px;cursor:pointer;transition:.15s;text-align:left;
}
.yz-settle__type:hover{border-color:#cfe2f7;box-shadow:0 6px 16px rgba(9,132,227,.08)}
.yz-settle__type--on{border-color:var(--yz-primary);background:#F0F5FB;box-shadow:0 6px 18px rgba(9,132,227,.12)}
.yz-settle__type-ic{
  width:54px;height:54px;border-radius:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#e8f1ff,#d6e7ff);color:var(--yz-primary);
}
.yz-settle__type-ic svg{width:28px;height:28px}
.yz-settle__type-tx{display:flex;flex-direction:column;min-width:0}
.yz-settle__type-name{font-size:17px;font-weight:700;color:var(--yz-deep)}
.yz-settle__type--on .yz-settle__type-name{color:var(--yz-primary)}
.yz-settle__type-desc{font-size:13px;color:var(--yz-sub);margin-top:5px}

/* ===== 所需材料清单（带示例图，与客户端字段一致） ===== */
.yz-settle__mat{display:flex;flex-wrap:wrap;gap:18px 20px}
.yz-settle__mat-item{flex:1 1 calc(33.333% - 14px);min-width:180px;max-width:280px;display:flex;flex-direction:column;align-items:center;text-align:center}
.yz-settle__mat-img{width:100%;aspect-ratio:33/20;object-fit:cover;border-radius:12px;background:#f2f5f9;border:1px solid var(--yz-line)}
.yz-settle__mat-label{margin-top:12px;font-size:13.5px;color:var(--yz-text);line-height:1.4}
.yz-settle__mat-ic{width:18px;height:18px;color:var(--yz-primary);flex-shrink:0}
.yz-settle__mat-txt{font-size:14.5px;color:var(--yz-text)}

/* ===== 权益（三列） ===== */
.yz-settle__benefit{display:flex;flex-wrap:wrap;gap:20px;justify-content:center}
.yz-settle__benefit-item{flex:1;min-width:150px;max-width:220px;display:flex;flex-direction:column;align-items:center;text-align:center}
.yz-settle__benefit-ic{
  width:56px;height:56px;border-radius:16px;margin-bottom:12px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#e8f1ff,#d6e7ff);color:var(--yz-primary);
}
.yz-settle__benefit-ic svg{width:30px;height:30px}
.yz-settle__benefit-item b{font-size:15px;color:var(--yz-deep)}
.yz-settle__benefit-item span{font-size:12.5px;color:var(--yz-sub);margin-top:4px}

/* ===== 表单 section ===== */
.yz-settle__sec{margin-bottom:22px}
.yz-settle__sec-head{display:flex;align-items:center;margin-bottom:16px}
.yz-settle__sec-bar{width:6px;height:24px;border-radius:3px;margin-right:12px;background:var(--yz-primary);flex-shrink:0}
.yz-settle__sec-title{font-size:16px;font-weight:700;color:var(--yz-deep)}
.yz-settle__sec-hint{font-size:12.5px;color:var(--yz-sub);margin-left:10px}
.yz-settle__sec-count{margin-left:auto;font-size:13px;font-weight:700;color:var(--yz-primary);background:rgba(9,132,227,.1);padding:4px 12px;border-radius:20px}

/* 文本字段 */
.yz-settle__fields{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px}
.yz-settle__field{display:flex;flex-direction:column}
.yz-settle__field-label{font-size:13.5px;color:#5a6473;margin-bottom:9px}
.yz-settle__req{color:var(--yz-danger);margin-right:4px}
.yz-settle__input{
  width:100%;height:48px;box-sizing:border-box;padding:0 16px;background:#f6f8fb;
  border:1px solid #eceff4;border-radius:12px;font-size:15px;color:var(--yz-text);outline:none;transition:.15s;
}
.yz-settle__input:focus{border-color:var(--yz-primary);background:#fff;box-shadow:0 0 0 3px rgba(9,132,227,.1)}
.yz-settle__input--filled{background:#fff;border-color:#dfe4ec}
.yz-settle__input--error{border-color:var(--yz-danger);background:rgba(229,72,77,.05)}

/* 图片网格 */
.yz-settle__grid{display:flex;flex-wrap:wrap;margin:0 -8px}
.yz-settle__cell{flex:0 0 50%;box-sizing:border-box;padding:0 8px 16px}
.yz-settle__grid--multi .yz-settle__cell{flex:0 0 33.3333%}
.yz-settle__shot{
  position:relative;height:140px;border-radius:14px;background:#f6f8fb;border:2px dashed #d3dae4;
  overflow:hidden;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.15s;
}
.yz-settle__shot--sm{height:118px}
.yz-settle__shot--filled{border-style:solid;border-color:#e6eaf0;background:#fff}
.yz-settle__shot--error{border-color:var(--yz-danger);background:rgba(229,72,77,.05)}
.yz-settle__shot-img{width:100%;height:100%;object-fit:cover;display:block}
.yz-settle__shot-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9aa4b2}
.yz-settle__cam{position:relative;width:44px;height:34px;border:2px solid #c3cbd6;border-radius:8px;background:#fff;margin-bottom:8px}
.yz-settle__cam::before{content:"";position:absolute;top:-9px;left:50%;transform:translateX(-50%);width:18px;height:9px;background:#c3cbd6;border-radius:5px 5px 0 0}
.yz-settle__cam::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:16px;height:16px;border:2px solid #c3cbd6;border-radius:50%}
.yz-settle__shot-tip{font-size:13px}
.yz-settle__shot-ok{position:absolute;left:0;bottom:0;padding:3px 10px;border-radius:0 10px 0 0;font-size:12px;color:#fff;background:var(--yz-primary);z-index:5}
.yz-settle__shot-del{position:absolute;top:6px;right:6px;width:26px;height:26px;z-index:20;background:rgba(0,0,0,.55);border-radius:50%;cursor:pointer}
.yz-settle__shot-del::before,.yz-settle__shot-del::after{content:"";position:absolute;top:50%;left:50%;width:13px;height:2px;background:#fff;border-radius:2px}
.yz-settle__shot-del::before{transform:translate(-50%,-50%) rotate(45deg)}
.yz-settle__shot-del::after{transform:translate(-50%,-50%) rotate(-45deg)}
.yz-settle__cell-label{margin-top:9px;text-align:center;font-size:13px;color:#5a6473}

/* 提示 + 提交栏 */
.yz-settle__notice{display:flex;align-items:flex-start;gap:12px;padding:4px 4px 0;margin-bottom:22px}
.yz-settle__notice-dot{width:9px;height:9px;border-radius:50%;background:var(--yz-primary);margin-top:7px;flex-shrink:0}
.yz-settle__notice span{flex:1;font-size:13px;color:var(--yz-sub);line-height:1.7}
.yz-settle__submit-bar{
  position:sticky;bottom:18px;z-index:20;display:flex;align-items:center;gap:20px;
  background:#fff;border:1px solid var(--yz-line);border-radius:16px;padding:16px 24px;
  box-shadow:0 12px 32px rgba(23,43,77,.12);
}
.yz-settle__submit-info{display:flex;align-items:baseline;gap:6px;flex-shrink:0}
.yz-settle__submit-info b{font-size:22px;font-weight:800;color:var(--yz-primary)}
.yz-settle__submit-info span{font-size:13px;color:var(--yz-sub)}
.yz-settle__submit-bar .btn{margin-left:auto;min-width:200px}

/* ===== 第1页：下一步栏 ===== */
.yz-settle__next-bar{display:flex;justify-content:center;margin:8px 0 4px}
.yz-settle__next-bar .btn{min-width:260px}

/* ===== 第2页：认证类型 hero + 资料完成度进度 ===== */
.yz-settle__auth-hero{
  display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
  background:#fff;border:1px solid var(--yz-line);border-radius:var(--radius);
  padding:24px 30px;margin-bottom:24px;box-shadow:var(--shadow-sm);
}
.yz-settle__auth-hero-main{display:flex;flex-direction:column;min-width:0}
.yz-settle__auth-hero-main b{font-size:20px;font-weight:800;color:var(--yz-deep);letter-spacing:.5px}
.yz-settle__auth-hero-main span{font-size:13.5px;color:var(--yz-sub);margin-top:6px;line-height:1.6}
.yz-settle__prog{display:flex;flex-direction:column;gap:9px;min-width:200px;flex:1;max-width:320px}
.yz-settle__prog-head{display:flex;align-items:baseline;justify-content:space-between}
.yz-settle__prog-label{font-size:13px;color:var(--yz-sub)}
.yz-settle__prog-head b{font-size:16px;font-weight:800;color:var(--yz-primary)}
.yz-settle__prog-track{height:8px;border-radius:6px;background:#EEF1F6;overflow:hidden}
.yz-settle__prog-fill{display:block;height:100%;width:0;border-radius:6px;background:linear-gradient(90deg,var(--yz-primary),var(--yz-deep));transition:width .35s ease}

/* ===== 状态视图 ===== */
.yz-settle__status{display:flex;flex-direction:column;align-items:center;text-align:center;padding:14px 0 24px}
.yz-settle__status-ic{position:relative;width:64px;height:64px;border-radius:50%;margin-bottom:18px}
.yz-settle__status-ic--spin{background:rgba(9,132,227,.1)}
.yz-settle__status-ic--spin::after{content:"";position:absolute;top:50%;left:50%;width:30px;height:30px;margin:-21px 0 0 -21px;border:4px solid rgba(9,132,227,.28);border-top-color:var(--yz-primary);border-radius:50%;animation:yz-settle-spin .9s linear infinite}
.yz-settle__status-ic--ok{background:rgba(9,132,227,.1)}
.yz-settle__status-ic--ok::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:32px;margin:-22px 0 0 -11px;border:solid var(--yz-primary);border-width:0 6px 6px 0;transform:translate(-50%,-50%) rotate(45deg)}
.yz-settle__status-ic--no{background:rgba(229,72,77,.1)}
.yz-settle__status-ic--no::before,.yz-settle__status-ic--no::after{content:"";position:absolute;top:50%;left:50%;width:32px;height:5px;background:var(--yz-danger);border-radius:3px}
.yz-settle__status-ic--no::before{transform:translate(-50%,-50%) rotate(45deg)}
.yz-settle__status-ic--no::after{transform:translate(-50%,-50%) rotate(-45deg)}
.yz-settle__status b{font-size:24px;font-weight:800;color:var(--yz-deep)}
.yz-settle__status--rej b{color:var(--yz-danger)}
.yz-settle__status span{margin-top:12px;font-size:14.5px;color:var(--yz-sub);line-height:1.6;max-width:520px}
@keyframes yz-settle-spin{to{transform:rotate(360deg)}}

.yz-settle__tip{font-size:14.5px;color:var(--yz-sub);line-height:1.9;padding:3px 0}
.yz-settle__actions{display:flex;gap:16px;margin-top:8px}
.yz-settle__actions .btn{flex:1}
/* 单按钮居中（如认证成功后仅保留「前往承运商工作台」） */
.yz-settle__actions--center{justify-content:center}
.yz-settle__actions--center .btn{flex:0 1 auto;min-width:240px}

/* 未登录引导 */
.yz-settle__login{max-width:520px;margin:10px auto 0;text-align:center;background:#fff;border:1px solid var(--yz-line);border-radius:var(--radius);padding:48px 36px;box-shadow:var(--shadow-sm)}
.yz-settle__login-ic{width:64px;height:64px;border-radius:18px;margin:0 auto 20px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#e8f1ff,#d6e7ff);color:var(--yz-primary)}
.yz-settle__login-ic svg{width:32px;height:32px}
.yz-settle__login h2{font-size:21px;color:var(--yz-deep);font-weight:800}
.yz-settle__login p{font-size:14.5px;color:var(--yz-sub);margin:12px 0 24px;line-height:1.7}
.yz-settle__login .btn{min-width:200px}

/* 响应式 */
@media(max-width:900px){
  .yz-settle__types{grid-template-columns:1fr}
  .yz-settle__mat-item{flex:1 1 calc(50% - 10px);max-width:none}
  .yz-settle__fields{grid-template-columns:1fr}
  .yz-settle__cell,.yz-settle__grid--multi .yz-settle__cell{flex-basis:50%}
  .yz-settle__submit-bar{flex-direction:column;align-items:stretch}
  .yz-settle__submit-bar .btn{margin-left:0;width:100%}
  .yz-settle__actions{flex-direction:column}
  .yz-settle__next-bar .btn{width:100%}
  .yz-settle__auth-hero{flex-direction:column;align-items:stretch}
  .yz-settle__prog{max-width:none}
}
@media(max-width:560px){
  .yz-settle__mat-item{flex:1 1 100%}
  .yz-settle__cell,.yz-settle__grid--multi .yz-settle__cell{flex-basis:100%}
  .yz-settle__flow{flex-wrap:wrap;gap:18px}
  .yz-settle__step{flex:0 0 50%}
  .yz-settle__step::after{display:none}
}

/* 入驻：同意承运商规则复选框（默认勾选） */
.yz-settle__agree {
  margin: 18px 0 4px;
  padding: 13px 16px;
  background: #f5f9ff;
  border: 1px solid #d9e8fb;
  border-radius: 12px;
}
.yz-settle__agree-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #33445c;
  cursor: pointer;
}
.yz-settle__agree-check input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  accent-color: #0984E3;
}
.yz-settle__agree-check a { color: #0984E3; font-weight: 600; text-decoration: none; }
.yz-settle__agree-check a:hover { text-decoration: underline; }
