/**
 * 安装队长专用样式
 * 技术资料卡片、上传区域、故障码列表
 */

/* ==================== 技术资料卡片 ==================== */
.tech-doc-card {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.tech-doc-card:last-child {
  border-bottom: none;
}
.tech-doc-icon {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.tech-doc-body {
  flex: 1;
  min-width: 0;
}
.tech-doc-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tech-doc-meta {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: #999;
  margin-top: 4px;
  flex-wrap: wrap;
}
.tech-doc-cat {
  background: #e3f2fd;
  color: #1565c0;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
}
.tech-doc-desc {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tech-doc-solution {
  font-size: 11px;
  color: #555;
  margin-top: 6px;
  line-height: 1.5;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid #2196f3;
}
.tech-doc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

/* ==================== 分类Tab ==================== */
.doc-category-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.doc-cat-tab {
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 20px;
  background: #f5f5f5;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}
.doc-cat-tab.active {
  background: #1565c0;
  color: #fff;
}
.doc-cat-tab:hover {
  background: #e3f2fd;
}
.doc-cat-tab.active:hover {
  background: #1565c0;
}

/* ==================== 上传区域 ==================== */
.upload-zone {
  border: 2px dashed #ddd;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: #999;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 12px;
}
.upload-zone:hover {
  border-color: #1565c0;
  color: #1565c0;
  background: #f5f9ff;
}
.upload-zone-icon {
  font-size: 32px;
  margin-bottom: 8px;
}
.upload-zone-text {
  font-size: 13px;
}
.upload-zone-hint {
  font-size: 11px;
  color: #bbb;
  margin-top: 4px;
}

/* ==================== 故障码查询 ==================== */
.fault-search-wrap {
  margin-bottom: 12px;
}
.fault-brand-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.fault-brand-tab {
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 16px;
  background: #f5f5f5;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}
.fault-brand-tab.active {
  background: #e65100;
  color: #fff;
}
.fault-result-item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.fault-result-item:last-child {
  border-bottom: none;
}
.fault-code {
  font-weight: 700;
  color: #e65100;
  font-size: 14px;
}
.fault-brand {
  font-size: 11px;
  color: #999;
  margin-left: 8px;
}
.fault-desc {
  font-size: 13px;
  color: #333;
  margin-top: 4px;
}
.fault-solution {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
  line-height: 1.5;
  padding: 6px 8px;
  background: #f8f9fa;
  border-radius: 6px;
}
