/* ==========================================================================
   VYSHNAV OS - Style System & Global Variables (Bold Typography Theme)
   ========================================================================== */

:root {
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Menlo', 'Monaco', monospace;

  /* Bold Typography Theme Dark (Default) */
  --bg-desktop: radial-gradient(circle at 50% 30%, #171717 0%, #0a0a0a 100%);
  --bg-window: rgba(14, 14, 14, 0.94);
  --bg-window-solid: #0d0d0d;
  --bg-titlebar: rgba(10, 10, 10, 0.92);
  --bg-menu-bar: rgba(10, 10, 10, 0.9);
  --bg-dock: rgba(18, 18, 18, 0.88);
  --bg-card: rgba(22, 22, 22, 0.8);
  --bg-input: #141414;

  --text-main: #f5f5f5;
  --text-muted: #a3a3a3;
  --text-dim: #737373;

  --border-color: rgba(255, 255, 255, 0.16);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --accent-blue: #38bdf8;
  --accent-purple: #c084fc;
  --accent-green: #34d399;
  --accent-amber: #fbbf24;
  --accent-red: #f87171;

  --shadow-window: 0 30px 60px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.14);
  --shadow-dock: 0 20px 35px -10px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.14);

  --radius-window: 10px;
  --radius-dock: 14px;
  --radius-btn: 4px;
}

body.theme-light {
  --bg-desktop: radial-gradient(circle at 50% 30%, #f4f4f5 0%, #e4e4e7 100%);
  --bg-window: rgba(255, 255, 255, 0.95);
  --bg-window-solid: #ffffff;
  --bg-titlebar: rgba(244, 244, 245, 0.92);
  --bg-menu-bar: rgba(244, 244, 245, 0.9);
  --bg-dock: rgba(255, 255, 255, 0.88);
  --bg-card: rgba(244, 244, 245, 0.85);
  --bg-input: #f4f4f5;

  --text-main: #0a0a0a;
  --text-muted: #52525b;
  --text-dim: #71717a;

  --border-color: rgba(0, 0, 0, 0.18);
  --border-subtle: rgba(0, 0, 0, 0.08);

  --shadow-window: 0 20px 45px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.12);
  --shadow-dock: 0 15px 30px -5px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-main);
  background-color: #0a0a0a;
  -webkit-font-smoothing: antialiased;
}

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  user-select: text;
  -webkit-user-select: text;
}

/* Bold Typography Utility Helpers */
.font-display {
  font-family: var(--font-display);
}

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

.text-outline {
  -webkit-text-stroke: 1px #f5f5f5;
  color: transparent;
}

.text-outline-subtle {
  -webkit-text-stroke: 1px rgba(245, 245, 245, 0.6);
  color: transparent;
}

.tracking-wide-caps {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 700;
}

/* Custom Mac Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}
body.theme-light ::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
}
