/* DIMACEA | Extraído de index.html | bloque CSS 22 */

/* Ajustes finales de contraste para modo noche */
        body.dark .client-code {
            background: #334155 !important;
            color: #f8fafc !important;
            border-color: #64748b !important;
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
        }

        body.dark .client-line .client-code,
        body.dark .mobile-client-line .client-code {
            background: #334155 !important;
            color: #f8fafc !important;
        }

        body.dark #buyCard .card-header,
        body.dark #noBuyCard .card-header,
        body.dark #weeklyCard .card-header,
        body.dark #deliveryControlCard .card-header {
            background: #111827 !important;
            border-bottom: 1px solid #334155 !important;
        }

        body.dark #buyCard .card-header h3,
        body.dark #noBuyCard .card-header h3,
        body.dark #weeklyCard .card-header h3,
        body.dark #deliveryControlCard .card-header h3 {
            color: #f8fafc !important;
        }

        body.dark #buyCard .card-header i,
        body.dark #noBuyCard .card-header i,
        body.dark #weeklyCard .card-header i,
        body.dark #deliveryControlCard .card-header i {
            filter: brightness(1.05) saturate(1.05);
        }

        body.dark #deliverySummaryBadge,
        body.dark #weeklyHitSummary {
            color: #f8fafc !important;
        }

        body.dark #deliveryControlInfo,
        body.dark #weeklyHitInfo,
        body.dark #deliveryControlFilters,
        body.dark #weeklyHitFilters,
        body.dark #noBuyCard .card-footer-fixed,
        body.dark #buyCard .card-footer-fixed,
        body.dark #weeklyCard .card-footer-fixed,
        body.dark #deliveryControlCard .card-footer-fixed {
            background: #0f172a !important;
            color: #e5e7eb !important;
            border-top: 1px solid #334155 !important;
        }

        body.dark #deliveryControlCard,
        body.dark #buyCard,
        body.dark #noBuyCard,
        body.dark #weeklyCard,
        body.dark .card,
        body.dark .section-scroll-card {
            background: #0b1220 !important;
            border-color: #334155 !important;
        }

        body.dark #tableBodyNoBuy td .text-slate-500,
        body.dark #tableBodyBuy td .text-slate-500,
        body.dark #tableBodyNoBuy td .text-slate-400,
        body.dark #tableBodyBuy td .text-slate-400 {
            color: #cbd5e1 !important;
        }

        body.dark .mobile-day-right,
        body.dark .badge-day,
        body.dark .mobile-meta-chip {
            background: #1e293b !important;
            color: #f8fafc !important;
            border-color: #475569 !important;
        }

        body.dark #deliveryControlCard .text-sky-900,
        body.dark #deliveryControlCard .text-sky-700,
        body.dark #deliveryControlCard .text-sky-600,
        body.dark #deliveryControlCard .text-slate-800,
        body.dark #deliveryControlCard .text-slate-700,
        body.dark #deliveryControlCard .text-slate-600,
        body.dark #deliveryControlCard .text-slate-500 {
            color: #e5e7eb !important;
        }

        body.dark #deliveryControlCard .bg-sky-50,
        body.dark #deliveryControlCard .bg-sky-100,
        body.dark #deliveryControlCard .bg-white,
        body.dark #deliveryControlCard .bg-slate-50,
        body.dark #deliveryControlCard .bg-slate-50\/60 {
            background: #0f172a !important;
        }

        body.dark #deliveryControlCard .border-sky-100,
        body.dark #deliveryControlCard .border-slate-100,
        body.dark #deliveryControlCard .border-slate-200 {
            border-color: #334155 !important;
        }

        body.dark #nonWorkList,
        body.dark #nonWorkListAll,
        body.dark #globalTargetDisplay,
        body.dark #nonWorkCount,
        body.dark #nonWorkCountAll,
        body.dark #databasePanel .bg-slate-50,
        body.dark #sidebarScroll .bg-white.border.border-red-200.rounded-xl,
        body.dark #sidebarScroll .bg-white.border.border-blue-200.rounded-xl {
            color: #e5e7eb !important;
        }

        body.dark #databasePanel .bg-slate-50 *,
        body.dark #sidebarScroll .bg-white.border.border-red-200.rounded-xl *,
        body.dark #sidebarScroll .bg-white.border.border-blue-200.rounded-xl * {
            color: inherit !important;
        }

        body.dark .bg-white,
        body.dark .bg-slate-50,
        body.dark .bg-slate-50\/60,
        body.dark .bg-slate-50\/80 {
            background-color: #0f172a !important;
        }

        body.dark .text-white {
            color: #f8fafc !important;
        }

        body.dark .text-black {
            color: #e5e7eb !important;
        }
