<template>
  <div class="monitoring-page">
    <div class="status-grid">
      <div class="status-item">
        <div class="status-label">CPU使用率</div>
        <div class="status-value">45%</div>
      </div>
      <div class="status-item">
        <div class="status-label">内存使用</div>
        <div class="status-value">2.1GB</div>
      </div>
      <div class="status-item">
        <div class="status-label">连接状态</div>
        <div class="status-value disconnected">离线</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'MonitoringPage'
}
</script>

<style scoped>
.monitoring-page {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 24px;
  padding: 24px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.status-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--color-white-rgb-05);
  border: 1px solid var(--color-white-rgb-1);
  border-radius: 8px;
}

.status-label {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.status-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.status-value.disconnected {
  color: var(--color-text-error);
}
</style>
