/* Small extras on top of Tailwind CDN */

.codeblock {
  white-space: pre;
  overflow-x: auto;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.6);
  color: rgba(226, 232, 240, 0.95);
  font-size: 12px;
  line-height: 1.45;
}

.codeblock-compact {
  white-space: pre;
  overflow-x: auto;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.5);
  color: rgba(226, 232, 240, 0.9);
  font-size: 10px;
  line-height: 1.4;
}

.metric-card {
  display: flex;
  flex-direction: column;
  height: 68px;
  min-height: 68px;
  max-height: 68px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.6);
  overflow: hidden;
}

.metric-value {
  margin-top: auto;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.metric-value-small {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.chart-container {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.6);
  padding: 12px;
  min-height: 220px;
  height: 220px;
}

.time-btn {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 8px;
  border: 2px solid rgba(148, 163, 184, 0.4);
  background: rgba(30, 41, 59, 0.7);
  color: rgba(226, 232, 240, 1);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.time-btn:hover {
  background: rgba(51, 65, 85, 0.8);
  border-color: rgba(148, 163, 184, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.time-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.time-btn.active {
  background: rgba(52, 211, 153, 0.25);
  border-color: rgba(52, 211, 153, 0.8);
  color: rgba(52, 211, 153, 1);
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15), 0 2px 6px rgba(0, 0, 0, 0.4);
}


