
        :root {
            --primary-bg: #f3f4f6;
            --sidebar-bg: #ffffff;
            --text-main: #1e293b;
            --text-light: #64748b;
            --accent-teal: #0ea5e9;
            --accent-purple: #8b5cf6; /* رنگ بنفش برای تخفیفات */
            --table-header-bg: #f3e8ff; /* بنفش خیلی روشن برای هدر */
            --border-color: #e2e8f0;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Vazirmatn', sans-serif; text-decoration: none; outline: none; }

        body { background-color: var(--primary-bg); color: var(--text-main); display: flex; height: 100vh; overflow: hidden; }

        /* --- سایدبار ثابت --- */
        .sidebar { width: 260px; background-color: var(--sidebar-bg); border-left: 1px solid var(--border-color); display: flex; flex-direction: column; padding: 20px; z-index: 100; }
        .brand-logo { font-size: 22px; font-weight: 800; color: var(--accent-teal); display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid #f1f5f9; }
        .nav-menu { display: flex; flex-direction: column; gap: 10px; flex: 1; }
        .nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-radius: 12px; color: var(--text-light); font-weight: 500; font-size: 14px; transition: 0.2s; }
        .nav-item:hover { background-color: #f1f5f9; color: var(--accent-teal); transform: translateX(-5px); }
        .nav-item i { width: 20px; text-align: center; font-size: 18px; }
        .sidebar-footer { margin-top: auto; border-top: 1px solid #f1f5f9; padding-top: 20px; display: flex; align-items: center; gap: 10px; }
        .user-avatar { width: 40px; height: 40px; background: #e0f2fe; color: #0284c7; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }

        /* --- محتوای اصلی --- */
        .main-content { flex: 1; padding: 30px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; }

        .page-header { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
        .back-btn { width: 40px; height: 40px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; color: var(--text-main); box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: 0.2s; cursor: pointer; }
        .back-btn:hover { background-color: var(--accent-purple); color: white; transform: translateX(3px); }
        .page-title { font-size: 24px; font-weight: 800; color: var(--text-main); }

        /* --- جستجو --- */
        .search-container { position: relative; margin-bottom: 10px; }
        .search-input { width: 100%; padding: 15px 50px 15px 20px; border: 2px solid #cbd5e1; border-radius: 12px; font-size: 16px; transition: 0.3s; background: white; }
        .search-input:focus { border-color: var(--accent-purple); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1); }
        .search-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--text-light); font-size: 20px; }

        /* --- جدول --- */
        .table-container {
            background: white;
            border-radius: 16px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            border: 1px solid var(--border-color);
            overflow: hidden;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            border-spacing: 0;
        }

        thead {
            background-color: var(--table-header-bg);
            border-bottom: 2px solid #ddd6fe;
        }

        th {
            padding: 20px 15px;
            text-align: center;
            font-weight: 800;
            color: #6d28d9; /* بنفش تیره */
            font-size: 15px;
        }

        td {
            padding: 15px;
            border-bottom: 1px solid #f1f5f9;
            color: #334155;
            font-size: 14px;
            text-align: center;
            vertical-align: middle;
        }

        tr:last-child td { border-bottom: none; }
        
        /* افکت راه‌راه (Zebra) و هاور */
        tbody tr:nth-child(even) { background-color: #fafafa; }
        tbody tr:hover { background-color: #f3e8ff; }

        /* استایل خاص ستون‌ها */
        .type-cell { font-weight: 600; color: var(--text-main); text-align: right; padding-right: 20px; }
        .support-cell { color: #4b5563; font-weight: 500; }
        .param-cell { font-family: 'Segoe UI', sans-serif; color: #64748b; background: #f8fafc; padding: 4px 8px; border-radius: 6px; font-size: 13px; display: inline-block; }
        .output-cell { font-family: 'Segoe UI', sans-serif; font-weight: 800; color: var(--accent-purple); font-size: 16px; }

 