@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import "tailwindcss";

@theme {
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;

  /* Arch Linux blue accent */
  --color-arch-blue: #1793D1;
  --color-arch-blue-hover: #1480B8;
  --color-arch-blue-light: #1793D120;

  /* Dark mode palette */
  --color-dark-bg: #000000;
  --color-dark-panel: #111111;
  --color-dark-border: #2A2A2A;
  --color-dark-text: #FFFFFF;
  --color-dark-text-secondary: #AAAAAA;
  --color-dark-hover: #1A1A1A;
  --color-dark-active: #222222;

  /* Light mode palette */
  --color-light-bg: #F4F4F4;
  --color-light-panel: #FFFFFF;
  --color-light-border: #D4D4D4;
  --color-light-text: #111111;
  --color-light-text-secondary: #666666;
  --color-light-hover: #E8E8E8;
  --color-light-active: #DDDDDD;
}

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

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

body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Dark mode (default) */
body {
  background-color: var(--color-dark-bg);
  color: var(--color-dark-text);
}

body.light {
  background-color: var(--color-light-bg);
  color: var(--color-light-text);
}

/* Scrollbar styling - classic thin scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-dark-panel);
}

::-webkit-scrollbar-thumb {
  background: var(--color-dark-border);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444;
}

body.light ::-webkit-scrollbar-track {
  background: var(--color-light-bg);
}

body.light ::-webkit-scrollbar-thumb {
  background: var(--color-light-border);
}

/* Selection */
::selection {
  background-color: var(--color-arch-blue);
  color: white;
}

/* Focus outline - classic dotted */
:focus-visible {
  outline: 1px dotted var(--color-arch-blue);
  outline-offset: 1px;
}

/* Table styles */
table {
  border-collapse: collapse;
  width: 100%;
}

/* Classic button reset */
button {
  cursor: pointer;
  font-family: inherit;
}

/* Input reset */
input, select {
  font-family: inherit;
}
