@import url('../../移动端原型/css/mobile.css');

/* 师生端：服务页、进度时间轴等补充样式 */
#pageService {
  padding: 16px 16px 80px;
}

#pageRepair .list-wrap {
  padding-bottom: 72px;
}

.service-card {
  background: var(--card);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
}

.service-card:active { opacity: 0.85; }

.service-card .svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card .svc-body { flex: 1; min-width: 0; }

.service-card .svc-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.service-card .svc-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.service-card .svc-arrow {
  color: var(--text-muted);
  font-size: 18px;
}

.progress-steps {
  padding: 4px 0;
}

.progress-step {
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  position: relative;
}

.progress-step:last-child { padding-bottom: 0; }

.progress-step::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.progress-step:last-child::before { display: none; }

.progress-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 2px;
  z-index: 1;
}

.progress-step.done .progress-dot { background: var(--success); }
.progress-step.current .progress-dot { background: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }

.progress-step .step-title { font-size: 14px; font-weight: 500; color: var(--text); }
.progress-step .step-time { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.rate-row {
  display: flex;
  gap: 8px;
  padding: 8px 0;
}

.rate-row .star {
  font-size: 32px;
  color: #D1D5DB;
  cursor: pointer;
  line-height: 1;
}

.rate-row .star.active { color: #F59E0B; }

.roommate-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  margin: 4px 6px 0 0;
}

.rank-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
}

.rank-item:last-child { border-bottom: none; }

.rank-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-right: 12px;
  flex-shrink: 0;
}

.rank-item.top1 .rank-num { background: #FEF3C7; color: #D97706; }
.rank-item.top2 .rank-num { background: #E5E7EB; color: #4B5563; }
.rank-item.top3 .rank-num { background: #FFEDD5; color: #C2410C; }
