/* ============================================================
   AFTER-SALES — Return / Exchange / Warranty request timeline
   Customer-facing visual step tracker for returnRequests.
   ============================================================ */

.sb-as-timeline-wrap {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sb-as-card {
  border: 1px solid #ece6d8;
  border-radius: 14px;
  padding: 14px 14px 16px;
  background: #fffdf9;
}

.sb-as-card-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.sb-as-card-title {
  font-weight: 700;
  font-size: 14.5px;
  color: #1C3829;
}

.sb-as-card-sub {
  font-size: 12px;
  color: #8a8478;
  margin-bottom: 10px;
}

.sb-as-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  text-transform: capitalize;
}
.sb-as-badge.ok      { background: #e5f4e9; color: #1b7a3d; }
.sb-as-badge.pending { background: #fff3d6; color: #8a5b00; }
.sb-as-badge.bad     { background: #fde8e6; color: #b42318; }

/* Step tracker */
.sb-as-steps {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.sb-as-step {
  display: flex;
  gap: 10px;
  position: relative;
  padding-bottom: 18px;
}
.sb-as-step:last-child { padding-bottom: 0; }

.sb-as-step-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20px;
  flex-shrink: 0;
}

.sb-as-step-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #d8d2c4;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  z-index: 1;
}
.sb-as-step-line {
  flex: 1;
  width: 2px;
  background: #e4dfd3;
  margin-top: 2px;
}

.sb-as-step.done .sb-as-step-dot {
  border-color: #2f9d5a;
  background: #2f9d5a;
  color: #fff;
}
.sb-as-step.done .sb-as-step-line { background: #2f9d5a; }

.sb-as-step.active .sb-as-step-dot {
  border-color: #1C3829;
  background: #1C3829;
  color: #fff;
  box-shadow: 0 0 0 4px #1c382922;
}

.sb-as-step.rejected .sb-as-step-dot {
  border-color: #c0392b;
  background: #c0392b;
  color: #fff;
}
.sb-as-step.rejected .sb-as-step-line { background: #c0392b; }

.sb-as-step-body { padding-top: 1px; }

.sb-as-step-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #2a2a28;
}
.sb-as-step.pending .sb-as-step-label { color: #a49e8f; font-weight: 500; }

.sb-as-step-meta {
  font-size: 12px;
  color: #8a8478;
  margin-top: 1px;
}

.sb-as-extra {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e4dfd3;
  font-size: 12.5px;
  color: #4a463c;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.sb-as-extra b { color: #1C3829; }

.sb-as-pin {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 2px;
  background: #f1ece0;
  padding: 2px 8px;
  border-radius: 6px;
  color: #1C3829;
}
