/* ════════════════════════════════════════
   base.css — متغیرها، ریست، فونت، اسکرول
   ════════════════════════════════════════ */

:root {
  --bg-base:     #0a0a0a;
  --bg-card:     #141414;
  --bg-hover:    #1c1c1c;
  --bg-input:    #181818;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.13);
  --text-primary:   #f0f0f0;
  --text-secondary: #888;
  --text-muted:     #444;
  --accent:     #e8e8e8;
  --accent-dim: rgba(232,232,232,0.08);
  --claude:   #d97751;
  --openai:   #10a37f;
  --gemini:   #4285f4;
  --deepseek: #4a9eff;
  --grok:     #aaaaaa;
  --sidebar-w: 220px;
  --danger:  #e05c5c;
  --success: #4caf86;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  direction: rtl;
  height: 100vh;
  overflow: hidden;
  display: flex;
}

/* ─── اسکرول ─── */
::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-hover); border-radius: 4px; }

/* ─── آنیمیشن‌های مشترک ─── */
.spin { animation: spin 0.8s linear infinite; }
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes fadeUp  { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@keyframes slideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
@keyframes bounce  { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }

/* ─── کلاس‌های عمومی ─── */
.hidden  { display: none !important; }