body {
  font-family: Arial, sans-serif;
  background: #1e1e1e;
  color: #fff;
  margin: 0;
  padding: 0;
}

.toolbar {
  width: 100%;
  padding: 10px;
  background-color: #333;
  color: white;
  text-align: center;
  box-sizing: border-box; /* Ensure padding is included in the width */
}

.interval-buttons button {
  background: #3c3c3c;
  color: white;
  border: none;
  padding: 8px 12px;
  margin: 2px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: 0.2s;
}

.interval-buttons button:hover,
.interval-buttons button.active {
  background: #5a5a5a;
}

/* Container for chart, centered vertically and horizontally */
.chart-container {
  display: flex;
  flex-direction: column; /* Stack children vertically (toolbar on top, chart below) */
  justify-content: flex-start; /* Align children at the top */
  align-items: center; /* Center items horizontally */
  width: 100%;
  height: 100vh; /* Full viewport height */
}

/* Parent div containing the chart */
.chart-wrapper {
  width: 80%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
}

/* Style for the chart */
#tvchart {
  width: 100%;
  /* margin-right: 5%; */
  height: 100%;
}
