/* ==========================================================================
   THREE-T ŞİRKETİM ERP — TABULATOR & VERİ TABLOLARI TEMA STANDARTLARI
   css/components_tabulator.css
   ========================================================================== */

/* --- Tabulator Grouping Customization --- */
.tabulator .tabulator-tableholder .tabulator-table {
    min-width: 100% !important;
}

.tabulator-row.tabulator-group {
    background: rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid var(--border-color) !important;
    cursor: pointer;
    display: flex !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 35px !important;
    min-height: 35px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.tabulator-row.tabulator-group .tabulator-arrow {
    display: none !important;
    /* Hide default left arrow */
}

.tabulator-row.tabulator-group .tabulator-group-header {
    width: 100% !important;
    min-width: 100% !important;
    flex: 1 1 100% !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
    margin: 0 !important;
    height: 100% !important;
}

.custom-group-toggle {
    transition: transform 0.2s ease;
    display: inline-block;
    pointer-events: none;
}

/* --- Tabulator DataTree Toggle Button Customization --- */
.tabulator-data-tree-control {
    transform: scale(1.6);
    cursor: pointer;
}

.tabulator-data-tree-control:hover {
    opacity: 0.8;
}

.tabulator-row.tabulator-group.tabulator-group-visible .custom-group-toggle {
    transform: rotate(45deg);
    /* Turns '+' into 'x' when opened */
    color: #ef4444 !important;
    /* Turn red */
}

#internalChatInputContainer {
    background: #111827;
    /* Gece siyahı varsayılan */
}

[data-theme="fume"] #internalChatHistory {
    background: #e5e7eb;
    /* Füme teması: çok açık gümüş */
}

[data-theme="fume"] #internalChatInputContainer {
    background: #d1d5db;
    /* Füme teması: açık gümüş */
}

.text-vivid {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}

.text-subtle {
    color: var(--text-secondary) !important;
}


/* ==========================================================================
   TABULATOR & TABLO TEMA STANDARTLARI (ŞİRKETİM — GECE SİYAHI & FÜME)
   ========================================================================== */

.tabulator {
    background-color: transparent !important;
    border: none !important;
    font-family: 'Inter', sans-serif !important;
    color: var(--text-primary) !important;
}

/* Headers (Dark) */
.tabulator .tabulator-header {
    background-color: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(5px);
    color: var(--text-secondary) !important;
    border-bottom: 1px solid var(--border-color) !important;
    font-weight: 600 !important;
}

.tabulator .tabulator-header .tabulator-col {
    background-color: transparent !important;
    border-right: 1px solid var(--border-color) !important;
}

.tabulator .tabulator-header .tabulator-col-title {
    color: var(--text-secondary) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* Rows (Dark) */
.tabulator-row {
    background-color: var(--bg-surface) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: var(--text-primary) !important;
}

.tabulator-row:hover,
.tabulator-row.tabulator-selectable:hover {
    background-color: var(--bg-surface-hover) !important;
}

/* Selected Rows/Cells (Dark) */
.tabulator-row.tabulator-selected,
.tabulator-row.tabulator-selectable.tabulator-selected,
.tabulator-row[aria-selected="true"] {
    background-color: #374151 !important;
    color: #ffffff !important;
}

.tabulator-row.tabulator-selected .tabulator-cell,
.tabulator-row[aria-selected="true"] .tabulator-cell {
    background-color: transparent !important;
    color: inherit !important;
}

/* Cells (Dark) */
.tabulator-cell {
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 10px !important;
    background-color: transparent !important;
    color: var(--text-primary) !important;
}

/* Editing Cell */
.tabulator-cell.tabulator-editing {
    border: 2px solid var(--accent-primary) !important;
    padding: 8px !important;
}

/* Edit Inputs */
.tabulator-cell input[type="text"],
.tabulator-cell select,
.tabulator-cell input[type="number"] {
    background-color: transparent !important;
    color: var(--text-primary) !important;
    border: none !important;
    outline: none !important;
    width: 100%;
    height: 100%;
}

.tabulator-cell select option {
    background-color: var(--bg-surface);
}

/* Footer & Pagination (Dark) */
.tabulator .tabulator-footer {
    background-color: var(--bg-surface, #1e293b) !important;
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1)) !important;
    color: var(--text-secondary, #94a3b8) !important;
    padding: 8px 12px !important;
    font-weight: 500 !important;
}

.tabulator .tabulator-footer .tabulator-paginator {
    color: var(--text-secondary, #94a3b8) !important;
    font-size: 0.85rem !important;
}

.tabulator .tabulator-footer .tabulator-page {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15)) !important;
    color: var(--text-primary) !important;
}

