/*
 * ZIL POS print presentation.
 * Loaded with media="print" only and intentionally independent of screen theme.
 */

:root,
html {
    color-scheme: light !important;
    color-scheme: only light !important;
    --pos-theme-surface: #ffffff !important;
    --pos-theme-surface-2: #f8fafc !important;
    --pos-theme-surface-3: #f1f5f9 !important;
    --pos-theme-border: #e5e7eb !important;
    --pos-theme-border-strong: #cbd5e1 !important;
    --pos-theme-text: #1f2937 !important;
    --pos-theme-text-muted: #64748b !important;
    --pos-theme-shadow: none !important;
    --pos-theme-overlay: transparent !important;
    --pos-theme-input-bg: #ffffff !important;
    --pos-theme-gradient-start: #ffffff !important;
    --pos-theme-gradient-end: #f8fafc !important;
    --pos-theme-gradient-soft-start: #f8fafc !important;
    --pos-theme-gradient-soft-end: #f1f5f9 !important;
    --pos-theme-glow: transparent !important;
    --pos-theme-glow-strong: transparent !important;
    --pos-bg: #ffffff !important;
    --pos-bg-secondary: #f8fafc !important;
    --pos-bg-tertiary: #f1f5f9 !important;
    --pos-card-bg: #ffffff !important;
    --pos-text: #111827 !important;
    --pos-text-secondary: #334155 !important;
    --pos-text-muted: #64748b !important;
    --pos-text-light: #94a3b8 !important;
    --pos-border: #e2e8f0 !important;
    --pos-border-light: #f1f5f9 !important;
    --pos-shadow-sm: none !important;
    --pos-shadow: none !important;
    --pos-shadow-md: none !important;
    --pos-shadow-lg: none !important;
    --pos-shadow-xl: none !important;
    --pos-gray-50: #f8fafc !important;
    --pos-gray-100: #f1f5f9 !important;
    --pos-gray-200: #e2e8f0 !important;
    --pos-gray-300: #cbd5e1 !important;
    --pos-gray-400: #94a3b8 !important;
    --pos-gray-500: #64748b !important;
    --pos-gray-600: #475569 !important;
    --pos-gray-700: #334155 !important;
    --pos-gray-800: #1e293b !important;
    --pos-gray-900: #0f172a !important;
}

html,
body,
#pos-print-area,
#pos-print-area .pos-receipt {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
}

/*
 * Receipts are theme-neutral documents: white paper, black ink.  Reset every
 * authored dark/light surface inside the receipt so mobile print engines
 * cannot preserve a dark card, gradient, filter, or pseudo-element.
 */
#pos-print-area *,
#pos-print-area *::before,
#pos-print-area *::after {
    color: #000000 !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    mix-blend-mode: normal !important;
    forced-color-adjust: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

#pos-print-area,
#pos-print-area .pos-receipt {
    forced-color-adjust: none;
}

.pos-card-white,
.pos-tab-content,
.pos-table,
.pos-table-wrapper {
    background: #ffffff !important;
    color: #111827 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.pos-table th {
    background: #f8fafc !important;
    color: #111827 !important;
    border-color: #e5e7eb !important;
}

.pos-table td,
.pos-table td strong {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #e5e7eb !important;
}

.pos-table tbody tr:hover td,
.pos-row-debt,
.pos-row-expense,
.pos-ledger-totals {
    background: #ffffff !important;
}
