@import 'tailwindcss';

@theme {
  --color-ps-primary: #6366f1;
  --color-ps-secondary: #818cf8;
  --color-ps-bg: #0f172a;
  --color-ps-surface: #1e293b;
  --color-ps-border: #334155;
}

:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: dark;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

#root {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Monaco editor customizations */
.monaco-editor {
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace !important;
}

/* Tab styles */
.tab-active {
  @apply bg-ps-surface border-b-2 border-ps-primary;
}

.tab-inactive {
  @apply bg-ps-bg hover:bg-ps-surface/50 border-b-2 border-transparent;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #1e293b;
}

::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}