.tabulator .tabulator-footer .tabulator-page.active {
    background: var(--accent-primary) !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   FÜME TEMA (METALİK DUMAN TİTANYUMU) TABLO VE HÜCRE KONTRAST STANDARDI
   -------------------------------------------------------------------------- */

[data-theme="fume"] .tabulator {
    background: #88909c !important;
    background-color: #88909c !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: var(--radius-lg, 12px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07) !important;
    overflow: hidden !important;
    color: #111827 !important;
}

[data-theme="fume"] .tabulator .tabulator-tableholder,
[data-theme="fume"] .tabulator .tabulator-tableholder .tabulator-table {
    background: transparent !important;
    background-color: transparent !important;
}

/* Füme Headers — Akıllı Kart Tonu ile Uyumlu Tok Başlık & Belirgin Sütun Ayrımı */
[data-theme="fume"] .tabulator .tabulator-header {
    background: #777f8c !important;
    background-color: #777f8c !important;
    color: #111827 !important;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.25) !important;
}

[data-theme="fume"] .tabulator .tabulator-header .tabulator-col {
    background-color: transparent !important;
    border-right: 1px solid rgba(0, 0, 0, 0.18) !important;
}

[data-theme="fume"] .tabulator .tabulator-header .tabulator-col-title {
    color: #111827 !important;
    font-size: 13.5px !important;
    font-weight: 750 !important;
    letter-spacing: 0.2px;
}

/* Füme Header Filters */
[data-theme="fume"] .tabulator .tabulator-header .tabulator-col .tabulator-header-filter input {
    background: rgba(255, 255, 255, 0.75) !important;
    color: #111827 !important;
    border: 1px solid rgba(0, 0, 0, 0.22) !important;
    border-radius: 6px !important;
}

[data-theme="fume"] .tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::placeholder {
    color: #4b5563 !important;
    opacity: 0.85 !important;
}

[data-theme="fume"] .tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: #111827 !important;
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.15) !important;
}

/* Füme Rows — Küçük Akıllı Kartların İç Rengi (#88909c) ve Belirgin Çizgiler */
[data-theme="fume"] .tabulator-row,
[data-theme="fume"] .tabulator-row.tabulator-row-even {
    background: #88909c !important;
    background-color: #88909c !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: #111827 !important;
}

[data-theme="fume"] .tabulator-row.tabulator-row-odd {
    background: #808895 !important;
    background-color: #808895 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: #111827 !important;
}

[data-theme="fume"] .tabulator-row:hover,
[data-theme="fume"] .tabulator-row.tabulator-selectable:hover {
    background: #949ca8 !important;
    background-color: #949ca8 !important;
    transition: background 0.15s ease-in-out !important;
}

/* Füme Selected Rows */
[data-theme="fume"] .tabulator-row.tabulator-selected,
[data-theme="fume"] .tabulator-row.tabulator-selectable.tabulator-selected,
[data-theme="fume"] .tabulator-row[aria-selected="true"] {
    background: rgba(55, 65, 81, 0.45) !important;
    color: #ffffff !important;
}

/* Füme Cells & Belirgin Dikey Sütun Çizgileri */
[data-theme="fume"] .tabulator-cell {
    border-right: 1px solid rgba(0, 0, 0, 0.15) !important;
    background-color: transparent !important;
    color: #111827 !important;
}

[data-theme="fume"] .tabulator-cell input[type="text"],
[data-theme="fume"] .tabulator-cell select,
[data-theme="fume"] .tabulator-cell input[type="number"] {
    color: #111827 !important;
}

/* Füme Tablo Butonları (Görüntüle vb.) */
[data-theme="fume"] .tabulator-cell button,
[data-theme="fume"] .tabulator-cell .btn-view,
[data-theme="fume"] .tabulator-cell .btn-primary,
[data-theme="fume"] .tabulator-cell .btn-secondary {
    background: rgba(255, 255, 255, 0.5) !important;
    color: #111827 !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 6px !important;
}

[data-theme="fume"] .tabulator-cell button:hover,
[data-theme="fume"] .tabulator-cell .btn-view:hover {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
}

[data-theme="fume"] .tabulator-cell input[type="text"],
[data-theme="fume"] .tabulator-cell select,
[data-theme="fume"] .tabulator-cell input[type="number"] {
    color: #111827 !important;
}

