/* ============================================================
   ADMIN AYDINLIK TEMA (SOFT SLATE LIGHT MODE)
   Varsayilan gece temasini bozmadan, yumusak grimsi aydinlik mod.
   ============================================================ */

/* 1. Temel Sayfa ve Arka Plan */
html.admin-light-theme,
html.admin-light-theme body:not(.portal-body),
body.admin-light-theme:not(.portal-body) {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    transition: background 0.25s ease, color 0.25s ease;
}

html.admin-light-theme body:not(.portal-body)::before,
body.admin-light-theme:not(.portal-body)::before {
    display: none !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel.dashboard-container {
    background: #f1f5f9 !important;
}

/* Aydınlık tema metin hiyerarşisi — koyu tema kurallarının yerine geçer.
   Bileşenlerin kendi renk kuralları (bu blokta daha aşağıda) bunları ezer. */
body.admin-light-theme:not(.portal-body) #mainPanel strong {
    color: #0f172a;
}
body.admin-light-theme:not(.portal-body) #mainPanel p {
    color: #334155;
}
body.admin-light-theme:not(.portal-body) #mainPanel small,
body.admin-light-theme:not(.portal-body) #mainPanel label {
    color: #64748b;
}

/* 2. Ust Komuta Bari (Header / Sidebar) */
body.admin-light-theme:not(.portal-body) #mainPanel .sidebar {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05), inset 0 -1px 0 rgba(0, 0, 0, 0.04) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #1e293b !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .sidebar .brand,
body.admin-light-theme:not(.portal-body) #mainPanel .brand {
    color: #0f172a !important;
    text-shadow: none !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .brand span {
    color: #2563eb !important;
    text-shadow: none !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .user-info {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

/* 3. Menü Butonları */
body.admin-light-theme:not(.portal-body) #mainPanel .nav-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s ease;
}

body.admin-light-theme:not(.portal-body) #mainPanel .nav-btn i {
    color: #2563eb !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .nav-btn:hover {
    border-color: #94a3b8 !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .nav-btn.active {
    background: #2563eb !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28) !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .nav-btn.active i {
    color: #ffffff !important;
}

/* 4. Tema Değiştirme Butonu */
body:not(.portal-body) #mainPanel .nav-btn.theme-toggle {
    border-color: rgba(251, 191, 36, 0.4) !important;
    background: rgba(245, 158, 11, 0.14) !important;
    color: #fbbf24 !important;
}

body:not(.portal-body) #mainPanel .nav-btn.theme-toggle i {
    color: #fbbf24 !important;
}

body:not(.portal-body) #mainPanel .nav-btn.theme-toggle:hover {
    background: rgba(245, 158, 11, 0.25) !important;
    border-color: #f59e0b !important;
    color: #fde68a !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .nav-btn.theme-toggle {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
    color: #475569 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .nav-btn.theme-toggle i {
    color: #6366f1 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .nav-btn.theme-toggle:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #1e293b !important;
}

/* 5. Çıkış Butonu */
body.admin-light-theme:not(.portal-body) #mainPanel .nav-btn.logout {
    border-color: #fca5a5 !important;
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .nav-btn.logout i {
    color: #dc2626 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .nav-btn.logout:hover {
    background: #fee2e2 !important;
    border-color: #f87171 !important;
    color: #b91c1c !important;
}

/* 6. İçerik Alanı & Başlıklar */
body.admin-light-theme:not(.portal-body) #mainPanel .content {
    background: transparent !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel h1,
body.admin-light-theme:not(.portal-body) #mainPanel h2,
body.admin-light-theme:not(.portal-body) #mainPanel h3,
body.admin-light-theme:not(.portal-body) #mainPanel h4 {
    color: #0f172a !important;
    text-shadow: none !important;
}

/* 7. Kartlar & Paneller */
body.admin-light-theme:not(.portal-body) #mainPanel .card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02) !important;
    color: #1e293b !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .card > div[style*="background:#f8fafc"],
body.admin-light-theme:not(.portal-body) #mainPanel [style*="background:#f8fafc"],
body.admin-light-theme:not(.portal-body) #mainPanel [style*="background: #f8fafc"] {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    box-shadow: none !important;
}

/* 8. Özet İstatistik Kartları (Dashboard) */
body.admin-light-theme:not(.portal-body) #mainPanel .stat-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    color: #1e293b !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .stat-info h3 {
    color: #64748b !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .stat-info p {
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .stat-card.orange .stat-icon {
    background: #fff7ed !important;
    color: #ea580c !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .stat-card.blue .stat-icon {
    background: #eff6ff !important;
    color: #2563eb !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .stat-card.purple .stat-icon {
    background: #f3e8ff !important;
    color: #9333ea !important;
}

/* Dashboard refund cards had a more specific dark-mode cyan icon treatment. */
body.admin-light-theme:not(.portal-body) #mainPanel #page-dashboard .dashboard-refund-card .stat-icon {
    background: #eff6ff !important;
    color: #2563eb !important;
    box-shadow: none !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel #page-dashboard #cardPaymentPending .stat-icon {
    background: #fff7ed !important;
    color: #c2410c !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel #page-dashboard #cardReturnPending .stat-icon {
    background: #eff6ff !important;
    color: #2563eb !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel #page-dashboard #cardExchangePending .stat-icon {
    background: #f3e8ff !important;
    color: #7c3aed !important;
}

/* 9. Tablolar & Modern Floating Tables (Aydınlık Mod) */

/* Standart Tablo Kapsayıcıları */
body.admin-light-theme:not(.portal-body) #mainPanel .table-responsive,
body.admin-light-theme:not(.portal-body) #mainPanel .table-container {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    border-radius: 12px !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel table {
    background: #ffffff !important;
    color: #0f172a !important;
}

/* Sütun Başlıkları - Yüksek Kontrastlı Koyu Slate */
body.admin-light-theme:not(.portal-body) #mainPanel th,
body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table thead th,
body.admin-light-theme:not(.portal-body) #mainPanel .simple-table th,
body.admin-light-theme:not(.portal-body) #mainPanel .ws-table th,
body.admin-light-theme:not(.portal-body) #mainPanel .picking-table th {
    background: #f8fafc !important;
    color: #1e293b !important;
    border-bottom: 2px solid #cbd5e1 !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    padding: 11px 16px !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel td,
body.admin-light-theme:not(.portal-body) #mainPanel .simple-table td,
body.admin-light-theme:not(.portal-body) #mainPanel .ws-table td {
    background: #ffffff !important;
    color: #0f172a !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 13px !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel tr:hover td {
    background: #f8fafc !important;
    color: #0f172a !important;
}

