* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: #f6f6f6;
  color: #222;
  min-height: 100vh;
}
header {
  background: #5865f2;
  color: white;
  text-align: center;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
header h1 {
  font-size: 1.8rem;
}
main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.status-box {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}
.status-info {
  padding: 16px;
  border-bottom: 1px solid #ececec;
}
.status-info h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.status-info .status-text {
  font-size: 0.95rem;
  color: #555;
}
.status-info .latency {
  font-size: 0.85rem;
  color: #888;
}
.status-box.online {
  border-left: 4px solid #43b581;
}
.status-box.offline {
  border-left: 4px solid #f04747;
}
.chart-wrapper {
  position: relative;
  height: 160px;
}
.chart-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
}
