@charset "utf-8";
/* 会员中心共用布局（左右结构） */
.member-bg {
  background-color: #f5f5f6;
}

.member-layout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* 左侧菜单 */
.member-aside {
  flex: 0 0 240px;
  padding: 34px 0 60px;
  background-color: #fff;
}

.member-aside-title {
  padding: 0 36px;
  color: #999;
}

.member-nav {
  margin-top: 18px;
}

.member-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 33px;
  border-left: 3px solid transparent;
  color: #666;
  transition:
    color 0.25s ease,
    background-color 0.25s ease;
}

.member-nav a svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.member-nav a:hover {
  color: var(--color-primary);
}

.member-nav a.active {
  border-left-color: var(--color-primary);
  background-color: #eaf4fd;
  color: var(--color-primary);
}

/* 右侧内容 */
.member-main {
  flex: 1 1 0;
  min-width: 0;
}

.member-card {
  padding: 34px 40px 40px;
  background-color: #fff;
}

.member-card + .member-card {
  margin-top: 14px;
}

.member-card-title {
  font-size: 22px;
  color: #333;
}

/* 空状态（询价/订单共用） */
.member-empty {
  padding: 30px 0 10px;
  text-align: center;
}

.member-empty p {
  color: #999;
}

.member-empty .cp-btn {
  height: 42px;
  margin-top: 24px;
  padding: 0 28px;
}

/* ========== 详情页公共控件（询价/订单详情共用；需在 .member-main 上加 .member-detail） ========== */

/* 卡片标题带分隔线 */
.member-detail .member-card-title {
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8ec;
  font-size: 24px;
}

/* 基本信息（label/value 单列） */
.detail-info-list {
  margin-top: 26px;
}

.detail-info-list li {
  display: flex;
  line-height: 1.7;
}

.detail-info-list li + li {
  margin-top: 8px;
}

.detail-info-label {
  flex: 0 0 190px;
  color: #999;
}

.detail-info-value {
  flex: 1 1 0;
  min-width: 0;
  color: #333;
}

/* 产品信息行 */
.detail-product {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.detail-product img {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  object-fit: cover;
}

.detail-product h4 {
  color: #333;
}

.detail-product p {
  margin-top: 6px;
  color: #999;
}

/* 时间线（跟进记录/物流跟踪共用），muted 为未激活灰点 */
.detail-logs {
  margin-top: 26px;
}

.detail-logs li {
  position: relative;
  padding-left: 24px;
}

.detail-logs li + li {
  margin-top: 16px;
}

.detail-logs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.detail-logs li::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 19px;
  bottom: -16px;
  width: 1px;
  background-color: #d8d8dc;
}

.detail-logs li:last-child::after {
  bottom: -26px;
}

.detail-logs li.muted::before {
  background-color: #b9bdc2;
}

.detail-logs h4 {
  color: #333;
}

.detail-logs p {
  margin-top: 6px;
  color: #999;
}

/* 未达成节点标记；不动 muted 的文字色（终态也用它） */
.detail-logs__pending {
  margin-left: 4px;
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: #b9bdc2;
}

@media (max-width: 768px) {
  .detail-info-label {
    flex-basis: 130px;
  }
}

@media (max-width: 768px) {
  .member-layout {
    flex-direction: column;
  }

  .member-aside {
    flex: 1 1 auto;
    width: 100%;
    padding: 24px 0;
  }

  .member-card {
    padding: 24px 20px 30px;
  }
}
