/* style.css - TB Mandiri Jaya Steel Modern UI Engine */

/* 1. Base Styles & Theme variables */
:root {
    --color-slate-950: #020617;
    --color-slate-900: #0b1329;
    --color-slate-850: #111c38;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-indigo-500: #6366f1;
    --color-indigo-600: #4f46e5;
}

body {
    background-color: var(--color-slate-950);
    color: #f8fafc;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* 2. Sleek Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.4);
}

/* 3. Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulseSubtle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-pulse-subtle {
    animation: pulseSubtle 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 4. Modern Surface & Glassmorphism */
.glass-panel {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.glass-card {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-hover-effect {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
.card-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(99, 102, 241, 0.3);
}

/* 5. Custom Form Controls & Micro-interactions */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    appearance: none;
}

/* 6. Touch-friendly Button active press effect */
button:active:not(:disabled),
.btn-press:active:not(:disabled) {
    transform: scale(0.98);
}

/* =========================================================
   LIGHT MODE THEME ENGINE (html.light)
   Clean, Modern, Simple & High-Contrast SaaS Palette
   ========================================================= */
html.light,
html.light.bg-slate-950 {
    color-scheme: light;
    background-color: #f8fafc !important;
}

html.light body {
    background-color: #f8fafc !important; /* Slate 50: clean, easy on the eyes */
    color: #0f172a !important; /* Slate 900: sharp, crisp charcoal */
}

/* 1. Main Surfaces & Cards */
html.light aside#sidebar-menu,
html.light .bg-slate-900,
html.light .bg-slate-900\/95,
html.light .bg-slate-900\/90,
html.light .bg-slate-900\/80,
html.light .bg-slate-900\/70,
html.light .bg-slate-900\/60,
html.light .bg-slate-900\/50,
html.light .bg-slate-900\/40,
html.light .bg-slate-900\/30,
html.light .bg-slate-900\/20,
html.light .bg-slate-900\/10 {
    background-color: #ffffff !important;
}

html.light .glass-panel,
html.light .glass-card {
    background-color: rgba(255, 255, 255, 0.98) !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02) !important;
}

/* 2. Secondary & Sub-surfaces (Inner wells, table rows, filter bars) */
html.light .bg-slate-950,
html.light .bg-slate-950\/90,
html.light .bg-slate-950\/80,
html.light .bg-slate-950\/70,
html.light .bg-slate-950\/60,
html.light .bg-slate-950\/50,
html.light .bg-slate-950\/40,
html.light .bg-slate-950\/30,
html.light .bg-slate-950\/20,
html.light .bg-slate-950\/10 {
    background-color: #f8fafc !important;
}

html.light .bg-slate-850,
html.light .bg-slate-800,
html.light .bg-slate-800\/90,
html.light .bg-slate-800\/80,
html.light .bg-slate-800\/70,
html.light .bg-slate-800\/60,
html.light .bg-slate-800\/50,
html.light .bg-slate-800\/40,
html.light .bg-slate-800\/30,
html.light .bg-slate-800\/20,
html.light .bg-slate-800\/10 {
    background-color: #f1f5f9 !important;
}

/* 3. Headers, Topbars & Footers */
html.light header {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom-color: #e2e8f0 !important;
}

html.light .md\:hidden {
    background-color: #ffffff !important;
    border-bottom-color: #e2e8f0 !important;
}

html.light footer {
    background-color: #f8fafc !important;
    border-top-color: #e2e8f0 !important;
}

/* 4. Borders & Dividers */
html.light .border-slate-950,
html.light .border-slate-900,
html.light .border-slate-850,
html.light .border-slate-800,
html.light .border-slate-800\/90,
html.light .border-slate-800\/80,
html.light .border-slate-800\/60,
html.light .border-slate-800\/50,
html.light .border-slate-800\/40,
html.light .border-slate-700,
html.light .border-slate-700\/80,
html.light .border-slate-700\/60,
html.light .border-slate-700\/50,
html.light .border-slate-700\/40,
html.light .border-slate-600,
html.light .divide-slate-800 > * + *,
html.light .divide-slate-800\/80 > * + *,
html.light .divide-slate-800\/60 > * + *,
html.light .divide-slate-800\/50 > * + *,
html.light .divide-slate-800\/40 > * + *,
html.light .divide-slate-700 > * + * {
    border-color: #e2e8f0 !important;
}

