/* base.css — CSS variables, reset, typography */

:root {
  --brand-blue: #0a0a0f;       /* brand black — sidebar, headings, wordmark */
  --brand-blue-mid: #1c1c26;   /* sidebar hover, active nav */
  --brand-accent: #1d17e6;     /* electric blue — links, buttons, active states */
  --brand-accent-light: #ecebfe;
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f4;
  --gray-200: #dde1ea;
  --gray-500: #6b7a99;
  --gray-700: #374264;
  --gray-900: #111827;

  /* Semantic */
  --success: #1a7a4a;
  --success-bg: #e6f5ed;
  --warning: #b45309;
  --warning-bg: #fff7e6;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --info: #1d17e6;
  --info-bg: #ecebfe;

  /* Layout */
  --sidebar-width: 220px;
  --topbar-height: 56px;
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 2px 8px rgba(0,0,0,0.10);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-900);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  color: var(--brand-blue);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
h4 { font-size: 13px; }

p { margin: 0 0 0.75em; }

a {
  color: var(--brand-accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: var(--gray-900);
}

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

.muted { color: var(--gray-500); }
.mono {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 12px;
}
.nowrap { white-space: nowrap; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.hidden { display: none !important; }