/* Füme İçindeki Metin Tonları (Hiyerarşi) */
[data-theme="fume"] .tabulator-cell span:not(.badge):not(.status-badge):not([style*="color: #10b981"]):not([style*="color: #ef4444"]):not([style*="color: #e05260"]):not([style*="color: #b91c1c"]):not([style*="color: #8a5059"]):not([style*="color: #d97706"]):not([style*="color: #f97316"]):not([style*="color: #3b82f6"]):not([style*="color: #a855f7"]):not([style*="color: #fbbf24"]):not([style*="color: #60a5fa"]):not([style*="color: #38bdf8"]):not([style*="color:#10b981"]):not([style*="color:#ef4444"]):not([style*="color:#e05260"]):not([style*="color:#b91c1c"]):not([style*="color:#8a5059"]):not([style*="color:#d97706"]):not([style*="color:#f97316"]):not([style*="color:#3b82f6"]):not([style*="color:#a855f7"]):not([style*="color:#fbbf24"]):not([style*="color:#60a5fa"]):not([style*="color:#38bdf8"]),
[data-theme="fume"] .tabulator-cell div:not(.badge):not(.status-badge):not([style*="color: #10b981"]):not([style*="color: #ef4444"]):not([style*="color: #e05260"]):not([style*="color: #b91c1c"]):not([style*="color: #8a5059"]):not([style*="color: #d97706"]):not([style*="color: #f97316"]):not([style*="color: #3b82f6"]):not([style*="color: #a855f7"]):not([style*="color: #fbbf24"]):not([style*="color: #60a5fa"]):not([style*="color: #38bdf8"]):not([style*="color:#10b981"]):not([style*="color:#ef4444"]):not([style*="color:#e05260"]):not([style*="color:#b91c1c"]):not([style*="color:#8a5059"]):not([style*="color:#d97706"]):not([style*="color:#f97316"]):not([style*="color:#3b82f6"]):not([style*="color:#a855f7"]):not([style*="color:#fbbf24"]):not([style*="color:#60a5fa"]):not([style*="color:#38bdf8"]) {
    color: inherit;
}

[data-theme="fume"] .tabulator-cell .text-secondary,
[data-theme="fume"] .tabulator-cell [style*="var(--text-secondary)"],
[data-theme="fume"] .tabulator-cell [style*="#94a3b8"],
[data-theme="fume"] .tabulator-cell [style*="#64748b"] {
    color: #374151 !important;
}

[data-theme="fume"] .tabulator-cell .text-primary,
[data-theme="fume"] .tabulator-cell [style*="var(--text-primary)"],
[data-theme="fume"] .tabulator-cell [style*="#0f172a"],
[data-theme="fume"] .tabulator-cell [style*="#1e293b"],
[data-theme="fume"] .tabulator-cell [style*="#111827"] {
    color: #111827 !important;
}