/* --- MODERN FLOATING TABLES (İade, Depo, Toptan, Desi vb.) --- */
body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table {
    border-spacing: 0 8px !important;
    background: transparent !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table thead th {
    background: transparent !important;
    border: none !important;
    color: #1e293b !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    padding: 10px 18px !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table tbody tr {
    background: transparent !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table tbody tr:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table tbody td {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-left: none !important;
    border-right: none !important;
    color: #0f172a !important;
    font-size: 13px !important;
    padding: 13px 18px !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table tbody td:first-child {
    border-left: 1px solid #e2e8f0 !important;
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table tbody td:last-child {
    border-right: 1px solid #e2e8f0 !important;
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table tbody tr:hover td {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table tbody tr:hover td[data-label="Ürün İsmi"] {
    color: #1e293b !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table tbody tr:hover td[data-label="Tarih"] {
    color: #64748b !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table tbody tr:hover td[data-label="Fiyat"] b {
    color: #0f172a !important;
}

/* Tablo İçi Metin ve Vurgular */
body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table strong,
body.admin-light-theme:not(.portal-body) #mainPanel table strong,
body.admin-light-theme:not(.portal-body) #mainPanel table b,
body.admin-light-theme:not(.portal-body) #mainPanel tr:hover strong,
body.admin-light-theme:not(.portal-body) #mainPanel tr:hover b {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table small,
body.admin-light-theme:not(.portal-body) #mainPanel table small,
body.admin-light-theme:not(.portal-body) #mainPanel tr:hover small {
    color: #475569 !important;
    font-weight: 500 !important;
}

/* 10. Sayfalama & Alt Kısımlar (Pagination & Bottom Rows) */
body.admin-light-theme:not(.portal-body) #mainPanel .pagination-container {
    background: transparent !important;
    border: none !important;
    margin-top: 18px !important;
    display: flex !important;
    gap: 6px !important;
    justify-content: center !important;
    align-items: center !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .pagination-btn,
body.admin-light-theme:not(.portal-body) #mainPanel .page-btn {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    min-width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.18s ease !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 10px !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .page-btn:hover:not(:disabled):not(.active),
body.admin-light-theme:not(.portal-body) #mainPanel .pagination-btn:hover:not(:disabled):not(.active) {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .page-btn.active,
body.admin-light-theme:not(.portal-body) #mainPanel .pagination-info {
    background: #2563eb !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35) !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .page-btn:disabled,
body.admin-light-theme:not(.portal-body) #mainPanel .pagination-btn:disabled {
    opacity: 0.45 !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .pagination-container span {
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

/* 11. Rozetler & Data Badgeler (Tüm Tablolar) */

/* Temel Data Badge (Gri Hap) */
body.admin-light-theme:not(.portal-body) #mainPanel .data-badge,
body.admin-light-theme:not(.portal-body) #inventoryTableBody .data-badge,
body.admin-light-theme:not(.portal-body) #xmlTableBody .data-badge,
body.admin-light-theme:not(.portal-body) #returnsTableBody .data-badge,
body.admin-light-theme:not(.portal-body) #siparislerTableBody .data-badge {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    border-radius: 999px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    box-shadow: none !important;
    display: inline-block !important;
}

/* Barkod Rozeti (Monospace, Açık Nötr) */
body.admin-light-theme:not(.portal-body) #inventoryTableBody td[data-label="Barkod"] .data-badge,
body.admin-light-theme:not(.portal-body) #xmlTableBody td[data-label="Barkod"] .data-badge,
body.admin-light-theme:not(.portal-body) #inventoryTableBody td:nth-child(2) .data-badge,
body.admin-light-theme:not(.portal-body) #xmlTableBody td:nth-child(2) .data-badge {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
}

/* Stok Kodu (SKU) Rozeti (Mavi Vurgulu) */
body.admin-light-theme:not(.portal-body) #inventoryTableBody td[data-label="Stok Kodu"] .data-badge,
body.admin-light-theme:not(.portal-body) #xmlTableBody td[data-label="Stok Kodu"] .data-badge,
body.admin-light-theme:not(.portal-body) #inventoryTableBody td:nth-child(3) .data-badge,
body.admin-light-theme:not(.portal-body) #xmlTableBody td:nth-child(3) .data-badge,
body.admin-light-theme:not(.portal-body) #mainPanel .data-badge[style*="font-weight:bold"],
body.admin-light-theme:not(.portal-body) #mainPanel .data-badge[style*="font-weight: bold"] {
    background: #e0f2fe !important;
    border: 1px solid #bae6fd !important;
    color: #0369a1 !important;
    font-weight: 800 !important;
    font-size: 12px !important;
}

/* SKU Altındaki Ürün Adı Metni */
body.admin-light-theme:not(.portal-body) #inventoryTableBody td[data-label="Stok Kodu"] small,
body.admin-light-theme:not(.portal-body) #inventoryTableBody td:nth-child(3) small {
    display: inline-block !important;
    margin-top: 4px !important;
    color: #334155 !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

/* Depo Konumu Rozeti (Sarı / Kehribar Hap) */
body.admin-light-theme:not(.portal-body) #inventoryTableBody td[data-label="Konum"] .data-badge,
body.admin-light-theme:not(.portal-body) #inventoryTableBody td:nth-child(4) .data-badge,
body.admin-light-theme:not(.portal-body) #mainPanel .data-badge[style*="#fff3cd"],
body.admin-light-theme:not(.portal-body) #mainPanel .data-badge[style*="#856404"] {
    background: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
    font-weight: 800 !important;
    font-size: 12px !important;
}

body.admin-light-theme:not(.portal-body) #inventoryTableBody td[data-label="Konum"] span[style*="color:#e74c3c"] {
    color: #dc2626 !important;
    font-weight: 700 !important;
    font-size: 11.5px !important;
}

/* Durum Rozeti "Var" / Stok Pozitif (Yeşil Hap) */
body.admin-light-theme:not(.portal-body) #inventoryTableBody td[data-label="Durum"] .badge[style*="green"],
body.admin-light-theme:not(.portal-body) #inventoryTableBody td[data-label="Durum"] .badge[style*="#e8f5e9"],
body.admin-light-theme:not(.portal-body) #xmlTableBody td[data-label="Stok"] .badge[style*="green"],
body.admin-light-theme:not(.portal-body) #xmlTableBody td[data-label="Stok"] .badge[style*="#e8f5e9"],
body.admin-light-theme:not(.portal-body) #mainPanel span.badge[style*="background:#e8f5e9"],
body.admin-light-theme:not(.portal-body) #mainPanel span.badge[style*="background: #e8f5e9"],
body.admin-light-theme:not(.portal-body) #mainPanel span.badge[style*="color:green"],
body.admin-light-theme:not(.portal-body) #mainPanel span.badge[style*="color: green"],
body.admin-light-theme:not(.portal-body) #mainPanel table span[style*="color:green"],
body.admin-light-theme:not(.portal-body) #mainPanel table span[style*="color: green"] {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #86efac !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    padding: 4px 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
}

/* Durum Rozeti "Yok" / Stok Bitti (Kırmızı Hap) */
body.admin-light-theme:not(.portal-body) #inventoryTableBody td[data-label="Durum"] .badge[style*="red"],
body.admin-light-theme:not(.portal-body) #inventoryTableBody td[data-label="Durum"] .badge[style*="#ffebee"],
body.admin-light-theme:not(.portal-body) #xmlTableBody td[data-label="Stok"] .badge[style*="red"],
body.admin-light-theme:not(.portal-body) #xmlTableBody td[data-label="Stok"] .badge[style*="#ffebee"],
body.admin-light-theme:not(.portal-body) #mainPanel span.badge[style*="background:#ffebee"],
body.admin-light-theme:not(.portal-body) #mainPanel span.badge[style*="background: #ffebee"],
body.admin-light-theme:not(.portal-body) #mainPanel span.badge[style*="color:red"],
body.admin-light-theme:not(.portal-body) #mainPanel span.badge[style*="color: red"],
body.admin-light-theme:not(.portal-body) #mainPanel table span[style*="color:red"],
body.admin-light-theme:not(.portal-body) #mainPanel table span[style*="color: red"],
body.admin-light-theme:not(.portal-body) #mainPanel table span[style*="color:#DC2626"],
body.admin-light-theme:not(.portal-body) #mainPanel table span[style*="color: #DC2626"] {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid #fca5a5 !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    padding: 4px 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
}

/* Toptan Sipariş Rozetleri */
body.admin-light-theme:not(.portal-body) #mainPanel span.badge[style*="#fff3cd"],
body.admin-light-theme:not(.portal-body) #mainPanel span.badge[style*="#856404"] {
    background: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    padding: 4px 12px !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel span.badge[style*="#d4edda"],
body.admin-light-theme:not(.portal-body) #mainPanel span.badge[style*="#155724"] {
    background: #dcfce7 !important;
    color: #14532d !important;
    border: 1px solid #86efac !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    padding: 4px 12px !important;
}

/* İade Yönetimi Status Rozetleri */
body.admin-light-theme:not(.portal-body) #returnsTableBody .status-badge,
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge {
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 5px 12px !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#FFF7ED"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#fff7ed"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#EA580C"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#ea580c"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#FEF3C7"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#fef3c7"] {
    background: #fff7ed !important;
    color: #c2410c !important;
    border: 1px solid #fdba74 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#EFF6FF"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#eff6ff"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#3B82F6"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#3b82f6"] {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#DCFCE7"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#dcfce7"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#16A34A"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#16a34a"] {
    background: #dcfce7 !important;
    color: #14532d !important;
    border: 1px solid #86efac !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#D1FAE5"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#d1fae5"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#059669"] {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#CCFBF1"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#ccfbf1"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#0F766E"] {
    background: #f0fdfa !important;
    color: #0f766e !important;
    border: 1px solid #99f6e4 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#FEF2F2"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#fef2f2"],
body.admin-light-theme:not(.portal-body) #mainPanel .status-badge[style*="#DC2626"] {
    background: #fff1f2 !important;
    color: #be123c !important;
    border: 1px solid #fecdd3 !important;
}

/* Talep Türü Rozetleri (İade / Değişim / İptal) */
body.admin-light-theme:not(.portal-body) #mainPanel .badge-type,
body.admin-light-theme:not(.portal-body) #returnsTableBody .badge-type {
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 5px 10px !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .badge-type-iade,
body.admin-light-theme:not(.portal-body) #returnsTableBody .badge-type-iade {
    background: #fff1f2 !important;
    color: #be123c !important;
    border: 1px solid #fecdd3 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .badge-type-degisim,
body.admin-light-theme:not(.portal-body) #returnsTableBody .badge-type-degisim {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .badge-type-iptal,
body.admin-light-theme:not(.portal-body) #returnsTableBody .badge-type-iptal {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
}

/* Desi Tablosu Rozetleri */
body.admin-light-theme:not(.portal-body) #desiTableBody .ft-day,
body.admin-light-theme:not(.portal-body) #desiTableBody .ft-val-num {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #desiTableBody .ft-time,
body.admin-light-theme:not(.portal-body) #desiTableBody .ft-val-label {
    color: #64748b !important;
}

body.admin-light-theme:not(.portal-body) #desiTableBody .ft-customer {
    color: #1e293b !important;
    font-weight: 600 !important;
}

body.admin-light-theme:not(.portal-body) #desiTableBody .ft-customer-icon {
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
}

body.admin-light-theme:not(.portal-body) #desiTableBody .ft-val-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.admin-light-theme:not(.portal-body) #desiTableBody .ft-val-label {
    font-size: 10px !important;
    color: #64748b !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 2px !important;
}

body.admin-light-theme:not(.portal-body) #desiTableBody .ft-val-num {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.2px !important;
}

body.admin-light-theme:not(.portal-body) #desiTableBody .ft-dims-badge {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    box-shadow: none !important;
}

body.admin-light-theme:not(.portal-body) #desiTableBody .diff-pos {
    background: #fee2e2 !important;
    border: 1px solid #fca5a5 !important;
    color: #b91c1c !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #desiTableBody .diff-neg {
    background: #dcfce7 !important;
    border: 1px solid #86efac !important;
    color: #15803d !important;
    font-weight: 700 !important;
}

/* 12. Tablo İçi Aksiyon Butonları */

/* Detay / Birincil Butonlar */
body.admin-light-theme:not(.portal-body) #mainPanel table button.btn-primary,
body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table button.btn-primary,
body.admin-light-theme:not(.portal-body) #inventoryTableBody button[onclick*="openUpdateInventoryModal"],
body.admin-light-theme:not(.portal-body) #siparislerTableBody button[onclick*="createReturnFromOrder"],
body.admin-light-theme:not(.portal-body) #wsPendingTableBody button[onclick*="viewWholesaleOrder"],
body.admin-light-theme:not(.portal-body) #wsApprovedTableBody button[onclick*="viewWholesaleOrder"] {
    background: #2563eb !important;
    border: 1px solid #1d4ed8 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.18s ease !important;
    cursor: pointer !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel table button.btn-primary:hover,
