/* ============================================
   ВЫШКА CLOUD — DARK DESIGN SYSTEM v1.0
   Основано на дизайн-макетах Owner 29.08
   ============================================ */

:root {
  --bg-page: #0a0e1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --bg-sidebar: #0d1117;
  --bg-input: #0f172a;
  --bg-modal: #1e293b;
  --border: #1f2937;
  --border-light: #374151;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-primary: #7c3aed;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
  --gradient-cta: linear-gradient(135deg, #7c3aed, #3b82f6);
  --gradient-accent: linear-gradient(135deg, #3b82f6, #06b6d4);
  --shadow-card: 0 4px 24px rgba(0,0,0,.3);
  --shadow-glow: 0 0 20px rgba(124,58,237,.15);
  --radius: 16px;
  --radius-sm: 10px;
  --font: -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Базовая страница */
body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font);
  min-height: 100vh;
}

/* Сайдбар навигации */
.vy-sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: 72px;
  background: var(--bg-sidebar); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; padding: 16px 0;
  z-index: 100;
}
.vy-sidebar-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 8px; border-radius: 12px; color: var(--text-muted);
  cursor: pointer; transition: all .2s ease; margin: 2px 8px; width: 56px;
  font-size: 10px; text-align: center;
}
.vy-sidebar-item:hover { background: rgba(124,58,237,.1); color: var(--text-primary); }
.vy-sidebar-item.active {
  background: rgba(124,58,237,.15); color: var(--accent-primary);
  border: 1px solid rgba(124,58,237,.3);
}
.vy-sidebar-item svg { width: 22px; height: 22px; }

/* Топ-бар */
.vy-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; background: var(--bg-sidebar);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 99;
}
.vy-topbar-search {
  flex: 1; max-width: 480px; display: flex; align-items: center; gap: 8px;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 14px;
}
.vy-topbar-search input {
  background: transparent; border: none; outline: none;
  color: var(--text-primary); font-size: 14px; width: 100%;
}
.vy-topbar-search input::placeholder { color: var(--text-muted); }

/* Карточки — glassmorphism на тёмном */
.vy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.vy-card:hover {
  border-color: rgba(124,58,237,.3);
  box-shadow: 0 8px 32px rgba(124,58,237,.08);
  transform: translateY(-2px);
}
.vy-card-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.vy-card-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* Кнопки */
.vy-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm); border: none;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s ease;
}
.vy-btn-primary {
  background: var(--gradient-cta); color: white;
  box-shadow: 0 4px 16px rgba(124,58,237,.3);
}
.vy-btn-primary:hover { box-shadow: 0 6px 24px rgba(124,58,237,.45); transform: translateY(-1px); }
.vy-btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.vy-btn-secondary:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.vy-btn-ghost { background: transparent; color: var(--text-secondary); }
.vy-btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,.05); }

/* Инпуты */
.vy-input {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--bg-input); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 14px; transition: border-color .2s;
}
.vy-input:focus { border-color: var(--accent-primary); outline: none; box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.vy-input::placeholder { color: var(--text-muted); }

/* Бейджи */
.vy-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.vy-badge-green { background: rgba(16,185,129,.15); color: var(--accent-green); }
.vy-badge-blue { background: rgba(59,130,246,.15); color: var(--accent-blue); }
.vy-badge-purple { background: rgba(124,58,237,.15); color: var(--accent-primary); }
.vy-badge-amber { background: rgba(245,158,11,.15); color: var(--accent-amber); }

/* Статусные точки */
.vy-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.vy-dot-online { background: var(--accent-green); box-shadow: 0 0 8px rgba(16,185,129,.5); }
.vy-dot-busy { background: var(--accent-red); }
.vy-dot-idle { background: var(--accent-amber); }

/* Мобильная адаптация */
@media(max-width: 768px) {
  .vy-sidebar { width: 56px; }
  .vy-sidebar-item { width: 40px; font-size: 8px; }
  .vy-sidebar-item svg { width: 18px; height: 18px; }
}
