/* ========================================
   Claude Adapter Docs - Main CSS
   Variables, Reset & Base Styles
   ======================================== */

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */
:root {
  /* Claude Color Palette */
  --claude-bg: #121212;
  --claude-surface: #1e1e1e;
  --claude-accent: #cc5500;
  --claude-secondary: #2f3d35;
  --claude-text: #e8e8e8;
  --claude-dim: #888888;
  --claude-border: #333333;
  --claude-highlight: #d97757;

  /* Shadows */
  --shadow-pixel: 4px 4px 0 0 rgba(204, 85, 0, 1);
  --shadow-pixel-white: 4px 4px 0 0 rgba(255, 255, 255, 1);
  --shadow-pixel-flat: 2px 2px 0 0 rgba(51, 51, 51, 1);

  /* Fonts */
  --font-mono: "JetBrains Mono", monospace;
  --font-pixel: "Press Start 2P", cursive;
}

/* ========================================
   Base Styles & Reset
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--claude-bg);
  color: var(--claude-text);
  font-family: var(--font-mono);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--claude-accent);
  color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  background: var(--claude-bg);
}

::-webkit-scrollbar-thumb {
  background: #333;
  border: 2px solid var(--claude-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--claude-accent);
}

/* ========================================
   Base Elements
   ======================================== */
button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  text-align: left;
}

code {
  font-family: var(--font-mono);
}

pre {
  margin: 0;
  overflow-x: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--claude-accent);
}

/* ========================================
   Layout: App Container
   ======================================== */
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  color: var(--claude-text);
  background-color: var(--claude-bg);
}

/* ========================================
   Layout: Main Content
   ======================================== */
.main-content {
  flex-grow: 1;
  padding-top: 1rem;
}