body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table button.btn-primary:hover {
    background: #1d4ed8 !important;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.35) !important;
}

/* İkincil Butonlar (Güncelle, Geçmiş, Yazdır, Toolbar Butonları) */
body.admin-light-theme:not(.portal-body) #mainPanel .btn-secondary,
body.admin-light-theme:not(.portal-body) #mainPanel .toolbar-container .btn-secondary,
body.admin-light-theme:not(.portal-body) #mainPanel table button.btn-secondary,
body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table button.btn-secondary,
body.admin-light-theme:not(.portal-body) button[onclick*="openReturnLogsModal"],
body.admin-light-theme:not(.portal-body) button[onclick*="printSiparisDetails"] {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 7px 14px !important;
    transition: all 0.18s ease !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .btn-secondary:hover,
body.admin-light-theme:not(.portal-body) #mainPanel .toolbar-container .btn-secondary:hover,
body.admin-light-theme:not(.portal-body) #mainPanel table button.btn-secondary:hover,
body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table button.btn-secondary:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* İncele Butonu */
body.admin-light-theme:not(.portal-body) #returnsTableBody button[style*="#EFF6FF"],
body.admin-light-theme:not(.portal-body) #returnsTableBody button:has(i.fa-chevron-right) {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1d4ed8 !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}

body.admin-light-theme:not(.portal-body) #returnsTableBody button[style*="#EFF6FF"]:hover,
body.admin-light-theme:not(.portal-body) #returnsTableBody button:has(i.fa-chevron-right):hover {
    background: #dbeafe !important;
    border-color: #93c5fd !important;
}

/* Çöp Kutusu / Silme Butonu */
body.admin-light-theme:not(.portal-body) #mainPanel table button.btn-danger,
body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table button.btn-danger,
body.admin-light-theme:not(.portal-body) #mainPanel table button:has(i.fa-trash),
body.admin-light-theme:not(.portal-body) #mainPanel table button[onclick*="delete"] {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    transition: all 0.18s ease !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel table button.btn-danger:hover,
body.admin-light-theme:not(.portal-body) #mainPanel .modern-floating-table button.btn-danger:hover,
body.admin-light-theme:not(.portal-body) #mainPanel table button:has(i.fa-trash):hover {
    background: #fee2e2 !important;
    border-color: #f87171 !important;
    color: #b91c1c !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel table button i.fa-trash {
    color: #dc2626 !important;
}

/* Kopyala Butonu */
body.admin-light-theme:not(.portal-body) #mainPanel .btn-copy-sm {
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
    cursor: pointer !important;
    padding: 3px 6px !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .btn-copy-sm:hover {
    color: #2563eb !important;
    background: #eff6ff !important;
    border-radius: 4px !important;
}

/* 13. Depo & Stok Sekmeleri ve Üst Kontroller */
body.admin-light-theme:not(.portal-body) #mainPanel .tab-container {
    background: #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 4px !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .tab-btn {
    color: #334155 !important;
    font-weight: 700 !important;
    background: transparent !important;
    border-radius: 8px !important;
    transition: all 0.18s ease !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .tab-btn:hover {
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.6) !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .tab-btn.active {
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
}

/* Excel ile Toplu Konum / Log Güncelleme Butonu */
body.admin-light-theme:not(.portal-body) #tab-local > button[onclick*="toggleBulkOperations"] {
    background: #ffffff !important;
    border: 1.5px dashed #cbd5e1 !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    padding: 12px 18px !important;
    transition: all 0.2s ease !important;
}

body.admin-light-theme:not(.portal-body) #tab-local > button[onclick*="toggleBulkOperations"]:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* Toplu İşlemler Paneli */
body.admin-light-theme:not(.portal-body) #bulkOperationsPanel {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
}

body.admin-light-theme:not(.portal-body) #bulkOperationsPanel .card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #bulkOperationsPanel h4 {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* Arama ve Kamera Butonu (Entegre Arama Çubuğu) */
body.admin-light-theme:not(.portal-body) #mainPanel .search-wrapper.with-camera input {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: none !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .search-wrapper.with-camera .btn-secondary {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 1px solid #e2e8f0 !important;
    color: #2563eb !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    box-shadow: none !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .search-wrapper.with-camera .btn-secondary:hover {
    background: #eff6ff !important;
    border-color: #cbd5e1 !important;
    color: #1d4ed8 !important;
}

/* Tekil Ekle Butonu */
body.admin-light-theme:not(.portal-body) #mainPanel .btn-primary {
    background: #2563eb !important;
    border: 1px solid #1d4ed8 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25) !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .btn-primary:hover {
    background: #1d4ed8 !important;
    box-shadow: 0 5px 16px rgba(37, 99, 235, 0.35) !important;
}

/* 14. Form Elemanları & Aramalar */
body.admin-light-theme:not(.portal-body) #mainPanel input,
body.admin-light-theme:not(.portal-body) #mainPanel select,
body.admin-light-theme:not(.portal-body) #mainPanel textarea {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel input:focus,
body.admin-light-theme:not(.portal-body) #mainPanel select:focus,
body.admin-light-theme:not(.portal-body) #mainPanel textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel input::placeholder,
body.admin-light-theme:not(.portal-body) #mainPanel textarea::placeholder {
    color: #94a3b8 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .search-wrapper i.fa-search {
    color: #94a3b8 !important;
}

/* 15. Modal Pencereler (Kapsamlı Aydınlık Tema Desteği) */

/* Modal Arka Planı (Overlay) */
body.admin-light-theme:not(.portal-body) .modal {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

@media (min-width: 900px) {
    body.admin-light-theme:not(.portal-body) #modalReturn.modal {
        background: rgba(15, 23, 42, 0.45) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }
}

/* Modal Ana Kutusu (Tüm Modallar) */
body.admin-light-theme:not(.portal-body) .modal-content,
body.admin-light-theme:not(.portal-body) #modalReturnContent,
body.admin-light-theme:not(.portal-body) #modalReturn .modal-content,
body.admin-light-theme:not(.portal-body) #modalUpdateInventory .modal-content,
body.admin-light-theme:not(.portal-body) #modalWsDetail .modal-content,
body.admin-light-theme:not(.portal-body) #modalReportDetail .modal-content,
body.admin-light-theme:not(.portal-body) #modalDiscountManager .modal-content,
body.admin-light-theme:not(.portal-body) #modalDesiEntry .modal-content,
body.admin-light-theme:not(.portal-body) #modalFilterOrders .modal-content,
body.admin-light-theme:not(.portal-body) #modalAddInventory .modal-content,
body.admin-light-theme:not(.portal-body) #modalReturnLogs .modal-content,
body.admin-light-theme:not(.portal-body) #modalStock .modal-content,
body.admin-light-theme:not(.portal-body) #modalSyncReport .modal-content,
body.admin-light-theme:not(.portal-body) #modalBarcodeScanner .modal-content,
body.admin-light-theme:not(.portal-body) #customAlert .modal-content,
body.admin-light-theme:not(.portal-body) #customConfirm .modal-content,
body.admin-light-theme:not(.portal-body) #modalDuplicateWarning .modal-content {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.2), 0 0 1px rgba(0, 0, 0, 0.1) !important;
    border-radius: 18px !important;
}

/* Modal Başlıkları */
body.admin-light-theme:not(.portal-body) .modal-content h3,
body.admin-light-theme:not(.portal-body) .modal-content h4,
body.admin-light-theme:not(.portal-body) #modalReturnContent > h3,
body.admin-light-theme:not(.portal-body) #modalReturnTitle {
    color: #0f172a !important;
    background: transparent !important;
    font-weight: 800 !important;
    text-shadow: none !important;
}

body.admin-light-theme:not(.portal-body) .modal-header {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) .modal-footer {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

/* Modal Kapatma Butonu (X) */
body.admin-light-theme:not(.portal-body) .close,
body.admin-light-theme:not(.portal-body) .close-btn,
body.admin-light-theme:not(.portal-body) #modalReturnContent > .close {
    color: #64748b !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 999px !important;
    transition: all 0.2s ease !important;
}

body.admin-light-theme:not(.portal-body) .close:hover,
body.admin-light-theme:not(.portal-body) .close-btn:hover,
body.admin-light-theme:not(.portal-body) #modalReturnContent > .close:hover {
    color: #0f172a !important;
    background: #e2e8f0 !important;
}

/* Modal İçi Form Girdileri */
body.admin-light-theme:not(.portal-body) .modal input,
body.admin-light-theme:not(.portal-body) .modal select,
body.admin-light-theme:not(.portal-body) .modal textarea {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

body.admin-light-theme:not(.portal-body) .modal input:focus,
body.admin-light-theme:not(.portal-body) .modal select:focus,
body.admin-light-theme:not(.portal-body) .modal textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

body.admin-light-theme:not(.portal-body) .modal input:disabled,
body.admin-light-theme:not(.portal-body) .modal select:disabled,
body.admin-light-theme:not(.portal-body) .modal textarea:disabled {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #475569 !important;
    font-weight: 600 !important;
}

body.admin-light-theme:not(.portal-body) .modal input::placeholder,
body.admin-light-theme:not(.portal-body) .modal textarea::placeholder {
    color: #94a3b8 !important;
}

body.admin-light-theme:not(.portal-body) .modal option {
    background: #ffffff !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) .modal label {
    color: #334155 !important;
    font-weight: 700 !important;
}

/* Modal İçi Tablolar */
body.admin-light-theme:not(.portal-body) .modal table th {
    background: #f8fafc !important;
    color: #334155 !important;
    border-bottom: 2px solid #e2e8f0 !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) .modal table td {
    background: #ffffff !important;
    color: #0f172a !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

/* Talep Yönetimi Modalı (#modalReturn) Özel Kuralları */
body.admin-light-theme:not(.portal-body) #modalReturnContent .modal-info-header {
    background: #f1f5f9 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #modalReturnContent .modal-left-panel,
body.admin-light-theme:not(.portal-body) #modalReturnContent .modal-right-panel,
body.admin-light-theme:not(.portal-body) #modalReturnContent .action-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #modalReturnContent .action-card-header {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) .type-segment-container {
    background: #e2e8f0 !important;
    border: 1px solid #cbd5e1 !important;
    padding: 3px;
    border-radius: 10px;
}

body.admin-light-theme:not(.portal-body) .type-btn {
    color: #475569 !important;
    background: transparent !important;
    font-weight: 600;
}

body.admin-light-theme:not(.portal-body) .type-btn:hover {
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.6) !important;
}

