/* 修复灵活就业模板的计算结果样式 */

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 12px;
  border: 1px solid #bae6fd;
}

.result-item {
  text-align: center;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.result-item.result-primary {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
}

.result-label {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 8px;
}

.result-primary .result-label {
  color: rgba(255, 255, 255, 0.9);
}

.result-value {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
}

.result-primary .result-value {
  font-size: 32px;
  color: #fff;
}

.detail-card {
  margin-top: 24px;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
}

.detail-table th,
.detail-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.detail-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.detail-table tfoot tr {
  font-weight: 600;
}

.detail-table tfoot tr.ft-sub {
  background: var(--bg);
}

.detail-table tfoot tr.ft-net {
  background: #d1fae5;
}

.year-note {
  margin-top: 12px;
  padding: 8px 12px;
  background: var(--bg);
  border-radius: 6px;
  font-size: 14px;
  color: var(--muted);
}

.base-info-bar {
  margin-top: 12px;
  padding: 8px 12px;
  background: var(--bg);
  border-radius: 6px;
  font-size: 14px;
  color: var(--muted);
  display: none;
}
