html {
  scroll-behavior: smooth;
}

body {
  background-color: #0B1220;
  color: white;
  font-family: 'Inter', sans-serif;
}

.card {
  background-color: #0F1A2B;
  border-radius: 0.5rem;
  transition: all 0.2s ease-out;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gridline {
  border-color: rgba(255,255,255,0.05);
}

.tab-active {
  border-bottom: 2px solid #2C6CF6;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.sparkline {
  height: 40px;
  width: 80px;
}

.heatmap-cell {
  transition: all 0.2s ease;
}

.heatmap-cell:hover {
  transform: scale(1.1);
}

.chart-container {
  position: relative;
  margin: 0 auto;
}

/* Ensure all canvas elements respect their container size */
canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.dual-chart-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.chart-wrapper {
  position: relative;
  width: 280px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.chart-title {
  text-align: center;
  margin-bottom: 0.5rem;
  min-height: 1.5rem;
  font-weight: 600;
  color: #e5e7eb;
}

.chart-subtitle {
  text-align: center;
  margin-bottom: 0.5rem;
  min-height: 1rem;
  font-size: 0.75rem;
  color: #9ca3af;
  font-style: italic;
}

.chart-container {
  position: relative;
  margin: 0 auto;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sparkline-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  overflow: hidden;
}

.sparkline-label {
  flex-shrink: 0;
  width: 40px;
  text-align: left;
}

.sparkline-chart {
  flex-shrink: 0;
  width: 80px;
  height: 40px;
  margin: 0 0.5rem;
}

.sparkline-value {
  flex-shrink: 0;
  width: 50px;
  text-align: right;
}

.heatmap-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 1rem;
}

.heatmap-canvas {
  border-radius: 8px;
  background-color: #0F1A2B;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}