body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.dashboard-card {
  transition: all 0.3s;
}

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

.chart-container {
  height: 300px;
  position: relative;
}

/* Code Editor Styles */
.w-tc-editor {
  position: relative;
}

.line-numbers > div {
  height: 21px;  /* Match the line-height of the editor */
}

/* Ensure editor lines match height with line numbers */
.w-tc-editor pre {
  line-height: 1.5;
}

/* Ensure consistent scrolling */
.w-tc-editor-text {
  overflow-y: auto !important;
}

/* Enforce JetBrains Mono for the editor */
.w-tc-editor-text,
.w-tc-editor-preview {
  font-family: 'JetBrains Mono', monospace !important;
}

/* Dark mode support */
.w-tc-editor[data-color-mode="dark"] .w-tc-editor-text > div::before {
  color: #666;
  border-right-color: #444;
} 