body.admin-light-theme:not(.portal-body) .type-btn.active {
    background: #ffffff !important;
    color: #2563eb !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    font-weight: 700 !important;
}

/* İade Tutarı & Kargo Baremi Kutusu */
body.admin-light-theme:not(.portal-body) #refundField {
    background: #f0fdf4 !important;
    border: 1px solid #86efac !important;
}

body.admin-light-theme:not(.portal-body) #refundField .action-card-header {
    background: transparent !important;
    color: #166534 !important;
    border-bottom: 1px solid #bbf7d0 !important;
}

body.admin-light-theme:not(.portal-body) #refundField input {
    background: #ffffff !important;
    border-color: #86efac !important;
    color: #166534 !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #shippingDeductionArea {
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
}

/* Modal İçi Dinamik Ürün Seçim Satırları */
body.admin-light-theme:not(.portal-body) #modalReturnContent #productSelectionArea {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

body.admin-light-theme:not(.portal-body) #modalReturnContent #productSelectionArea .product-select-list {
    background: #f8fafc !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #modalReturnContent #orderProductList > .return-product-row {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #modalReturnContent #orderProductList > .return-product-row:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
}

body.admin-light-theme:not(.portal-body) #modalReturnContent #orderProductList .return-product-sku {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #modalReturnContent #orderProductList .return-product-name {
    color: #475569 !important;
    font-weight: 500 !important;
}

body.admin-light-theme:not(.portal-body) #modalReturnContent #orderProductList .return-product-price {
    color: #2563eb !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #modalReturnContent #orderProductList .return-product-meta {
    color: #64748b !important;
    font-weight: 600 !important;
}

body.admin-light-theme:not(.portal-body) #modalReturnContent #orderProductList .return-product-qty-label {
    color: #475569 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #modalReturnContent #orderProductList input[type="number"] {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 800 !important;
}

/* Modal Alt Çubuğu (Kaydet Butonu Bölgesi) */
body.admin-light-theme:not(.portal-body) #modalReturnContent > div:last-child {
    background: rgba(255, 255, 255, 0.96) !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.admin-light-theme:not(.portal-body) #modalReturnContent #btnSaveReturn {
    background: #2563eb !important;
    border: 1px solid #1d4ed8 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

body.admin-light-theme:not(.portal-body) #modalReturnContent #btnSaveReturn:hover {
    background: #1d4ed8 !important;
}

/* Geçmiş ve Log Kutuları (.history-box) */
body.admin-light-theme:not(.portal-body) .history-box,
body.admin-light-theme:not(.portal-body) #returnLogHistory,
body.admin-light-theme:not(.portal-body) #stockHistory {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) .history-box > div,
body.admin-light-theme:not(.portal-body) #returnLogHistory > div,
body.admin-light-theme:not(.portal-body) #stockHistory > div {
    border-bottom: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) .history-box strong,
body.admin-light-theme:not(.portal-body) #returnLogHistory strong {
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) .history-box span,
body.admin-light-theme:not(.portal-body) #returnLogHistory span {
    color: #64748b !important;
}

/* Stok Güncelleme Modalı (#modalUpdateInventory) */
body.admin-light-theme:not(.portal-body) #modalUpdateInventory .modal-content {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.2), 0 0 1px rgba(0, 0, 0, 0.1) !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .modal-content > h3 {
    background: #ffffff !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .modal-content > .close {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .modal-content > .close:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .inv-modal-grid {
    background: transparent !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .inv-left-col,
body.admin-light-theme:not(.portal-body) #modalUpdateInventory .inv-right-col {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .inv-left-col {
    border-right: 1px solid #e2e8f0 !important;
    padding: 14px !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .inv-right-col {
    padding: 14px !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .inv-product-img {
    height: 96px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory label {
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory input,
body.admin-light-theme:not(.portal-body) #modalUpdateInventory select {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-size: 12px !important;
    border-radius: 8px !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory input:focus,
body.admin-light-theme:not(.portal-body) #modalUpdateInventory select:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory #updateInvSku {
    color: #0369a1 !important;
    background: #e0f2fe !important;
    border: 1px solid #bae6fd !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .btn-primary,
body.admin-light-theme:not(.portal-body) #modalUpdateInventory button[onclick="updateInventoryItem()"] {
    background: #2563eb !important;
    border: 1px solid #1d4ed8 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .btn-primary:hover,
body.admin-light-theme:not(.portal-body) #modalUpdateInventory button[onclick="updateInventoryItem()"]:hover {
    background: #1d4ed8 !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .log-list-header {
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .log-list-header i {
    color: #2563eb !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .log-history-container {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .log-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    border-radius: 8px !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .log-item:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .log-meta {
    color: #64748b !important;
    font-size: 11px !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .log-content {
    color: #0f172a !important;
    font-size: 12px !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .log-qty-badge {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1d4ed8 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .log-input-area {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .log-input-area > div:first-child {
    color: #334155 !important;
    font-weight: 700 !important;
    font-size: 11px !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .log-input-area .btn-secondary,
body.admin-light-theme:not(.portal-body) #modalUpdateInventory button[onclick="addInventoryLog()"] {
    background: #2563eb !important;
    border: 1px solid #1d4ed8 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2) !important;
    border-radius: 8px !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .log-input-area .btn-secondary:hover,
body.admin-light-theme:not(.portal-body) #modalUpdateInventory button[onclick="addInventoryLog()"]:hover {
    background: #1d4ed8 !important;
}

body.admin-light-theme:not(.portal-body) #modalUpdateInventory .log-input-area .btn-secondary i,
body.admin-light-theme:not(.portal-body) #modalUpdateInventory button[onclick="addInventoryLog()"] i {
    color: #ffffff !important;
}

/* Tekil Ekle Modalı (#modalAddInventory) */
body.admin-light-theme:not(.portal-body) #modalAddInventory .modal-content {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #modalAddInventory input,
body.admin-light-theme:not(.portal-body) #modalAddInventory select {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #modalAddInventory .btn-primary {
    background: #2563eb !important;
    border: 1px solid #1d4ed8 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Kargo Desi Girişi Modalı (#modalDesiEntry) */
body.admin-light-theme:not(.portal-body) #modalDesiEntry .modal-content {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16) !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry .modal-content > h3 {
    background: #ffffff !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry .modal-content > .close {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry .modal-content > .close:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry .modal-content > div:not(:has(#desiCalculated)) {
    color: #1e293b !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry label {
    color: #334155 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry small {
    color: #64748b !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry input {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 8px !important;
    height: 40px !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

/* Paketler Konteyneri (Kutu Çerçevesi Kaldırıldı) */
body.admin-light-theme:not(.portal-body) #modalDesiEntry .modal-content > div:has(#desiPackagesContainer) {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry .modal-content > div:has(#desiPackagesContainer) label {
    color: #475569 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry .desi-row input {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 6px !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry .desi-preset-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry .desi-preset-btn:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry .desi-add-btn,
body.admin-light-theme:not(.portal-body) #modalDesiEntry button[onclick="addDesiPackageRow()"] {
    background: #eff6ff !important;
    border: 1.5px dashed #93c5fd !important;
    color: #2563eb !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry .desi-add-btn:hover,
body.admin-light-theme:not(.portal-body) #modalDesiEntry button[onclick="addDesiPackageRow()"]:hover {
    background: #dbeafe !important;
    border-color: #3b82f6 !important;
    color: #1d4ed8 !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry .btn-remove-row {
    color: #dc2626 !important;
    background: #fee2e2 !important;
    border: 1px solid #fca5a5 !important;
    border-radius: 8px !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry .btn-remove-row:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
}

/* Toplam Hesaplanan Desi (Bizim Desi) Kutusu Kaldırıldı -> Sade & Şık Görünüm */
body.admin-light-theme:not(.portal-body) #modalDesiEntry .modal-content > div:has(#desiCalculated) {
    background: transparent !important;
    border: none !important;
    border-top: 1px dashed #e2e8f0 !important;
    border-bottom: 1px dashed #e2e8f0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 12px 0 !important;
    margin: 15px 0 !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry .modal-content > div:has(#desiCalculated) label {
    color: #0284c7 !important;
    font-weight: 800 !important;
    font-size: 11.5px !important;
    letter-spacing: 0.5px !important;
    display: block !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry #desiCalculated {
    color: #0284c7 !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    text-shadow: none !important;
    margin: 2px 0 !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry .modal-content > div:has(#desiCalculated) small {
    color: #64748b !important;
    font-size: 11.5px !important;
}

/* Kesilen Desi (Kargo Desi) Kutusu Kaldırıldı -> Sade Giriş Alanı */
body.admin-light-theme:not(.portal-body) #modalDesiEntry .modal-content > div[style*="border-top"] {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 18px !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry button[onclick="saveDesiEntry()"] {
    background: #2563eb !important;
    border: 1px solid #1d4ed8 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25) !important;
    border-radius: 8px !important;
}

body.admin-light-theme:not(.portal-body) #modalDesiEntry button[onclick="saveDesiEntry()"]:hover {
    background: #1d4ed8 !important;
}

/* İskonto Yönetimi Modalı (#modalDiscountManager) */
body.admin-light-theme:not(.portal-body) #modalDiscountManager .modal-content {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #modalDiscountManager h3,
body.admin-light-theme:not(.portal-body) #modalDiscountManager h4 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #modalDiscountManager .modal-content > div:nth-child(2) > div:first-child,
body.admin-light-theme:not(.portal-body) #modalDiscountManager .modal-content > div:last-child > div:first-of-type {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

body.admin-light-theme:not(.portal-body) #modalDiscountManager label {
    color: #475569 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #modalDiscountManager small {
    color: #64748b !important;
}

body.admin-light-theme:not(.portal-body) #modalDiscountManager input {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #modalDiscountManager .btn-primary,
body.admin-light-theme:not(.portal-body) #modalDiscountManager button[onclick="saveBaseSettings()"] {
    background: #2563eb !important;
    border: 1px solid #1d4ed8 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #modalDiscountManager .table-responsive {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #modalDiscountManager .ws-table th {
    background: #f8fafc !important;
    color: #334155 !important;
    border-bottom: 2px solid #e2e8f0 !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #modalDiscountManager #tblDiscountTiers td {
    background: #ffffff !important;
    color: #0f172a !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

body.admin-light-theme:not(.portal-body) #modalDiscountManager .btn-danger,
body.admin-light-theme:not(.portal-body) #modalDiscountManager button[onclick*="deleteTier"] {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
}

body.admin-light-theme:not(.portal-body) #modalDiscountManager button[onclick="addNewTier()"] {
    background: #ffffff !important;
    border: 1px solid #f59e0b !important;
    color: #d97706 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #modalDiscountManager button[onclick="closeDiscountModal()"] {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

/* Günlük Görev Modalı (#modalDailyTask) */
body.admin-light-theme:not(.portal-body) #modalDailyTask .daily-task-modal {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #modalDailyTask label {
    color: #334155 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #modalDailyTask input,
body.admin-light-theme:not(.portal-body) #modalDailyTask select,
body.admin-light-theme:not(.portal-body) #modalDailyTask textarea {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #modalDailyTask .daily-task-day-grid {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #modalDailyTask .daily-task-day-grid label,
body.admin-light-theme:not(.portal-body) #modalDailyTask .daily-task-checkline {
    color: #334155 !important;
    font-weight: 600 !important;
}

/* Fatura & Sipariş Detay Modalı (#modalWsDetail) */
body.admin-light-theme:not(.portal-body) #modalWsDetail .modal-content,
body.admin-light-theme:not(.portal-body) .invoice-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) .invoice-head,
body.admin-light-theme:not(.portal-body) .invoice-footer-section {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) .invoice-brand h3 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) .invoice-meta-badges .meta-date {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

body.admin-light-theme:not(.portal-body) .invoice-info-row {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) .info-group label {
    color: #64748b !important;
}

body.admin-light-theme:not(.portal-body) .info-highlight {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) .invoice-table-modern th {
    background: #f8fafc !important;
    color: #334155 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) .invoice-table-modern td {
    background: #ffffff !important;
    color: #0f172a !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

body.admin-light-theme:not(.portal-body) .summary-line span {
    color: #334155 !important;
}

body.admin-light-theme:not(.portal-body) .summary-line.grand-total span {
    color: #0f172a !important;
    font-weight: 800 !important;
}

/* Denetim Kaydı Detay Modalı (#modalAuditDetail) */
body.admin-light-theme:not(.portal-body) #modalAuditDetail .modal-content {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #modalAuditDetail .modal-header {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #modalAuditDetail .audit-modal-meta-grid .audit-meta-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
}

body.admin-light-theme:not(.portal-body) #modalAuditDetail .audit-meta-item label {
    color: #64748b !important;
    font-weight: 600 !important;
}

