:root {
  --bg-color: #111217;
  --card-bg: #181b1f;
  --border-color: #22252b;
  --accent-green: #73bf69;
  --text-main: #d8d9da;
  --text-dim: #8e8e8e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  padding: 20px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-bottom: 15px;
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: inline-block;
}

.last-updated {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.card-title {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 10px;
  align-self: flex-start;
  font-weight: 500;
}

.gauge-wrapper {
  position: relative;
  width: 100%;
  max-width: 200px;
  height: 120px;
}

.gauge-value {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-green);
}

.full-width {
  grid-column: span 3;
}

.info-card {
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 15px 25px;
}

.info-label {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-right: 8px;
}

.info-value {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--accent-green);
}

.online {
  color: #22c55e;
  font-weight: bold;
}

.chart-card {
  height: 300px;
}

.chart-container {
  width: 100%;
  height: 100%;
}
