.resourceModal {
  :global(.arco-modal-content) {
    max-height: 90vh;
    overflow-y: auto;
  }
}

.container {
  padding: 16px;
}

.infoSection {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  padding: 16px;
  background: var(--color-fill-2);
  border-radius: 8px;
  margin-bottom: 24px;
}

.infoItem {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.label {
  color: var(--color-text-2);
  margin-right: 8px;
  white-space: nowrap;
}

.value {
  color: var(--color-text-1);
  font-weight: 500;
  word-break: break-all;
}

.running {
  color: var(--color-success-6);
}

.stopped {
  color: var(--color-danger-6);
}

.gaugeSection {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.gaugeItem {
  background: var(--color-fill-2);
  border-radius: 8px;
  padding: 16px;
}

.gaugeTitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-1);
  margin: 0 0 8px 0;
  text-align: center;
}

.chartSection {
  background: var(--color-fill-2);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.chartTitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-1);
  margin: 0 0 16px 0;
}

.detailSection {
  background: var(--color-fill-2);
  border-radius: 8px;
  padding: 16px;
}

.detailTitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-1);
  margin: 0 0 16px 0;
}

.detailGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.detailItem {
  display: flex;
  align-items: center;
  font-size: 14px;
  padding: 8px 0;
}

.detailLabel {
  color: var(--color-text-2);
  margin-right: 8px;
  white-space: nowrap;
}

.detailValue {
  color: var(--color-text-1);
  font-weight: 500;
  font-family: 'Consolas', 'Monaco', monospace;
}

.noData {
  text-align: center;
  padding: 60px 0;
  color: var(--color-text-3);
  font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .infoSection,
  .gaugeSection,
  .detailGrid {
    grid-template-columns: 1fr;
  }
}