body.admin-light-theme:not(.portal-body) #modalAuditDetail .audit-meta-item span {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #modalAuditDetail .audit-json-box {
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

/* 16. Sistem Yönetimi & Ayarlar Sayfası (#page-settings) */
body.admin-light-theme:not(.portal-body) #mainPanel .setting-group {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    border-radius: 12px !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .setting-header {
    background: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .setting-content {
    background: #ffffff !important;
    color: #1e293b !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .backup-row {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .backup-info h5 {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel #cargoList {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel #cargoList > div {
    border-bottom: 1px solid #f1f5f9 !important;
    color: #1e293b !important;
}

/* 13. Günlük Görevler & Akıllı Stok Panelleri */
body.admin-light-theme:not(.portal-body) #page-dashboard .daily-tasks-panel::before,
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-panel::before {
    display: none !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-tasks-panel,
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-panel {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-panel-header h3 {
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-panel-header p {
    color: #64748b !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-tasks-panel::before {
    display: none !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-tasks-panel .smart-panel-header h3 i {
    color: #2563eb !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-empty-state {
    background: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    color: #64748b !important;
    box-shadow: none !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-empty-state.success {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    color: #15803d !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-empty-state.error {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #b91c1c !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-panel-actions span {
    color: #334155 !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 600 !important;
}

/* Günlük Görev Öğeleri (Dashboard - Günün Görevleri) */
body.admin-light-theme:not(.portal-body) #page-dashboard .daily-tasks-panel .smart-panel-actions #dailyTaskDateInfo {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 600 !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-tasks-panel .smart-panel-actions .btn-secondary {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-tasks-panel .smart-panel-actions .btn-secondary:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
    opacity: 1 !important;
    transition: all 0.15s ease !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-item:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-item.completed {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    opacity: 1 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-item.due {
    border-color: #f59e0b !important;
    border-left: 3.5px solid #f59e0b !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-item.late {
    border-color: #ef4444 !important;
    border-left: 3.5px solid #ef4444 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-main strong {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-item.completed .daily-task-main strong {
    color: #64748b !important;
    text-decoration: line-through !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-main span {
    color: #64748b !important;
    font-size: 12px !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-item.completed .daily-task-main span {
    color: #94a3b8 !important;
}

/* Görev Altındaki Hap Rozetler (.daily-task-badges em) */
body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-badges em {
    color: #334155 !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 999px !important;
    padding: 3px 8px !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-badges em i {
    color: #64748b !important;
}

/* Durum Rozetleri */
body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-badges .status-completed {
    background: #dcfce7 !important;
    border-color: #86efac !important;
    color: #15803d !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-badges .status-waiting {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1d4ed8 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-badges .status-due {
    background: #fef3c7 !important;
    border-color: #fde68a !important;
    color: #b45309 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-badges .status-late {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #b91c1c !important;
    font-weight: 700 !important;
}

/* Tamamlama Kutucuğu (Checkmark) */
body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-check {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: transparent !important;
    transition: all 0.15s ease !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-check:hover {
    border-color: #10b981 !important;
    background: #ecfdf5 !important;
    color: #10b981 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-check.checked {
    background: var(--rd-teal-strong) !important;
    border-color: #059669 !important;
    color: #ffffff !important;
}

/* İşlem Menüsü Butonu ve Açılır Pencere */
body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-menu-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #64748b !important;
    border-radius: 8px !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-menu-btn:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-menu-pop {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08) !important;
    border-radius: 10px !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-menu-pop button {
    color: #334155 !important;
    font-weight: 600 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-menu-pop button:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-menu-pop button:last-child {
    color: #dc2626 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-menu-pop button:last-child:hover {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

/* Tümünü Göster / Gizle */
body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-toggle {
    color: #2563eb !important;
    font-weight: 700 !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .daily-task-toggle:hover {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}

/* 14. Akıllı Stok 6 Özet Kartı (Yüksek Kontrastlı & Canlı) */
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card::after {
    display: none !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08) !important;
    border-color: #94a3b8 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary strong {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary span {
    color: #64748b !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary small {
    color: #2563eb !important;
    font-weight: 600 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card i {
    color: #3b82f6 !important;
    opacity: 0.9 !important;
}

/* Kart 2: Sitede Açılabilir (Yeşil) */
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.publish {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.publish strong {
    color: #14532d !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.publish span {
    color: #166534 !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.publish i,
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.publish small {
    color: #16a34a !important;
}

/* Kart 3: Stok Artış (Mavi) */
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.increase {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.increase strong {
    color: #1e3a8a !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.increase span {
    color: #1e40af !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.increase i,
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.increase small {
    color: #2563eb !important;
}

/* Kart 4: Mağaza Kontrol (Sarı / Kehribar) */
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.store_check {
    background: #fffbeb !important;
    border-color: #fde68a !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.store_check strong {
    color: #78350f !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.store_check span {
    color: #92400e !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.store_check i,
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.store_check small {
    color: #d97706 !important;
}

/* Kart 5: Depo Kaydı Yok (Turuncu) */
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.missing {
    background: #fff7ed !important;
    border-color: #fed7aa !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.missing strong {
    color: #7c2d12 !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.missing span {
    color: #9a3412 !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.missing i,
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.missing small {
    color: #ea580c !important;
}

/* Kart 6: Tedarik Gerekli (Kırmızı / Gül) */
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.supply {
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.supply strong {
    color: #881337 !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.supply span {
    color: #9f1239 !important;
}
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.supply i,
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.supply small {
    color: #e11d48 !important;
}

/* Aktif Kart Durumu */
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-summary-card.active {
    box-shadow: 0 0 0 2.5px #2563eb, 0 8px 20px rgba(37, 99, 235, 0.18) !important;
}

/* 15. Akıllı Stok Filtre Kontrolleri */
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-controls input,
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-controls select {
    color: #0f172a !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-controls input:focus,
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-controls select:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14) !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-controls input::placeholder {
    color: #94a3b8 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-search i.fa-search {
    color: #94a3b8 !important;
}

/* 16. Akıllı Stok Ürün Satırları (List Items) */
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-item:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-main strong {
    color: #0f172a !important;
    font-size: 14px;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-main span {
    color: #475569 !important;
}

/* Satır Durum Rozetleri (Status Labels) */
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-label {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 600 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-item.supply .smart-stock-label {
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #be123c !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-item.publish .smart-stock-label {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    color: #15803d !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-item.increase .smart-stock-label {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1d4ed8 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-item.store_check .smart-stock-label {
    background: #fffbeb !important;
    border-color: #fde68a !important;
    color: #b45309 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-item.missing .smart-stock-label {
    background: #fff7ed !important;
    border-color: #fed7aa !important;
    color: #c2410c !important;
}

/* Satır Meta Hapları ("Site: 0", "Depo: Yok" vb.) */
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-meta span {
    color: #334155 !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 500 !important;
}

/* Satır İkon Kutusu */
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-icon {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #2563eb !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-item.supply .smart-stock-icon {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-item.publish .smart-stock-icon {
    background: #dcfce7 !important;
    border-color: #86efac !important;
    color: #16a34a !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-item.increase .smart-stock-icon {
    background: #dbeafe !important;
    border-color: #93c5fd !important;
    color: #2563eb !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-item.store_check .smart-stock-icon,
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-item.missing .smart-stock-icon {
    background: #fef3c7 !important;
    border-color: #fde68a !important;
    color: #d97706 !important;
}

/* Satır Aksiyon Butonları (Detay, Göz ikonu) */
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-action .btn-secondary,
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-mini {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-action .btn-secondary:hover,
body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-mini:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-pagination button {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-pagination button:disabled {
    opacity: 0.5;
    background: #f1f5f9 !important;
}

body.admin-light-theme:not(.portal-body) #page-dashboard .smart-stock-pagination span {
    color: #64748b !important;
}

/* 17. Depo Toplama Listesi */
body.admin-light-theme:not(.portal-body) #mainPanel .picking-input-card,
body.admin-light-theme:not(.portal-body) #mainPanel #pickingPrintArea {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .picking-header h3 {
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .picking-header p {
    color: #64748b !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .picking-textarea {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel #pickingPrintArea .picking-table th {
    background: #f8fafc !important;
    color: #475569 !important;
    border-color: #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel #pickingPrintArea .picking-table td {
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #f1f5f9 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel #pickingPrintArea .picking-table tr:hover td {
    background: #f8fafc !important;
}

/* 18. Denetim Günlüğü (Audit Logs) */
body.admin-light-theme:not(.portal-body) #mainPanel .audit-control-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-filter-btn {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-filter-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-filter-btn.active {
    background: #2563eb !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-desc-title {
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-desc-sub {
    color: #64748b !important;
}

body.admin-light-theme:not(.portal-body) #modalAuditDetail .audit-json-box {
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* 19. Site Ürünleri (XML) Aydınlık Tema Düzenlemeleri */

/* Manuel XML Yükleme Kartı */
body.admin-light-theme:not(.portal-body) #page-inventory .xml-manual-upload,
body.admin-light-theme:not(.portal-body) #tab-xml .xml-manual-upload {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%) !important;
    border: 1px solid #bfdbfe !important;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.06) !important;
    border-radius: 12px !important;
}

body.admin-light-theme:not(.portal-body) #page-inventory .xml-manual-upload__icon,
body.admin-light-theme:not(.portal-body) #tab-xml .xml-manual-upload__icon {
    background: #dbeafe !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
}

body.admin-light-theme:not(.portal-body) #page-inventory .xml-manual-upload__content h4,
body.admin-light-theme:not(.portal-body) #tab-xml .xml-manual-upload__content h4 {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-inventory .xml-manual-upload__content p,
body.admin-light-theme:not(.portal-body) #tab-xml .xml-manual-upload__content p {
    color: #475569 !important;
    font-size: 12.5px !important;
}

body.admin-light-theme:not(.portal-body) #page-inventory .xml-manual-upload__button,
body.admin-light-theme:not(.portal-body) #tab-xml .xml-manual-upload__button {
    background: #2563eb !important;
    border: 1px solid #1d4ed8 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
}

body.admin-light-theme:not(.portal-body) #page-inventory .xml-manual-upload__button:hover,
body.admin-light-theme:not(.portal-body) #tab-xml .xml-manual-upload__button:hover {
    background: #1d4ed8 !important;
}

/* XML Durum Bilgisi (Kayıtlı Ürün vb.) */
body.admin-light-theme:not(.portal-body) #xmlStatusText {
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

/* XML Tablosu Hücreleri ve Tipografi */
body.admin-light-theme:not(.portal-body) #xmlTableBody td[data-label="Ürün İsmi"] {
    color: #1e293b !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
}

body.admin-light-theme:not(.portal-body) #xmlTableBody td[data-label="Fiyat"] b {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 13px !important;
}

body.admin-light-theme:not(.portal-body) #xmlTableBody td[data-label="Tarih"] {
    color: #64748b !important;
    font-size: 11.5px !important;
}

body.admin-light-theme:not(.portal-body) #xmlTableBody td[data-label="Resim"] i.fa-image {
    color: #94a3b8 !important;
}

/* XML Satır Hover (Fare Üzerine Geldiğinde Metinlerin Görünür Kalması) */
body.admin-light-theme:not(.portal-body) #xmlTableBody tr:hover td {
    background: #f8fafc !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #xmlTableBody tr:hover td[data-label="Ürün İsmi"] {
    color: #1e293b !important;
}

body.admin-light-theme:not(.portal-body) #xmlTableBody tr:hover td[data-label="Tarih"] {
    color: #64748b !important;
}

body.admin-light-theme:not(.portal-body) #xmlTableBody tr:hover td[data-label="Fiyat"] b {
    color: #0f172a !important;
}

/* XML Sayfalama (Pagination) */
body.admin-light-theme:not(.portal-body) #xmlPagination .page-btn {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #xmlPagination .page-btn:hover:not(:disabled):not(.active) {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #xmlPagination .page-btn.active {
    background: #2563eb !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
}

/* 20. Sipariş Yönetimi (Toptan Sipariş) Aydınlık Tema Düzenlemeleri */

/* Kart ve Başlıklar */
body.admin-light-theme:not(.portal-body) #page-wholesale .card h4,
body.admin-light-theme:not(.portal-body) #page-wholesale .sticky-card h3,
body.admin-light-theme:not(.portal-body) #page-wholesale .discount-tiers-container h4 {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .card > div[style*="border-bottom"] {
    border-color: #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale label {
    color: #334155 !important;
}

/* Tablo Başlıkları ve Hücreleri */
body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table th {
    background: transparent !important;
    border-bottom: 2px solid #e2e8f0 !important;
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table td {
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #1e293b !important;
    font-size: 13px !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table tbody tr:hover td {
    background: #f8fafc !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table tbody tr td:first-child {
    border-left: 1px solid #e2e8f0 !important;
    border-radius: 8px 0 0 8px !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table tbody tr td:last-child {
    border-right: 1px solid #e2e8f0 !important;
    border-radius: 0 8px 8px 0 !important;
}

/* Tablo İçi Inputlar */
body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table input {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    color: #0f172a !important;
    height: 36px !important;
    font-size: 13px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table td[style*="color:#999"],
body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table td[style*="color: #999"] {
    color: #64748b !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table td[style*="color:#333"],
body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table td[style*="color: #333"] {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* Tablo Satır Silme Butonu */
body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table .btn-danger,
body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table button.btn-danger {
    background: #fee2e2 !important;
    border: 1px solid #fca5a5 !important;
    color: #dc2626 !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table .btn-danger:hover,
body.admin-light-theme:not(.portal-body) #page-wholesale .ws-table button.btn-danger:hover {
    background: #dc2626 !important;
    border-color: #b91c1c !important;
    color: #ffffff !important;
}

/* İade / Manuel Satır */
body.admin-light-theme:not(.portal-body) #page-wholesale tr.manual-row td,
body.admin-light-theme:not(.portal-body) #page-wholesale tr.manual-row {
    background: #fef2f2 !important;
    color: #991b1b !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale tr.manual-row tbody tr:hover td {
    background: #fee2e2 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale tr.manual-row input {
    background: #ffffff !important;
    border: 1px solid #fca5a5 !important;
    color: #991b1b !important;
}

/* Satır Ekleme Butonları */
body.admin-light-theme:not(.portal-body) #page-wholesale button[onclick="addWholesaleRow()"] {
    background: #f8fafc !important;
    border: 1.5px dashed #cbd5e1 !important;
    color: #2563eb !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    transition: all 0.18s ease !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale button[onclick="addWholesaleRow()"]:hover {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale button[onclick="addReturnRow()"] {
    background: #fef2f2 !important;
    border: 1.5px dashed #fca5a5 !important;
    color: #dc2626 !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    transition: all 0.18s ease !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale button[onclick="addReturnRow()"]:hover {
    background: #fee2e2 !important;
    border-color: #f87171 !important;
    color: #b91c1c !important;
}

/* Özet Paneli & KDV Toggle */
body.admin-light-theme:not(.portal-body) #page-wholesale .toggle-container {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .toggle-container label {
    color: #334155 !important;
    font-weight: 600 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .summary-row {
    border-bottom: 1px dashed #e2e8f0 !important;
    color: #475569 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .summary-row span:last-child {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .summary-row.discount-row span:last-child {
    color: #16a34a !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .summary-row.bold-row span:last-child {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .summary-total {
    border-top: 2px solid #e2e8f0 !important;
    color: #1d4ed8 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .summary-total span {
    color: #1d4ed8 !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale #wsGrandTotal {
    color: #2563eb !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .badge-discount {
    background: #dcfce7 !important;
    border: 1px solid #86efac !important;
    color: #15803d !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    padding: 2px 8px !important;
}

/* İskonto Baremleri */
body.admin-light-theme:not(.portal-body) #page-wholesale .discount-tiers-container {
    border-top: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale #discountTiersList {
    scrollbar-color: #cbd5e1 transparent !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .tier-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    border-radius: 10px !important;
    margin-bottom: 7px !important;
    font-weight: 600 !important;
    padding: 10px 14px !important;
    transition: all 0.2s ease !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .tier-item span {
    color: #334155 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .tier-item i {
    color: #94a3b8 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .tier-item:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .tier-item.active-tier {
    background: #eff6ff !important;
    border-color: #3b82f6 !important;
    color: #1d4ed8 !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12) !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .tier-item.active-tier span {
    color: #1d4ed8 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-wholesale .tier-item.active-tier i {
    color: #2563eb !important;
}

/* Filtre Durum Metni */
body.admin-light-theme:not(.portal-body) #filterStatusText {
    color: #475569 !important;
    font-weight: 600 !important;
}

/* 21. Kargo Desi Kontrol Sayfası (#page-desi) Aydınlık Tema */

/* Araç Çubuğu (Toolbar) Konteynerleri */
body.admin-light-theme:not(.portal-body) #page-desi .toolbar-container > div {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 8px 12px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}

body.admin-light-theme:not(.portal-body) #page-desi input,
body.admin-light-theme:not(.portal-body) #page-desi select {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    color-scheme: light !important;
    height: 40px !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #page-desi input:focus,
body.admin-light-theme:not(.portal-body) #page-desi select:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

body.admin-light-theme:not(.portal-body) #page-desi select option {
    background: #ffffff !important;
    color: #0f172a !important;
}

/* Excel İndir Butonu */
body.admin-light-theme:not(.portal-body) #page-desi button[onclick="downloadDesiExcel()"] {
    background: #f0fdf4 !important;
    border: 1px solid #86efac !important;
    color: #166534 !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    transition: all 0.18s ease !important;
}

body.admin-light-theme:not(.portal-body) #page-desi button[onclick="downloadDesiExcel()"]:hover {
    background: #dcfce7 !important;
    border-color: #4ade80 !important;
    color: #14532d !important;
}

/* + Yeni Ölçüm Butonu */
body.admin-light-theme:not(.portal-body) #page-desi button[onclick="openNewDesiModal()"] {
    background: #2563eb !important;
    border: 1px solid #1d4ed8 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25) !important;
}

body.admin-light-theme:not(.portal-body) #page-desi button[onclick="openNewDesiModal()"]:hover {
    background: #1d4ed8 !important;
}

/* Desi Tablosu Fark Rozetleri (OK, +, -) */
body.admin-light-theme:not(.portal-body) #desiTableBody .ft-diff-badge {
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.admin-light-theme:not(.portal-body) #desiTableBody .diff-zero {
    background: #dcfce7 !important;
    border: 1px solid #86efac !important;
    color: #15803d !important;
}

body.admin-light-theme:not(.portal-body) #desiTableBody .diff-pos {
    background: #fee2e2 !important;
    border: 1px solid #fca5a5 !important;
    color: #b91c1c !important;
}

body.admin-light-theme:not(.portal-body) #desiTableBody .diff-neg {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1d4ed8 !important;
}

/* Fark Uyarılı Satır (diff > 4) */
body.admin-light-theme:not(.portal-body) #page-desi #desiTableBody tr[style*="background-color:#FEF2F2"] td,
body.admin-light-theme:not(.portal-body) #page-desi #desiTableBody tr[style*="background-color: #FEF2F2"] td {
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #0f172a !important;
}

/* İşlem Butonları (Düzenle & Sil) */
body.admin-light-theme:not(.portal-body) #page-desi #desiTableBody .btn-sm {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
}

body.admin-light-theme:not(.portal-body) #page-desi #desiTableBody button[onclick*="openEditDesiModal"],
body.admin-light-theme:not(.portal-body) #page-desi #desiTableBody button:has(i.fa-edit) {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #2563eb !important;
}

body.admin-light-theme:not(.portal-body) #page-desi #desiTableBody button[onclick*="openEditDesiModal"]:hover,
body.admin-light-theme:not(.portal-body) #page-desi #desiTableBody button:has(i.fa-edit):hover {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
}

body.admin-light-theme:not(.portal-body) #page-desi #desiTableBody button[onclick*="deleteDesiEntry"],
body.admin-light-theme:not(.portal-body) #page-desi #desiTableBody button:has(i.fa-trash) {
    background: #ffffff !important;
    border: 1px solid #fca5a5 !important;
    color: #dc2626 !important;
}