/* Füme Monospace Kod Rozetleri (Fiş No, RMA No, Takip No vb.) */
[data-theme="fume"] .tabulator-cell span[style*="monospace"] {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #111827 !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

/* Füme Temada Tablo Durum Etiketleri & Yeşil Rozetler (Parlama Önleyici Tok Zümrüt) */
[data-theme="fume"] .tabulator-cell [style*="10b981"],
[data-theme="fume"] .tabulator-cell [style*="34d399"],
[data-theme="fume"] .tabulator-cell [style*="059669"],
[data-theme="fume"] .tabulator-cell [style*="rgba(16,185,129"],
[data-theme="fume"] .tabulator-cell [style*="rgba(16, 185, 129"],
[data-theme="fume"] .tabulator-cell [style*="rgba(52,211,153"],
[data-theme="fume"] .tabulator-cell [style*="rgba(5,150,105"],
[data-theme="fume"] .tabulator-cell [style*="var(--success)"],
[data-theme="fume"] .tabulator-cell .badge,
[data-theme="fume"] .tabulator-cell .status-badge,
[data-theme="fume"] .tabulator-cell .re-status-badge,
[data-theme="fume"] .tabulator-cell .einvoice-pill.success,
[data-theme="fume"] .excel-table td [style*="10b981"],
[data-theme="fume"] .excel-table td [style*="rgba(16,185,129"],
[data-theme="fume"] table.excel-table td [style*="10b981"],
[data-theme="fume"] .theme-panel table td [style*="10b981"],
[data-theme="fume"] .theme-panel table td [style*="rgba(16,185,129"] {
    background: rgba(5, 150, 105, 0.12) !important;
    color: #065f46 !important;
    border-color: rgba(5, 150, 105, 0.3) !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

[data-theme="fume"] .tabulator-cell [style*="10b981"] svg,
[data-theme="fume"] .tabulator-cell [style*="34d399"] svg,
[data-theme="fume"] .tabulator-cell [style*="059669"] svg,
[data-theme="fume"] .tabulator-cell [style*="rgba(16,185,129"] svg,
[data-theme="fume"] .tabulator-cell [style*="var(--success)"] svg {
    stroke: #065f46 !important;
}

/* Füme Temada Kırmızı / Gider Rozetleri (Dumanlı Rose) */
[data-theme="fume"] .tabulator-cell [style*="ef4444"],
[data-theme="fume"] .tabulator-cell [style*="rgba(239,68,68"],
[data-theme="fume"] .tabulator-cell [style*="rgba(239, 68, 68"],
[data-theme="fume"] .tabulator-cell [style*="b91c1c"],
[data-theme="fume"] .excel-table td [style*="ef4444"],
[data-theme="fume"] .excel-table td [style*="rgba(239,68,68"],
[data-theme="fume"] .theme-panel table td [style*="ef4444"] {
    background: rgba(138, 80, 89, 0.12) !important;
    color: #8a5059 !important;
    border-color: rgba(138, 80, 89, 0.3) !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

[data-theme="fume"] .tabulator-cell [style*="ef4444"] svg,
[data-theme="fume"] .tabulator-cell [style*="rgba(239,68,68"] svg {
    stroke: #8a5059 !important;
}

/* Füme Temada Sarı / Uyarı Rozetleri (Rose Gold) */
[data-theme="fume"] .tabulator-cell [style*="f59e0b"],
[data-theme="fume"] .tabulator-cell [style*="rgba(245,158,11"],
[data-theme="fume"] .tabulator-cell [style*="rgba(245, 158, 11"],
[data-theme="fume"] .excel-table td [style*="f59e0b"],
[data-theme="fume"] .excel-table td [style*="rgba(245,158,11"],
[data-theme="fume"] .theme-panel table td [style*="f59e0b"] {
    background: rgba(183, 110, 121, 0.12) !important;
    color: #9d4d59 !important;
    border-color: rgba(183, 110, 121, 0.3) !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

[data-theme="fume"] .tabulator-cell [style*="f59e0b"] svg,
[data-theme="fume"] .tabulator-cell [style*="rgba(245,158,11"] svg {
    stroke: #9d4d59 !important;
}

/* Füme Temada Mavi / Kalem / Bilgi Rozetleri (Tok Çelik Safir) */
[data-theme="fume"] .tabulator-cell [style*="rgba(96, 165, 250"],
[data-theme="fume"] .tabulator-cell [style*="rgba(96,165,250"],
[data-theme="fume"] .tabulator-cell [style*="rgba(59, 130, 246"],
[data-theme="fume"] .tabulator-cell [style*="rgba(59,130,246"],
[data-theme="fume"] .tabulator-cell [style*="rgba(56, 189, 248"],
[data-theme="fume"] .tabulator-cell [style*="rgba(56,189,248"],
[data-theme="fume"] .tabulator-cell [style*="border-radius"][style*="60a5fa"],
[data-theme="fume"] .tabulator-cell [style*="border-radius"][style*="3b82f6"],
[data-theme="fume"] .excel-table td [style*="rgba(96,165,250"],
[data-theme="fume"] .excel-table td [style*="rgba(59,130,246"],
[data-theme="fume"] .excel-table td [style*="border-radius"][style*="60a5fa"],
[data-theme="fume"] .theme-panel table td [style*="rgba(96,165,250"],
[data-theme="fume"] .theme-panel table td [style*="rgba(59,130,246"],
[data-theme="fume"] .theme-panel table td [style*="border-radius"][style*="60a5fa"] {
    background: rgba(30, 64, 175, 0.10) !important;
    color: #1e40af !important;
    border-color: rgba(30, 64, 175, 0.28) !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

/* Füme Temada Düz Mavi Metinler */
[data-theme="fume"] .tabulator-cell [style*="60a5fa"],
[data-theme="fume"] .tabulator-cell [style*="3b82f6"],
[data-theme="fume"] .tabulator-cell [style*="38bdf8"],
[data-theme="fume"] .tabulator-cell [style*="93c5fd"],
[data-theme="fume"] .excel-table td [style*="60a5fa"],
[data-theme="fume"] .excel-table td [style*="3b82f6"],
[data-theme="fume"] .theme-panel table td [style*="60a5fa"],
[data-theme="fume"] .theme-panel table td [style*="3b82f6"] {
    color: #1e40af !important;
}

[data-theme="fume"] .tabulator-cell [style*="60a5fa"] svg,
[data-theme="fume"] .tabulator-cell [style*="3b82f6"] svg,
[data-theme="fume"] .tabulator-cell [style*="rgba(96,165,250"] svg {
    stroke: #1e40af !important;
}

/* Tablo İçi İşlem Butonları Sıfırlama (Rozet stillerinin butonlara kutu/kenarlık yapmasını engeller) */
.tabulator-cell button,
[data-theme="fume"] .tabulator-cell button,
.excel-table td button,
[data-theme="fume"] .excel-table td button,
.theme-panel table td button,
[data-theme="fume"] .theme-panel table td button {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 3px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: unset !important;
}

/* Tablo İçi İkonik İşlem Butonları (Arşiv, WhatsApp, Düzenle, Sil) - Tüm Temalarda Birebir Aynı ve Simetrik */
.table-action-btn,
.tabulator-cell .table-action-btn,
[data-theme="fume"] .tabulator-cell .table-action-btn,
.excel-table td .table-action-btn,
[data-theme="fume"] .excel-table td .table-action-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    transition: background 0.15s ease !important;
}

.table-action-btn:hover,
.tabulator-cell .table-action-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="fume"] .table-action-btn:hover,
[data-theme="fume"] .tabulator-cell .table-action-btn:hover {
    background: rgba(0, 0, 0, 0.06) !important;
}

.table-action-btn svg,
.tabulator-cell .table-action-btn svg,
[data-theme="fume"] .tabulator-cell .table-action-btn svg {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    min-height: 17px !important;
    flex-shrink: 0 !important;
}

/* SKU / Stok Kodu Rozeti Standardı */
.sku-badge {
    display: inline-block;
    font-family: var(--font-mono, monospace) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    padding: 2px 7px !important;
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.25);
}

/* Füme Temada SKU / Stok Kodu Rozeti (Tok Çelik Safir Monospace) */
[data-theme="fume"] .sku-badge,
[data-theme="fume"] .tabulator-cell .sku-badge,
[data-theme="fume"] .tabulator-cell [style*="ff6b6b"],
[data-theme="fume"] .tabulator-cell [style*="rgba(255,0,0"],
[data-theme="fume"] .tabulator-cell [style*="rgba(255, 0, 0"],
[data-theme="fume"] .excel-table td .sku-badge,
[data-theme="fume"] .excel-table td [style*="ff6b6b"],
[data-theme="fume"] .excel-table td [style*="rgba(255,0,0"],
[data-theme="fume"] .theme-panel table td .sku-badge,
[data-theme="fume"] .theme-panel table td [style*="ff6b6b"] {
    background: rgba(30, 64, 175, 0.09) !important;
    color: #1e40af !important;
    border: 1px solid rgba(30, 64, 175, 0.25) !important;
    font-weight: 600 !important;
    font-family: var(--font-mono, monospace) !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

/* Füme Footer & Pagination */
[data-theme="fume"] .tabulator .tabulator-footer {
    background-color: var(--bg-surface, #e2e8f0) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.14) !important;
    color: #374151 !important;
}

[data-theme="fume"] .tabulator .tabulator-footer .tabulator-paginator {
    color: #374151 !important;
}

[data-theme="fume"] .tabulator .tabulator-footer .tabulator-page {
    background: rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: #111827 !important;
}

[data-theme="fume"] .tabulator .tabulator-footer .tabulator-page.active {
    background: #374151 !important;
    color: #ffffff !important;
    border-color: #374151 !important;
}

.tabulator .tabulator-footer .tabulator-page:hover:not(.disabled) {
    background: var(--bg-hover, rgba(255, 255, 255, 0.15)) !important;
    color: var(--accent-color, #0ea5e9) !important;
    border-color: var(--accent-color, #0ea5e9) !important;
}

.tabulator .tabulator-footer .tabulator-page.disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
}

.tabulator .tabulator-footer .tabulator-page-size {
    background: var(--bg-surface, #0f172a) !important;
    color: var(--text-primary, #ffffff) !important;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.2)) !important;
    border-radius: 4px !important;
    padding: 3px 6px !important;
    font-size: 0.82rem !important;
}

[data-theme="fume"] .tabulator .tabulator-footer .tabulator-page-size {
    background: rgba(255, 255, 255, 0.75) !important;
    color: #111827 !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
}


