/* ================================================================
   DESIGN SYSTEM — Global CSS Custom Properties & Base Styles
   Defines the single source of truth for colors, spacing, layout.
   ================================================================ */

:root {
  /* --- Color Palette --- */
  --bg:       #0e1521;
  --bg2:      #131e2e;
  --bg3:      #182236;
  --bg4:      #1d2a40;

  --border:   #253047;
  --border2:  #1e2c42;

  --text:     #e6edf3;
  --text2:    #8b949e;
  --text3:    #6e7681;

  --accent:   #00c896;
  --accent2:  #0af0b4;

  --blue:     #388bfd;
  --yellow:   #e3b341;
  --red:      #f85149;
  --orange:   #f0883e;
  --green:    #3fb950;
  --purple:   #bc8cff;

  /* --- Layout Tokens --- */
  --sidebar-w: 220px;
  --header-h:  56px;

  /* --- Typography --- */
  --font-sans: 'Golos Text', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- Base --- */
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Shell Layout --- */
.main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  padding: 20px 24px 32px;
  flex: 1;
}

/* --- Scrollbar --- */
::-webkit-scrollbar          { width: 4px; height: 4px; }
::-webkit-scrollbar-track    { background: transparent; }
::-webkit-scrollbar-thumb    { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--text3); }

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Utility: Tooltip --- */
.tooltip-wrap  { position: relative; display: inline-flex; }
.tooltip-icon  { color: var(--text3); cursor: pointer; font-size: 13px; margin-left: 4px; }

/* --- Sidebar Logo --- */
.logo {
  display: flex;
  align-items: center;
  padding: 12px; /* Подстройте отступы, если у вас в старом CSS они были другими */
}

.logo-img {
  max-width: 100%;
  height: auto;
  max-height: 52px; /* Ограничиваем высоту логотипа */
  display: block;
}