/* 5. Typography Hierarchy (High Contrast & Clear Readability) */
html.light h1,
html.light h2,
html.light h3,
html.light h4,
html.light h5,
html.light h6 {
    color: #0f172a !important; /* Slate 900 */
}

html.light .text-white {
    color: #0f172a !important; /* By default text-white becomes slate-900 */
}

html.light .text-slate-100,
html.light .text-slate-200 {
    color: #1e293b !important; /* Slate 800 */
}

html.light .text-slate-300 {
    color: #334155 !important; /* Slate 700: clear, dark & readable */
}

html.light .text-slate-400 {
    color: #475569 !important; /* Slate 600: strong WCAG contrast */
}

html.light .text-slate-500 {
    color: #64748b !important; /* Slate 500 */
}

html.light .text-slate-600 {
    color: #475569 !important;
}

/* 6. Overrides for Pastel / Light Text Colors (Ensures 100% Legibility on White) */
/* Emerald / Green */
html.light .text-emerald-300,
html.light .text-emerald-400,
html.light .text-emerald-500 {
    color: #047857 !important; /* Emerald 700 */
}
html.light .text-emerald-600 {
    color: #065f46 !important; /* Emerald 800 */
}

/* Indigo / Brand */
html.light .text-indigo-300,
html.light .text-indigo-400,
html.light .text-indigo-500 {
    color: #4338ca !important; /* Indigo 700 */
}
html.light .text-indigo-600 {
    color: #3730a3 !important; /* Indigo 800 */
}

/* Amber / Orange */
html.light .text-amber-300,
html.light .text-amber-400,
html.light .text-amber-500 {
    color: #b45309 !important; /* Amber 700 */
}
html.light .text-yellow-300,
html.light .text-yellow-400,
html.light .text-yellow-500 {
    color: #a16207 !important; /* Yellow 700 */
}

/* Rose / Red */
html.light .text-rose-300,
html.light .text-rose-400,
html.light .text-rose-500,
html.light .text-red-400,
html.light .text-red-500 {
    color: #be123c !important; /* Rose 700 */
}

/* Sky / Light Blue */
html.light .text-sky-300,
html.light .text-sky-400,
html.light .text-sky-500 {
    color: #0369a1 !important; /* Sky 700 */
}

/* Teal / Blue-Green */
html.light .text-teal-300,
html.light .text-teal-400,
html.light .text-teal-500 {
    color: #0f766e !important; /* Teal 700 */
}

/* Violet / Purple */
html.light .text-violet-300,
html.light .text-violet-400,
html.light .text-violet-500,
html.light .text-purple-400 {
    color: #6d28d9 !important; /* Violet 700 */
}

/* Blue */
html.light .text-blue-300,
html.light .text-blue-400,
html.light .text-blue-500 {
    color: #1d4ed8 !important; /* Blue 700 */
}

/* 7. Status Badges & Pills (Clean SaaS Aesthetic) */
html.light .bg-emerald-500\/10,
html.light .bg-emerald-500\/15,
html.light .bg-emerald-500\/20 {
    background-color: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
    color: #047857 !important;
}
html.light .bg-emerald-500\/10 *,
html.light .bg-emerald-500\/15 *,
html.light .bg-emerald-500\/20 * {
    color: #047857 !important;
}

html.light .bg-indigo-500\/10,
html.light .bg-indigo-500\/15,
html.light .bg-indigo-500\/20,
html.light .bg-indigo-600\/15,
html.light .bg-indigo-600\/20 {
    background-color: #eef2ff !important;
    border-color: #c7d2fe !important;
    color: #4338ca !important;
}
html.light .bg-indigo-500\/10 *,
html.light .bg-indigo-500\/15 *,
html.light .bg-indigo-500\/20 *,
html.light .bg-indigo-600\/15 *,
html.light .bg-indigo-600\/20 * {
    color: #4338ca !important;
}

html.light .bg-amber-500\/10,
html.light .bg-amber-500\/15,
html.light .bg-amber-500\/20,
html.light .bg-amber-500\/25 {
    background-color: #fffbeb !important;
    border-color: #fde68a !important;
    color: #b45309 !important;
}
html.light .bg-amber-500\/10 *,
html.light .bg-amber-500\/15 *,
html.light .bg-amber-500\/20 *,
html.light .bg-amber-500\/25 * {
    color: #b45309 !important;
}

