/* ==========================================================================
   camDash VMS — Base Styles & Design Tokens
   ========================================================================== */

@font-face {
  font-family: 'Domargo';
  src: url('../fonts/Domargo.woff2');
}

:root {
  /* Backgrounds */
  --bg-body: #0a0a0a;
  --bg-panel: #111111;
  --bg-elevated: #161616;
  --bg-input: #0a0a0a;
  --bg-subtle: #1a1a1a;
  --bg-cell: #050505;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #c8c8c8;
  --text-muted: #888888;
  --text-dim: #555555;

  /* Borders */
  --border-default: #222222;
  --border-subtle: #1a1a1a;
  --border-accent: #333333;
  --border-active: #ffffff;

  /* Status */
  --status-online: #2ecc71;
  --status-online-bg: rgba(46, 204, 113, 0.12);
  --status-offline: #e74c3c;
  --status-offline-bg: rgba(231, 76, 60, 0.12);

  /* Accent (белый/серый) */
  --accent-primary: #ffffff;
  --accent-primary-bg: rgba(255, 255, 255, 0.08);

  /* Font & Spacing */
  --font-base: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Consolas", "Monaco", monospace;
  --space-xs: 6px;
  --space-sm: 10px;
  --space-md: 14px;
  --space-lg: 18px;
  --space-xl: 24px;

  /* Layout */
  --topbar-height: 44px;
  --panel-width-left: 260px;
  --panel-width-right: 240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font-base);
  background: var(--bg-body);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-accent);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}
