/**
 * 安装服务专用样式 — v3.0 优化版（深色模式）
 * 技术资料卡片、上传区域、故障码列表
 */

/* ==================== 技术资料卡片 ==================== */
.tech-doc-card {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.tech-doc-card:last-child {
  border-bottom: none;
}
.tech-doc-icon {
  width: 36px;
  height: 36px;
  background: #1A1A24;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.tech-doc-body {
  flex: 1;
  min-width: 0;
}
.tech-doc-name {
  font-size: var(--fs-xs, 12px);
  font-weight: 600;
  color: #E6E6EF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tech-doc-meta {
  display: flex;
  gap: 6px;
  font-size: var(--fs-xs, 12px);
  color: #9A9AB0;
  margin-top: 3px;
  flex-wrap: wrap;
}
.tech-doc-cat {
  background: var(--primary-soft);
  color: #cbbcff;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: var(--fs-xs, 12px);
}
.tech-doc-desc {
  font-size: var(--fs-xs, 12px);
  color: #9A9AB0;
  margin-top: 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tech-doc-solution {
  font-size: var(--fs-xs, 12px);
  color: #9A9AB0;
  margin-top: 4px;
  line-height: 1.4;
  padding: 6px;
  background: #1A1A24;
  border-radius: 5px;
  border-left: 3px solid var(--primary);
}
.tech-doc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

/* ==================== 分类Tab ==================== */
.doc-category-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.doc-cat-tab {
  padding: 4px 10px;
  font-size: var(--fs-xs, 12px);
  border-radius: 16px;
  background: #1A1A24;
  color: #9A9AB0;
  cursor: pointer;
  transition: all 0.2s;
}
.doc-cat-tab.active {
  background: var(--primary);
  color: #fff;
}
.doc-cat-tab:hover {
  background: var(--primary-soft);
}
.doc-cat-tab.active:hover {
  background: var(--primary);
}

/* ==================== 上传区域 ==================== */
.upload-zone {
  border: 1.5px dashed rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  color: #9A9AB0;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 10px;
}
.upload-zone:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}
.upload-zone-icon {
  font-size: 28px;
  margin-bottom: 6px;
}
.upload-zone-text {
  font-size: var(--fs-xs, 12px);
}
.upload-zone-hint {
  font-size: var(--fs-xs, 12px);
  color: #6E6E85;
  margin-top: 3px;
}

/* ==================== 接单大厅：可滚动订单跟踪卡片 ==================== */
.hall-scroll {
  max-height: 440px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
}
.hall-scroll::-webkit-scrollbar { width: 6px; }
.hall-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 6px; }
.hall-card {
  background: #16161F;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}
.hall-card:last-child { margin-bottom: 0; }
.hall-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.hall-project {
  font-weight: 700;
  font-size: 14px;
  color: #E6E6EF;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hall-status {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.hall-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hall-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.hall-label {
  color: #9A9AB0;
  width: 60px;
  flex-shrink: 0;
}
.hall-val {
  color: #E6E6EF;
  flex: 1;
  min-width: 0;
}
.hall-remote {
  color: #9A9AB0;
  font-size: 11px;
  background: #1A1A24;
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 6px;
}
.hall-grab { margin-top: 10px; }

/* ==================== 故障码查询 ==================== */
.fault-search-wrap {
  margin-bottom: 10px;
}
.fault-brand-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.fault-brand-tab {
  padding: 3px 8px;
  font-size: var(--fs-xs, 12px);
  border-radius: 14px;
  background: #1A1A24;
  color: #9A9AB0;
  cursor: pointer;
  transition: all 0.2s;
}
.fault-brand-tab.active {
  background: var(--primary);
  color: #fff;
}
.fault-result-item {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.fault-result-item:last-child {
  border-bottom: none;
}
.fault-code {
  font-weight: 700;
  color: #ffb45c;
  font-size: var(--fs-xs, 12px);
}
.fault-brand {
  font-size: var(--fs-xs, 12px);
  color: #9A9AB0;
  margin-left: 6px;
}
.fault-desc {
  font-size: var(--fs-xs, 12px);
  color: #E6E6EF;
  margin-top: 3px;
}
.fault-solution {
  font-size: var(--fs-xs, 12px);
  color: #9A9AB0;
  margin-top: 3px;
  line-height: 1.4;
  padding: 5px 6px;
  background: #1A1A24;
  border-radius: 4px;
}