body.admin-light-theme:not(.portal-body) #page-desi #desiTableBody button[onclick*="deleteDesiEntry"]:hover,
body.admin-light-theme:not(.portal-body) #page-desi #desiTableBody button:has(i.fa-trash):hover {
    background: #fee2e2 !important;
    border-color: #f87171 !important;
    color: #b91c1c !important;
}

/* 22. RAPORLAR / ANALİZ MERKEZİ (#page-reports) AYDINLIK TEMA */

/* Başlık ve Bölümler */
body.admin-light-theme:not(.portal-body) #page-reports .header-section h1 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports h2,
body.admin-light-theme:not(.portal-body) #page-reports h3,
body.admin-light-theme:not(.portal-body) #page-reports h4 {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports label {
    color: #475569 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports p,
body.admin-light-theme:not(.portal-body) #page-reports small {
    color: #64748b !important;
}

/* Arama ve Filtre Kartı */
body.admin-light-theme:not(.portal-body) #page-reports [style*="background: white"],
body.admin-light-theme:not(.portal-body) #page-reports [style*="background:white"],
body.admin-light-theme:not(.portal-body) #page-reports [style*="background: #FFF"],
body.admin-light-theme:not(.portal-body) #page-reports [style*="background:#FFF"],
body.admin-light-theme:not(.portal-body) #page-reports [style*="background: #fff"],
body.admin-light-theme:not(.portal-body) #page-reports [style*="background:#fff"] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
    color: #0f172a !important;
}