html.light .bg-rose-500\/10,
html.light .bg-rose-500\/15,
html.light .bg-rose-500\/20 {
    background-color: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #be123c !important;
}
html.light .bg-rose-500\/10 *,
html.light .bg-rose-500\/15 *,
html.light .bg-rose-500\/20 * {
    color: #be123c !important;
}

html.light .bg-sky-500\/10,
html.light .bg-sky-500\/15,
html.light .bg-sky-500\/20 {
    background-color: #f0f9ff !important;
    border-color: #bae6fd !important;
    color: #0369a1 !important;
}
html.light .bg-sky-500\/10 *,
html.light .bg-sky-500\/15 *,
html.light .bg-sky-500\/20 * {
    color: #0369a1 !important;
}

html.light .bg-teal-500\/10,
html.light .bg-teal-500\/15,
html.light .bg-teal-500\/20 {
    background-color: #f0fdfa !important;
    border-color: #99f6e4 !important;
    color: #0f766e !important;
}
html.light .bg-teal-500\/10 *,
html.light .bg-teal-500\/15 *,
html.light .bg-teal-500\/20 * {
    color: #0f766e !important;
}

html.light .bg-violet-500\/10,
html.light .bg-violet-500\/15,
html.light .bg-violet-500\/20 {
    background-color: #f5f3ff !important;
    border-color: #ddd6fe !important;
    color: #6d28d9 !important;
}
html.light .bg-violet-500\/10 *,
html.light .bg-violet-500\/15 *,
html.light .bg-violet-500\/20 * {
    color: #6d28d9 !important;
}

html.light .bg-slate-500\/10,
html.light span.bg-slate-800 {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

/* 8. Page Header Decorative Icon Containers */
html.light [class*="rounded-2xl"][class*="from-indigo-"] {
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
    color: #4338ca !important;
}
html.light [class*="rounded-2xl"][class*="from-indigo-"] i {
    color: #4338ca !important;
}

html.light [class*="rounded-2xl"][class*="from-amber-"] {
    background: #fffbeb !important;
    border-color: #fde68a !important;
    color: #b45309 !important;
}
html.light [class*="rounded-2xl"][class*="from-amber-"] i {
    color: #b45309 !important;
}

html.light [class*="rounded-2xl"][class*="from-emerald-"] {
    background: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
    color: #047857 !important;
}
html.light [class*="rounded-2xl"][class*="from-emerald-"] i {
    color: #047857 !important;
}

html.light [class*="rounded-2xl"][class*="from-rose-"] {
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #be123c !important;
}
html.light [class*="rounded-2xl"][class*="from-rose-"] i {
    color: #be123c !important;
}

html.light [class*="rounded-2xl"][class*="from-teal-"] {
    background: #f0fdfa !important;
    border-color: #99f6e4 !important;
    color: #0f766e !important;
}
html.light [class*="rounded-2xl"][class*="from-teal-"] i {
    color: #0f766e !important;
}

html.light [class*="rounded-2xl"][class*="from-violet-"] {
    background: #f5f3ff !important;
    border-color: #ddd6fe !important;
    color: #6d28d9 !important;
}
html.light [class*="rounded-2xl"][class*="from-violet-"] i {
    color: #6d28d9 !important;
}

html.light [class*="rounded-2xl"][class*="from-sky-"] {
    background: #f0f9ff !important;
    border-color: #bae6fd !important;
    color: #0369a1 !important;
}
html.light [class*="rounded-2xl"][class*="from-sky-"] i {
    color: #0369a1 !important;
}

/* 9. Special Feature Cards */
/* Dashboard Hero Card: Laba Bersih */
html.light [class*="from-emerald-950"] {
    background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%) !important;
    border-color: #a7f3d0 !important;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.1) !important;
}
html.light [class*="from-emerald-950"] .text-emerald-400 {
    color: #047857 !important;
}
html.light [class*="from-emerald-950"] .text-emerald-300 {
    color: #065f46 !important;
}
html.light [class*="from-emerald-950"] .text-slate-400 {
    color: #065f46 !important;
}
html.light [class*="from-emerald-950"] .border-slate-800\/80 {
    border-color: #d1fae5 !important;
}

