﻿/* =========================================================
   ۹) منوی کلیک راست Tabulator (Context Menu)
   هدف: همسان‌سازی منوی راست‌کلیک ستون‌ها با تم تاریک
   وابستگی: این استایل‌ها زمانی اثر دارند که در JS از headerContextMenu استفاده شده باشد
   ========================================================= */
/* منوی کلیک راست - هماهنگ با تم تاریک */
.tabulator-menu {
    direction: rtl !important;
    text-align: right !important;
    /* رنگ پس‌زمینه تیره (مشابه جدول) */
    background: #2b2b2b !important;
    border: 1px solid #444 !important; /* حاشیه تیره */
    color: #fff !important; /* متن سفید */
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
    min-width: 230px !important;
    padding: 6px 0 !important;
    z-index: 99999999 !important;
    font-family: Tahoma, Arial, sans-serif !important;
    font-size: 13px !important;
    overflow: hidden !important;
}

    /* آیتم‌های داخل منو */
    .tabulator-menu .tabulator-menu-item {
        direction: rtl !important;
        text-align: right !important;
        background: #2b2b2b !important;
        color: #fff !important;
        padding: 9px 14px !important;
        line-height: 1.8 !important;
        white-space: nowrap !important;
        cursor: pointer !important;
        /* خط جداکننده تیره */
        border-bottom: 1px solid #444 !important;
    }

        .tabulator-menu .tabulator-menu-item:last-child {
            border-bottom: none !important;
        }

        /* افکت هاور (زمانی که موس روی گزینه می‌رود) */
        .tabulator-menu .tabulator-menu-item:hover {
            background: #3d3d3d !important; /* رنگ خاکستری روشن‌تر برای هاور */
            color: #fff !important;
        }