/* Inputlar */
body.admin-light-theme:not(.portal-body) #page-reports input {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    color-scheme: light !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #page-reports input:focus {
    background: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

body.admin-light-theme:not(.portal-body) #page-reports #reportSearchInput,
body.admin-light-theme:not(.portal-body) #page-reports #reportStartDate,
body.admin-light-theme:not(.portal-body) #page-reports #reportEndDate,
body.admin-light-theme:not(.portal-body) #page-reports #custSearchInput,
body.admin-light-theme:not(.portal-body) #page-reports #custStartDate,
body.admin-light-theme:not(.portal-body) #page-reports #custEndDate {
    background-color: #f8fafc !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    color-scheme: light !important;
}

body.admin-light-theme:not(.portal-body) #page-reports #reportSearchInput:focus,
body.admin-light-theme:not(.portal-body) #page-reports #reportStartDate:focus,
body.admin-light-theme:not(.portal-body) #page-reports #reportEndDate:focus,
body.admin-light-theme:not(.portal-body) #page-reports #custSearchInput:focus,
body.admin-light-theme:not(.portal-body) #page-reports #custStartDate:focus,
body.admin-light-theme:not(.portal-body) #page-reports #custEndDate:focus {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

/* Ürünü Analiz Et Butonu */
body.admin-light-theme:not(.portal-body) #page-reports button[onclick*="findProductStats"],
body.admin-light-theme:not(.portal-body) #page-reports .btn-primary {
    background: #2563eb !important;
    border: 1px solid #1d4ed8 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

body.admin-light-theme:not(.portal-body) #page-reports button[onclick*="findProductStats"]:hover,
body.admin-light-theme:not(.portal-body) #page-reports .btn-primary:hover {
    background: #1d4ed8 !important;
}

/* Aranan Ürün Kartı */
body.admin-light-theme:not(.portal-body) #page-reports #reportResultArea .card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 5px solid #2563eb !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #page-reports #resProductSku {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports #resProductName {
    color: #475569 !important;
    font-weight: 500 !important;
}

/* Depo Konumu / Stok Paneli */
body.admin-light-theme:not(.portal-body) #page-reports #stockStatusPanel {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #page-reports #stockStatusPanel > div {
    border-color: #f1f5f9 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports #stockStatusPanel > div > div:first-child {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

body.admin-light-theme:not(.portal-body) #page-reports #resStockLocation,
body.admin-light-theme:not(.portal-body) #page-reports #resStockStatus,
body.admin-light-theme:not(.portal-body) #page-reports #resLastEntry {
    color: #0f172a !important;
    font-weight: 800 !important;
}

/* İstatistik Kartları (Ürün & Müşteri) */
body.admin-light-theme:not(.portal-body) #page-reports .stat-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #page-reports .stat-card p {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports .stat-card h3 {
    color: #475569 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports .stat-card small {
    color: #64748b !important;
}

body.admin-light-theme:not(.portal-body) #page-reports .stat-card:first-child {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25) !important;
}

