/* 伏虎工作台 - 统一业务模块样式 */

/* 通用表格样式 */
.biz-table-wrapper {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin-top: 20px;
}

.biz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.biz-table thead {
  background: linear-gradient(135deg, #1a56db 0%, #2563eb 100%);
  color: #fff;
}

.biz-table th {
  padding: 14px 12px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.biz-table td {
  padding: 12px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}

.biz-table tbody tr:hover {
  background: #f8fafc;
}

.biz-table tbody tr:last-child td {
  border-bottom: none;
}

/* 序号 */
.seq-cell {
  color: #9ca3af;
  font-size: 12px;
  text-align: center;
}

/* 主体标签 */
.subject-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.badge-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge-green {
  background: #dcfce7;
  color: #16a34a;
}

.badge-gray {
  background: #f3f4f6;
  color: #6b7280;
}

/* 事项单元格 */
.item-cell {
  font-weight: 500;
  color: #1f2937;
  max-width: 300px;
}

/* 领导单元格 */
.leader-cell {
  color: #4b5563;
}

/* 电话链接 */
.phone-link {
  color: #2563eb;
  text-decoration: none;
}

.phone-link:hover {
  text-decoration: underline;
}

/* 统计行 */
.stats-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stat-mini {
  background: #fff;
  border-radius: 10px;
  padding: 16px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  text-align: center;
  min-width: 100px;
}

.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: #1a56db;
}

.stat-label {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

/* 主体标签容器 */
.subject-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.subject-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #f3f4f6;
  border-radius: 20px;
  font-size: 13px;
  color: #4b5563;
}

/* 空状态 */
.empty-biz {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
}

.empty-biz p {
  font-size: 15px;
  margin: 0;
}

/* 模块头部 */
.module-header {
  margin-bottom: 24px;
}

.module-header h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  color: #1f2937;
}

/* 地图样式 */
.map-container {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.map-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.map-btn {
  padding: 8px 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}

.map-btn:hover {
  border-color: #1a56db;
  color: #1a56db;
}

.map-btn.active {
  background: #1a56db;
  color: #fff;
  border-color: #1a56db;
}

.map-canvas {
  background: #f8fafc;
  border-radius: 8px;
  min-height: 400px;
  border: 1px solid #e5e7eb;
}

/* 资产卡片 */
.asset-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.asset-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #e5e7eb;
}

.asset-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.asset-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.asset-info {
  flex: 1;
}

.asset-name {
  font-size: 14px;
  color: #666;
}

.asset-value {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  margin: 4px 0;
}

.asset-meta {
  font-size: 12px;
  color: #9ca3af;
}

/* 响应式 */
@media (max-width: 768px) {
  .biz-table {
    font-size: 12px;
  }
  
  .biz-table th, .biz-table td {
    padding: 8px 6px;
  }
  
  .stats-row {
    gap: 10px;
  }
  
  .stat-mini {
    padding: 12px 16px;
    min-width: 80px;
  }
  
  .stat-num {
    font-size: 22px;
  }
}
