/* ==========================================
   Fanus Variant System — استایل‌های «در حال استفاده»
   ------------------------------------------------------
   قواعدِ رابطِ حذف‌شدهٔ «ویژگی/تنوع نسخهٔ ۱» و «داشبورد موجودیِ
   قدیمی» از این فایل پاک شدند.

   توجه مهم: این فایل بعد از style.css لود می‌شود، پس هر قاعدهٔ
   مشترک، design system را بازنویسی می‌کند (مثل .inv-chip). به همین
   دلیل حذفِ کاملِ فایل، ظاهرِ پنل را عوض می‌کرد — پس فقط بلوک‌های
   کاملاً مرده بریده شدند و بقیه بایت‌به‌بایت یکسان است.
   ========================================== */

.inv-search-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: var(--f-glass-bg);
  border: 1px solid var(--f-glass-border);
  border-radius: var(--f-radius-md);
  color: var(--f-gray-900);
  font-size: 14px;
  font-family: 'Vazirmatn', 'Tahoma', sans-serif;
  transition: all 0.2s ease;
  backdrop-filter: var(--f-glass-blur);
}

body.dark .inv-search-input {
  color: var(--f-gray-100);
}

.inv-search-input:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}

.inv-search-input::placeholder {
  color: var(--f-gray-400);
}

.inv-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--f-gray-400);
  pointer-events: none;
}

/* ==========================================
   Filter Chips
   ========================================== */
.inv-filter-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* حذف کامل نوار اسکرول سبز */
.inv-filter-chips::-webkit-scrollbar {
  display: none !important;
  height: 0 !important;
  background: none !important;
}

.inv-chip {
  padding: 8px 16px;
  background: var(--f-glass-bg);
  border: 1px solid var(--f-glass-border);
  border-radius: 20px;
  color: var(--f-gray-600);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: 'Vazirmatn', 'Tahoma', sans-serif;
  backdrop-filter: var(--f-glass-blur);
  position: relative;
}

/* حذف نوار رنگی زیر چیپ‌ها */
.inv-chip::after {
  content: none !important;
  display: none !important;
}

body.dark .inv-chip { color: var(--f-gray-300); }

.inv-chip:hover {
  border-color: #10b981;
  color: #10b981;
}

.inv-chip.active {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #10b981;
  color: white;
  box-shadow: none;
}

/* ==========================================
   Products List
   ========================================== */
.inv-products-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.f-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.6;
}
.f-badge-green { background: #dcfce7; color: #047857; }
.f-badge-red { background: #fee2e2; color: #ef4444; }
.f-badge-orange { background: #fed7aa; color: #c2410c; }
.f-badge-gray { background: var(--f-gray-100, #f3f4f6); color: var(--f-gray-600, #4b5563); }

/* ==========================================
   Empty State
   ========================================== */
.inv-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--f-gray-500);
}

.inv-empty-icon {
  margin-bottom: 16px;
  opacity: 0.4;
  display: flex;
  justify-content: center;
}

.inv-empty-state h3 {
  font-size: 16px;
  color: var(--f-gray-700);
  margin-bottom: 8px;
}

body.dark .inv-empty-state h3 { color: var(--f-gray-300); }

.inv-empty-state p {
  font-size: 13px;
  color: var(--f-gray-500);
  margin-bottom: 20px;
}