/* Dashboard Hero Card: Defisit Rugi */
html.light [class*="from-rose-950"] {
    background: linear-gradient(135deg, #fff1f2 0%, #ffffff 100%) !important;
    border-color: #fecdd3 !important;
    box-shadow: 0 10px 25px -5px rgba(244, 63, 94, 0.1) !important;
}
html.light [class*="from-rose-950"] .text-rose-400 {
    color: #be123c !important;
}
html.light [class*="from-rose-950"] .text-slate-400 {
    color: #9f1239 !important;
}
html.light [class*="from-rose-950"] .border-slate-800\/80 {
    border-color: #ffe4e6 !important;
}

/* POS Grand Total Card */
html.light [class*="from-indigo-950"] {
    background: linear-gradient(to right, #eef2ff, #f8fafc) !important;
    border-color: #c7d2fe !important;
}
html.light [class*="from-indigo-950"] .text-indigo-400 {
    color: #4338ca !important;
}
html.light [class*="from-indigo-950"] .text-slate-400 {
    color: #475569 !important;
}
html.light [class*="from-indigo-950"] #cart-grand-total-display {
    color: #047857 !important;
}

/* 10. Solid Colored Buttons (PRESERVE WHITE TEXT) */
html.light .bg-indigo-600,
html.light .bg-indigo-700,
html.light .bg-emerald-600,
html.light .bg-emerald-700,
html.light .bg-rose-600,
html.light .bg-rose-700,
html.light .bg-violet-600,
html.light .bg-violet-700,
html.light button[class*="from-indigo-"],
html.light a[class*="from-indigo-"],
html.light button[class*="from-emerald-"],
html.light a[class*="from-emerald-"],
html.light button[class*="from-rose-"],
html.light a[class*="from-rose-"],
html.light button[class*="from-violet-"],
html.light a[class*="from-violet-"],
html.light button[class*="from-teal-600"],
html.light a[class*="from-teal-600"],
html.light button[class*="from-sky-500"],
html.light a[class*="from-sky-500"] {
    color: #ffffff !important;
}

html.light .bg-indigo-600 *,
html.light .bg-indigo-700 *,
html.light .bg-emerald-600 *,
html.light .bg-emerald-700 *,
html.light .bg-rose-600 *,
html.light .bg-rose-700 *,
html.light .bg-violet-600 *,
html.light .bg-violet-700 *,
html.light button[class*="from-indigo-"] *,
html.light a[class*="from-indigo-"] *,
html.light button[class*="from-emerald-"] *,
html.light a[class*="from-emerald-"] *,
html.light button[class*="from-rose-"] *,
html.light a[class*="from-rose-"] *,
html.light button[class*="from-violet-"] *,
html.light a[class*="from-violet-"] *,
html.light button[class*="from-teal-600"] *,
html.light a[class*="from-teal-600"] *,
html.light button[class*="from-sky-500"] *,
html.light a[class*="from-sky-500"] * {
    color: #ffffff !important;
}

html.light .cat-pill.active-cat,
html.light .cat-pill.bg-indigo-600 {
    background-color: #4f46e5 !important;
    color: #ffffff !important;
}

/* Amber / Yellow Buttons (PRESERVE DARK TEXT FOR MAXIMUM CONTRAST) */
html.light a[class*="from-amber-"],
html.light button[class*="from-amber-"],
html.light a[class*="bg-amber-500"],
html.light button[class*="bg-amber-500"] {
    color: #0f172a !important;
}
html.light a[class*="from-amber-"] *,
html.light button[class*="from-amber-"] *,
html.light a[class*="bg-amber-500"] *,
html.light button[class*="bg-amber-500"] * {
    color: #0f172a !important;
}

/* User Avatars */
html.light [class*="bg-gradient-to-tr"][class*="from-indigo-600"] {
    color: #ffffff !important;
}

/* 11. Form Inputs & Selects in Light Mode */
html.light input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]),
html.light select,
html.light textarea {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

html.light input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]):focus,
html.light select:focus,
html.light textarea:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

html.light input::placeholder,
html.light textarea::placeholder {
    color: #94a3b8 !important;
}

html.light input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0) !important;
}

html.light input[type="file"]::file-selector-button {
    background-color: #e2e8f0 !important;
    color: #4338ca !important;
    border: none !important;
}

/* 12. Tables in Light Mode */
html.light thead tr {
    background-color: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

html.light thead th {
    color: #475569 !important;
    font-weight: 700 !important;
}

html.light tbody tr:hover {
    background-color: #f8fafc !important;
}

html.light tbody td {
    border-bottom-color: #f1f5f9 !important;
}

/* 13. Dropdowns & Menus in Light Mode */
html.light .group-hover\:block,
html.light .hover\:block {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05) !important;
}