body.admin-light-theme:not(.portal-body) #page-reports .stat-card:first-child h3,
body.admin-light-theme:not(.portal-body) #page-reports .stat-card:first-child p,
body.admin-light-theme:not(.portal-body) #page-reports .stat-card:first-child small {
    color: #ffffff !important;
}

body.admin-light-theme:not(.portal-body) #page-reports .stat-card:first-child .stat-icon {
    color: rgba(255, 255, 255, 0.3) !important;
    background: transparent !important;
}

/* Tablolar & Kart Konteynerleri */
body.admin-light-theme:not(.portal-body) #page-reports .card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    border-radius: 12px !important;
}

body.admin-light-theme:not(.portal-body) #page-reports [style*="background: #f8fafc"],
body.admin-light-theme:not(.portal-body) #page-reports [style*="background:#f8fafc"],
body.admin-light-theme:not(.portal-body) #page-reports [style*="background-color: #f8fafc"],
body.admin-light-theme:not(.portal-body) #page-reports [style*="background-color:#f8fafc"] {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #page-reports .table-container {
    background: #ffffff !important;
}

body.admin-light-theme:not(.portal-body) #page-reports table thead,
body.admin-light-theme:not(.portal-body) #page-reports table thead[style*="background"] {
    background: #f8fafc !important;
}

body.admin-light-theme:not(.portal-body) #page-reports table th {
    background: #f8fafc !important;
    color: #475569 !important;
    border-bottom: 2px solid #e2e8f0 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports table td {
    background: #ffffff !important;
    color: #1e293b !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports table tr:hover td {
    background: #f8fafc !important;
    color: #0f172a !important;
}

/* Rapor Tabloları Rozetleri (İade, Değişim, Satış, İptal) */
body.admin-light-theme:not(.portal-body) #page-reports table span[style*="background:#DC2626"],
body.admin-light-theme:not(.portal-body) #page-reports table span[style*="background: #DC2626"] {
    background: #fee2e2 !important;
    border: 1px solid #fca5a5 !important;
    color: #b91c1c !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports table span[style*="background:#EA580C"],
body.admin-light-theme:not(.portal-body) #page-reports table span[style*="background: #EA580C"] {
    background: #ffedd5 !important;
    border: 1px solid #fed7aa !important;
    color: #c2410c !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports table span[style*="background:#F1F5F9"],
body.admin-light-theme:not(.portal-body) #page-reports table span[style*="background: #F1F5F9"] {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports table span[style*="background:#334155"],
body.admin-light-theme:not(.portal-body) #page-reports table span[style*="background: #334155"] {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #64748b !important;
    font-weight: 700 !important;
}

/* Müşteri Analizi - Müşteri Kartı */
body.admin-light-theme:not(.portal-body) #page-reports #custResultArea .card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 5px solid #8b5cf6 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports #resCustName {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports #resCustType {
    color: #64748b !important;
}

body.admin-light-theme:not(.portal-body) #page-reports #resCustFirstDate {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}

/* Müşteri Listesi Buton ve İkonları */
body.admin-light-theme:not(.portal-body) #page-reports #custListTitle {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-reports button[onclick*="resetCustomerView"] {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}

body.admin-light-theme:not(.portal-body) #page-reports button[onclick*="resetCustomerView"]:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

body.admin-light-theme:not(.portal-body) #page-reports #customerListBody button {
    background: #ffffff !important;
    border: 1px solid #bfdbfe !important;
    color: #2563eb !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}

body.admin-light-theme:not(.portal-body) #page-reports #customerListBody button:hover {
    background: #eff6ff !important;
    border-color: #3b82f6 !important;
    color: #1d4ed8 !important;
}

/* ============================================================
   23. İŞLEM GEÇMİŞİ & DENETİM GÜNLÜĞÜ (AUDIT LOGS - AYDINLIK MOD)
   ============================================================ */

/* Üst Başlık & Yenile Butonu */
body.admin-light-theme:not(.portal-body) #page-audit .header-flex .btn-secondary {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #page-audit .header-flex .btn-secondary:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* İstatistik Kartları (3'lü Grid) */
body.admin-light-theme:not(.portal-body) #page-audit .audit-stats-grid .stat-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #page-audit .audit-stats-grid .stat-card .stat-info h3 {
    color: #64748b !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #page-audit .audit-stats-grid .stat-card .stat-info p {
    color: #0f172a !important;
    font-weight: 800 !important;
}

/* 1. Kart: Bugünkü İşlemler (Mavi) */
body.admin-light-theme:not(.portal-body) #page-audit .audit-stats-grid .stat-card:nth-child(1) {
    border-left: 4px solid #3b82f6 !important;
}

body.admin-light-theme:not(.portal-body) #page-audit .audit-stats-grid .stat-card:nth-child(1) .stat-icon {
    background: #eff6ff !important;
    color: #2563eb !important;
    box-shadow: none !important;
}

/* 2. Kart: Bugünkü Portal Hataları (Kırmızı) */
body.admin-light-theme:not(.portal-body) #page-audit .audit-stats-grid .stat-card:nth-child(2) {
    border-left: 4px solid #ef4444 !important;
}

body.admin-light-theme:not(.portal-body) #page-audit .audit-stats-grid .stat-card:nth-child(2) .stat-icon {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    box-shadow: none !important;
}

body.admin-light-theme:not(.portal-body) #page-audit #auditStatErrors {
    color: #dc2626 !important;
}

/* 3. Kart: Toplam Olay (Yeşil) */
body.admin-light-theme:not(.portal-body) #page-audit .audit-stats-grid .stat-card:nth-child(3) {
    border-left: 4px solid #10b981 !important;
}

body.admin-light-theme:not(.portal-body) #page-audit .audit-stats-grid .stat-card:nth-child(3) .stat-icon {
    background: #ecfdf5 !important;
    color: #059669 !important;
    box-shadow: none !important;
}

/* Arama ve Filtreleme Paneli */
body.admin-light-theme:not(.portal-body) #mainPanel .audit-control-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-search-input {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03) !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-search-input::placeholder {
    color: #94a3b8 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-search-input:focus {
    background: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-search-icon {
    color: #64748b !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-search-clear {
    color: #94a3b8 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-search-clear:hover {
    color: #ef4444 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-filter-chips {
    border-top: 1px solid #f1f5f9 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-filter-btn {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    box-shadow: none !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-filter-btn:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    transform: translateY(-1px);
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-filter-btn.active {
    background: #eff6ff !important;
    border-color: #3b82f6 !important;
    color: #1d4ed8 !important;
    box-shadow: 0 1px 2px rgba(59, 130, 246, 0.1) !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-filter-btn.filter-danger.active {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
    color: #b91c1c !important;
    box-shadow: none !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-filter-btn.filter-success.active {
    background: #ecfdf5 !important;
    border-color: #10b981 !important;
    color: #047857 !important;
    box-shadow: none !important;
}

/* İşlem Rozetleri (Action Badges) */
body.admin-light-theme:not(.portal-body) #mainPanel .audit-badge-primary {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-badge-info {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-badge-success {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #86efac !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-badge-danger {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid #fca5a5 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-badge-warning {
    background: #fef3c7 !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-badge-purple {
    background: #f3e8ff !important;
    color: #7e22ce !important;
    border: 1px solid #d8b4fe !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-badge-neutral {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 700 !important;
}

/* Kayıt No Linki */
body.admin-light-theme:not(.portal-body) #mainPanel .audit-record-link {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    color: #0284c7 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-record-link:hover {
    background: #e0f2fe !important;
    border-color: #7dd3fc !important;
    color: #0369a1 !important;
    box-shadow: 0 1px 4px rgba(2, 132, 199, 0.15) !important;
    transform: translateY(-1px) !important;
}

/* Açıklama Hücresi & Metinler */
body.admin-light-theme:not(.portal-body) #mainPanel .audit-desc-title {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-desc-sub {
    color: #475569 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-desc-sub code {
    background: #f1f5f9 !important;
    color: #0369a1 !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 600 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-desc-sub .data-badge {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-text-danger {
    color: #dc2626 !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-text-success {
    color: #16a34a !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-text-warning {
    color: #d97706 !important;
    font-weight: 700 !important;
}

/* Kullanıcı / Kaynak Etiketleri */
body.admin-light-theme:not(.portal-body) #mainPanel .audit-user-tag {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 600 !important;
    border-radius: 999px !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-user-tag.audit-user-portal {
    background: #fff7ed !important;
    border-color: #fed7aa !important;
    color: #c2410c !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-user-tag.audit-user-system {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #64748b !important;
}

/* Detay Butonu */
body.admin-light-theme:not(.portal-body) #mainPanel .audit-detail-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.15s ease !important;
}

body.admin-light-theme:not(.portal-body) #mainPanel .audit-detail-btn:hover {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
}

/* Teknik Detay Modalı (#modalAuditDetail) */
body.admin-light-theme:not(.portal-body) #modalAuditDetail .modal-content {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

body.admin-light-theme:not(.portal-body) #modalAuditDetail .audit-modal-meta-grid {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

body.admin-light-theme:not(.portal-body) #modalAuditDetail .audit-meta-item label {
    color: #64748b !important;
    font-weight: 700 !important;
}

body.admin-light-theme:not(.portal-body) #modalAuditDetail .audit-meta-item span {
    color: #0f172a !important;
    font-weight: 600 !important;
}

body.admin-light-theme:not(.portal-body) #modalAuditDetail .audit-json-box {
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}

body.admin-light-theme:not(.portal-body) #modalAuditDetail [style*="background: #f8fafc"] {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #475569 !important;
}

body.admin-light-theme:not(.portal-body) #modalAuditDetail .modal-footer button.btn-secondary {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

body.admin-light-theme:not(.portal-body) #modalAuditDetail .modal-footer button.btn-secondary:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}