html.light .group-hover\:block a:hover,
html.light .hover\:block a:hover {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

/* 14. Modals & Dialog Windows in Light Mode */
html.light .fixed.inset-0.bg-slate-950\/80,
html.light .fixed.inset-0.bg-slate-950\/85,
html.light .fixed.inset-0.bg-slate-950\/90 {
    background-color: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(4px) !important;
}

html.light #add-modal > div,
html.light #edit-modal > div,
html.light #delete-modal > div,
html.light #import-modal > div,
html.light #checkout-modal > div,
html.light #receipt-modal > div,
html.light #detail-modal > div,
html.light #void-modal > div,
html.light #pay-modal > div,
html.light #filter-modal > div {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
}

/* Modal Cancel Buttons in Light Mode */
html.light #add-modal button.bg-slate-800,
html.light #edit-modal button.bg-slate-800,
html.light #delete-modal button.bg-slate-800,
html.light #import-modal button.bg-slate-800,
html.light #checkout-modal button.bg-slate-800,
html.light #receipt-modal button.bg-slate-800,
html.light #detail-modal button.bg-slate-800,
html.light #void-modal button.bg-slate-800 {
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}
html.light #add-modal button.bg-slate-800:hover,
html.light #edit-modal button.bg-slate-800:hover,
html.light #delete-modal button.bg-slate-800:hover,
html.light #import-modal button.bg-slate-800:hover,
html.light #checkout-modal button.bg-slate-800:hover,
html.light #receipt-modal button.bg-slate-800:hover,
html.light #detail-modal button.bg-slate-800:hover,
html.light #void-modal button.bg-slate-800:hover {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
}

/* 15. Sidebar Navigation in Light Mode */
html.light aside#sidebar-menu {
    border-right-color: #e2e8f0 !important;
}

html.light aside#sidebar-menu a:not([class*="bg-gradient"]):not([class*="bg-indigo-600\/15"]):not([class*="bg-amber-500\/15"]):not([class*="bg-emerald-500\/15"]) {
    color: #475569 !important;
}

html.light aside#sidebar-menu a:hover,
html.light aside#sidebar-menu button:hover {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}
html.light aside#sidebar-menu a:hover *,
html.light aside#sidebar-menu button:hover * {
    color: #0f172a !important;
}

html.light aside#sidebar-menu a.bg-indigo-600\/15 {
    background-color: #eef2ff !important;
    border: 1px solid #c7d2fe !important;
    color: #4338ca !important;
}
html.light aside#sidebar-menu a.bg-indigo-600\/15 * {
    color: #4338ca !important;
}

html.light aside#sidebar-menu a.bg-amber-500\/15 {
    background-color: #fffbeb !important;
    border: 1px solid #fde68a !important;
    color: #b45309 !important;
}
html.light aside#sidebar-menu a.bg-amber-500\/15 * {
    color: #b45309 !important;
}

html.light aside#sidebar-menu button.bg-emerald-500\/15 {
    background-color: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    color: #047857 !important;
}
html.light aside#sidebar-menu button.bg-emerald-500\/15 * {
    color: #047857 !important;
}

html.light #accounting-submenu {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

/* 16. POS UI Controls in Light Mode */
html.light .pay-method-btn.active-method {
    background-color: #eef2ff !important;
    border-color: #6366f1 !important;
}
html.light .pay-method-btn.active-method span {
    color: #4338ca !important;
    font-weight: 700 !important;
}
html.light .pay-method-btn:not(.active-method) {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}
html.light .pay-method-btn:not(.active-method):hover {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

html.light button[onclick*="addQuickCash"],
html.light button[onclick*="setExactAmount"] {
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
}
html.light button[onclick*="addQuickCash"]:hover,
html.light button[onclick*="setExactAmount"]:hover {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
}

html.light #checkout-total-bill {
    color: #047857 !important;
}

html.light #thermal-receipt,
html.light #thermal-receipt * {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Drop zone */
html.light #drop-zone {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
}
html.light #drop-zone:hover {
    background-color: #f1f5f9 !important;
    border-color: #6366f1 !important;
}

/* Live clocks */
html.light #live-clock {
    color: #4338ca !important;
}
html.light #pos-live-clock {
    color: #047857 !important;
}

/* Scrollbars in Light Mode */
html.light ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}
html.light ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

