body.dark-theme .content-wrapper,
body.dark-theme .right-side,
body.dark-theme .main-footer {
    background-color: #121820 !important;
    color: #e4e8ec;
}

body.dark-theme .box {
    background-color: #1e2630;
    border-top-color: #2c3643;
    color: #e4e8ec;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.dark-theme .box-header {
    color: #e4e8ec;
}

body.dark-theme .box-header.with-border {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .box-title {
    color: #fff;
}

body.dark-theme .table {
    color: #e4e8ec;
}

body.dark-theme .table > thead > tr > th,
body.dark-theme .table > tbody > tr > th,
body.dark-theme .table > tfoot > tr > th,
body.dark-theme .table > thead > tr > td,
body.dark-theme .table > tbody > tr > td,
body.dark-theme .table > tfoot > tr > td {
    border-top-color: #2c3643;
}

body.dark-theme .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #242f3a;
}
body.dark-theme .table-hover > tbody > tr:hover {
    background-color: #2a3744;
}

body.dark-theme tr.footer-total > td,
body.dark-theme tr.footer-total > th {
    background-color: #202833 !important;
    color: #e4e8ec !important;
    border-top-color: #2c3643 !important;
}

body.dark-theme .form-control {
    background-color: #1e2630 !important;
    color: #e4e8ec !important;
    border-color: #3b4754;
}

body.dark-theme .form-control[disabled],
body.dark-theme .form-control[readonly],
body.dark-theme fieldset[disabled] .form-control {
    background-color: #151b22 !important;
}

body.dark-theme .input-group-addon {
    background-color: #242f3a;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .modal-content {
    background-color: #1e2630;
    color: #e4e8ec;
}

body.dark-theme .modal-header {
    border-bottom-color: #2c3643;
}

body.dark-theme .modal-footer {
    border-top-color: #2c3643;
}

body.dark-theme .table.bg-gray {
    background-color: #202833 !important;
    color: #e4e8ec !important;
    border: 1px solid #2c3643;
}

body.dark-theme .table.bg-gray > thead > tr > th,
body.dark-theme .table.bg-gray > tbody > tr > th,
body.dark-theme .table.bg-gray > tfoot > tr > th,
body.dark-theme .table.bg-gray > thead > tr > td,
body.dark-theme .table.bg-gray > tbody > tr > td,
body.dark-theme .table.bg-gray > tfoot > tr > td {
    background-color: #202833 !important;
    border-top-color: #2c3643 !important;
    color: #e4e8ec !important;
}

body.dark-theme .table.bg-gray > tr > th,
body.dark-theme .table.bg-gray > tr > td {
    background-color: #202833 !important;
    border-top-color: #2c3643 !important;
    color: #e4e8ec !important;
}

body.dark-theme tr.bg-green > th,
body.dark-theme tr.bg-green > td,
body.dark-theme tr.bg-blue > th,
body.dark-theme tr.bg-blue > td {
    color: #ffffff !important;
}

body.dark-theme tr.bg-green,
body.dark-theme tr.bg-blue {
    border-top-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-theme tr.bg-green,
body.dark-theme th.bg-green,
body.dark-theme td.bg-green {
    background-color: #0f766e !important;
}

body.dark-theme tr.bg-blue,
body.dark-theme th.bg-blue,
body.dark-theme td.bg-blue {
    background-color: #1d4ed8 !important;
}

body.dark-theme .well.bg-gray {
    background-color: #202833 !important;
    border-color: #2c3643 !important;
    color: #e4e8ec !important;
}

body.dark-theme .label.bg-gray {
    background-color: #374151 !important;
    color: #e5e7eb !important;
}

body.dark-theme .select2-container--default .select2-selection--single,
body.dark-theme .select2-container--default .select2-selection--multiple {
    background-color: #1e2630;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #e4e8ec;
}

body.dark-theme .select2-dropdown {
    background-color: #1e2630;
    border-color: #3b4754;
}

body.dark-theme .select2-container--default .select2-results__option {
    color: #e4e8ec;
}

body.dark-theme .select2-container--default .select2-results__option[aria-disabled=true] {
    color: #7f8a96;
}

body.dark-theme .select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #2c3643;
    color: #ffffff;
}

body.dark-theme .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #3b4754;
    color: #ffffff;
}

body.dark-theme .select2-container--default .select2-selection--single .select2-selection__placeholder,
body.dark-theme .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
    color: #a0acb8;
}

body.dark-theme .select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #151b22;
    color: #e4e8ec;
    border-color: #3b4754;
}

body.dark-theme .nav-tabs-custom {
    background: #1e2630;
}

body.dark-theme .nav-tabs-custom > .nav-tabs {
    border-bottom-color: #2c3643;
}

body.dark-theme .nav-tabs-custom > .nav-tabs > li.active > a, 
body.dark-theme .nav-tabs-custom > .nav-tabs > li.active:hover > a {
    background-color: #1e2630;
    color: #fff;
    border-color: #2c3643;
    border-bottom-color: transparent;
}

body.dark-theme .nav-tabs-custom > .nav-tabs > li > a {
    color: #a0acb8;
}

body.dark-theme .nav-tabs-custom > .tab-content {
    background: #1e2630;
}

body.dark-theme .content .nav-tabs {
    border-bottom-color: #2c3643;
}

body.dark-theme .content .nav-tabs > li > a {
    background-color: #1e2630;
    border-color: #2c3643;
    color: #a0acb8;
}

body.dark-theme .content .nav-tabs > li > a:hover,
body.dark-theme .content .nav-tabs > li > a:focus {
    background-color: #242f3a;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .content .nav-tabs > li.active > a,
body.dark-theme .content .nav-tabs > li.active > a:hover,
body.dark-theme .content .nav-tabs > li.active > a:focus {
    background-color: #242f3a;
    border-color: #2c3643;
    border-bottom-color: #242f3a;
    color: #fff;
}

body.dark-theme .branch-location-screen {
    color: #e4e8ec;
}

body.dark-theme .branch-location-toolbar__filters {
    background: #1e2630;
    border-color: #2c3643;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

body.dark-theme .branch-location-filter label {
    color: #a0acb8;
}

body.dark-theme .branch-location-card {
    background: #1e2630;
    border-color: #2c3643;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

body.dark-theme .branch-location-card.is-inactive {
    background: linear-gradient(180deg, #1e2630 0%, #171e27 100%);
}

body.dark-theme .branch-location-card__title,
body.dark-theme .branch-location-card__config-item strong {
    color: #fff;
}

body.dark-theme .branch-location-card__eyebrow,
body.dark-theme .branch-location-card__meta-line,
body.dark-theme .branch-location-card__config-label {
    color: #a0acb8;
}

body.dark-theme .branch-location-card__config-item {
    background: #151b22;
    border-color: #2c3643;
}

body.dark-theme .branch-location-card__alert {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.22);
    color: #fbbf24;
}

body.dark-theme .branch-location-card__meta-line i {
    color: #60a5fa;
}

body.dark-theme .branch-location-empty-state {
    background: #1e2630;
    border-color: #2c3643;
    color: #e4e8ec;
}

body.dark-theme .btn-soft-primary,
body.dark-theme .btn-soft-neutral,
body.dark-theme .btn-outline-danger {
    background: #1e2630;
    color: #e4e8ec;
}

body.dark-theme .btn-soft-primary {
    border-color: rgba(59, 130, 246, 0.35);
}

body.dark-theme .btn-soft-neutral {
    border-color: #3b4754;
}

body.dark-theme .btn-outline-danger {
    border-color: rgba(239, 68, 68, 0.45);
}

body.dark-theme .btn-soft-primary:hover,
body.dark-theme .btn-soft-primary:focus,
body.dark-theme .btn-soft-neutral:hover,
body.dark-theme .btn-soft-neutral:focus,
body.dark-theme .btn-outline-danger:hover,
body.dark-theme .btn-outline-danger:focus {
    background: #242f3a;
}

body.dark-theme .mass-edit-shell {
    background: #121820;
}

body.dark-theme .mass-edit-body {
    background: #1e2630;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
    color: #e4e8ec;
}

body.dark-theme .mass-edit__header p,
body.dark-theme .mass-edit__filters-sentinel {
    color: #a0acb8;
}

body.dark-theme .mass-edit__option,
body.dark-theme .mass-edit__specific-panel,
body.dark-theme .mass-edit__filters-body,
body.dark-theme .mass-edit__field-panel,
body.dark-theme .mass-edit__bulk-fiscal {
    background: #1e2630;
    border-color: #2c3643;
    color: #e4e8ec;
}

body.dark-theme .mass-edit__option {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

body.dark-theme .mass-edit__option:hover {
    background: #242f3a;
    border-color: #3b4754;
}

body.dark-theme .mass-edit__option.active {
    background: #242f3a;
    border-color: #4f46e5;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.18);
}

body.dark-theme .mass-edit__option p,
body.dark-theme .mass-edit__bulk-fiscal h5 {
    color: #a0acb8;
}

body.dark-theme .mass-edit__pill,
body.dark-theme .mass-edit-chip {
    background: #151b22;
    border-color: #2c3643;
    color: #e4e8ec;
}

body.dark-theme .mass-edit__tabs-nav > li > a {
    background: #151b22;
    border-color: #2c3643;
    color: #a0acb8;
}

body.dark-theme .mass-edit__tabs-nav > li.active > a,
body.dark-theme .mass-edit__tabs-nav > li.active > a:focus,
body.dark-theme .mass-edit__tabs-nav > li.active > a:hover {
    background: #242f3a;
    border-color: #4f46e5;
    color: #fff;
}

body.dark-theme .mass-edit__bulk-fiscal .cond-format-item {
    background: #151b22 !important;
    border-color: #2c3643 !important;
}

body.dark-theme .mass-edit-shell .btn-default {
    background: #242f3a;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .mass-edit-shell .btn-default:hover,
body.dark-theme .mass-edit-shell .btn-default:focus {
    background: #2c3643;
    border-color: #4b5563;
    color: #fff;
}

body.dark-theme .ama-builder-container {
    color: #e4e8ec;
}

body.dark-theme .ama-config-panel,
body.dark-theme .ama-preview-panel {
    background: #1e2630;
    border-color: #2c3643;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.28), 0 8px 10px -6px rgba(0, 0, 0, 0.18);
    color: #e4e8ec;
}

body.dark-theme .ama-builder-container label,
body.dark-theme .ama-builder-container .builder-step-title,
body.dark-theme .ama-builder-container .text-muted,
body.dark-theme .ama-builder-container p,
body.dark-theme .ama-builder-container small {
    color: #a0acb8 !important;
}

body.dark-theme .builder-step {
    background: #151b22;
    border-color: #2c3643;
}

body.dark-theme .builder-step-header {
    background: #151b22;
}

body.dark-theme .builder-step-header:hover {
    background: #1b2430;
}

body.dark-theme .builder-step-title {
    color: #e4e8ec !important;
}

body.dark-theme .builder-step-title span {
    background: #2563eb;
    color: #fff;
}

body.dark-theme .step-arrow {
    color: #94a3b8;
}

body.dark-theme .builder-step.active {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.16);
}

body.dark-theme .module-card {
    background: #151b22;
    border-color: #2c3643;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
}

body.dark-theme .module-card:hover,
body.dark-theme .module-card.active {
    background: #242f3a;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.16);
}

body.dark-theme .module-card i,
body.dark-theme .module-card span {
    color: #a0acb8;
}

body.dark-theme .module-card.active i,
body.dark-theme .module-card.active span {
    color: #fff;
}

body.dark-theme #selected_module_display {
    background: #151b22 !important;
    border-color: #3b82f6 !important;
}

body.dark-theme #sel_mod_name {
    color: #e4e8ec !important;
}

body.dark-theme .ama-btn-primary {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

body.dark-theme .ama-builder-container .btn-default {
    background: #242f3a;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .ama-builder-container .btn-default:hover,
body.dark-theme .ama-builder-container .btn-default:focus {
    background: #2c3643;
    border-color: #4b5563;
    color: #fff;
}

body.dark-theme .ama-builder-container .btn-outline-primary {
    background: #151b22;
    border-color: #3b82f6;
    color: #bfdbfe;
}

body.dark-theme .ama-builder-container .btn-outline-primary:hover,
body.dark-theme .ama-builder-container .btn-outline-primary:focus {
    background: #1d4ed8;
    color: #fff;
}

body.dark-theme .loading-overlay {
    background: rgba(15, 23, 42, 0.78);
}

body.dark-theme .preview-table-wrapper {
    border-color: #2c3643;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12);
}

body.dark-theme .preview-table th {
    background: #151b22;
    border-bottom-color: #2c3643;
    color: #cbd5e1;
}

body.dark-theme .preview-table td {
    background: #1e2630;
    border-bottom-color: #2c3643;
    color: #e4e8ec;
}

body.dark-theme .preview-table tr:hover td {
    background: #242f3a;
    color: #fff;
}

body.dark-theme .preview-table tbody tr > td {
    background: #1e2630 !important;
}

body.dark-theme .preview-table tbody tr:hover > td {
    background: #242f3a !important;
}

body.dark-theme .preview-table tbody tr[style] > td {
    background: #1e2630 !important;
}

body.dark-theme .plan-page {
    background: #121820;
    color: #e4e8ec;
}

body.dark-theme .plan-card {
    background: #1e2630;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

body.dark-theme .plan-card__title {
    color: #fff;
}

body.dark-theme .plan-section,
body.dark-theme .plan-section--preview {
    background: #151b22;
    border-color: #2c3643;
}

body.dark-theme .plan-section-title {
    color: #e4e8ec;
}

body.dark-theme .plan-card .form-control,
body.dark-theme .plan-card select.form-control {
    background: #1e2630;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .plan-card .form-control:focus,
body.dark-theme .plan-card select.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.18);
}

body.dark-theme .plan-card .btn-default,
body.dark-theme .plan-card__actions .btn-flat--ghost {
    background: #242f3a;
    color: #e4e8ec;
    border-color: #3b4754;
}

body.dark-theme .plan-card .btn-default:hover,
body.dark-theme .plan-card .btn-default:focus,
body.dark-theme .plan-card__actions .btn-flat--ghost:hover,
body.dark-theme .plan-card__actions .btn-flat--ghost:focus {
    background: #2c3643;
    color: #fff;
    border-color: #4b5563;
}

body.dark-theme .plan-tree-toolbar__actions .btn-group .btn {
    background: #242f3a;
    color: #e4e8ec;
    border-color: #3b4754;
}

body.dark-theme .plan-tree-toolbar__actions .btn-group .btn:hover,
body.dark-theme .plan-tree-toolbar__actions .btn-group .btn:focus {
    background: #2c3643;
    color: #fff;
}

body.dark-theme .plan-tree-toolbar__actions .btn-group {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

body.dark-theme .plano-tree-toolbar__extras select {
    background: #1e2630;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .plan-node .plan-toggle {
    color: #cbd5e1;
}

body.dark-theme .plan-node.plan-depth-2::before,
body.dark-theme .plan-node.plan-depth-3::before,
body.dark-theme .plan-node.plan-depth-1::before,
body.dark-theme .plan-node.plan-depth-2::after,
body.dark-theme .plan-node.plan-depth-3::after,
body.dark-theme .plan-node.plan-depth-1::after {
    border-color: #3b4754;
}

body.dark-theme .plan-row-root td:first-child {
    background: #151b22;
    color: #bfdbfe;
}

body.dark-theme .plan-row-parent,
body.dark-theme .plan-row-has-children {
    background-color: #1a2230 !important;
    color: #e4e8ec !important;
    border-top-color: #2c3643;
    border-bottom-color: #2c3643;
}

body.dark-theme .plan-row-parent td,
body.dark-theme .plan-row-has-children td {
    background-color: #1a2230 !important;
    color: #e4e8ec !important;
}

body.dark-theme .plan-row-child {
    border-top-color: #2c3643;
}

body.dark-theme .js-desc.editing,
body.dark-theme .js-desc-saved.editing {
    background: #242f3a;
    outline-color: #60a5fa;
}

body.dark-theme #preview-table,
body.dark-theme #plano_contas_saved_table {
    color: #e4e8ec;
}

body.dark-theme #preview-table thead th,
body.dark-theme #plano_contas_saved_table thead th {
    background: #151b22;
    border-color: #2c3643;
    color: #cbd5e1;
}

body.dark-theme #preview-table tbody td,
body.dark-theme #plano_contas_saved_table tbody td {
    background: #1e2630;
    border-color: #2c3643;
    color: #e4e8ec;
}

body.dark-theme #preview-table tbody tr:nth-of-type(odd) td,
body.dark-theme #plano_contas_saved_table tbody tr:nth-of-type(odd) td {
    background: #242f3a;
}

body.dark-theme #preview-table tbody tr:hover td,
body.dark-theme #plano_contas_saved_table tbody tr:hover td {
    background: #2c3643;
}

body.dark-theme #preview-table .js-categoria,
body.dark-theme #plano_contas_saved_table .js-categoria-saved {
    background: #151b22;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme #preview-table input[type="checkbox"],
body.dark-theme #plano_contas_saved_table input[type="checkbox"] {
    accent-color: #3b82f6;
}

body.dark-theme .plan-card .box {
    background: #1e2630;
    border-color: #2c3643;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

body.dark-theme .plan-card .box-header.with-border {
    border-bottom-color: #2c3643;
}

body.dark-theme .plan-card .box-title {
    color: #fff;
}

body.dark-theme #addPreviewItemModal .modal-content {
    background: #1e2630;
    color: #e4e8ec;
}

body.dark-theme #addPreviewItemModal .modal-header,
body.dark-theme #addPreviewItemModal .modal-footer {
    border-color: #2c3643;
}

body.dark-theme #addPreviewItemModal .modal-title,
body.dark-theme #addPreviewItemModal .modal-body label {
    color: #e4e8ec;
}

body.dark-theme #addPreviewItemModal .modal-body .form-group .form-control {
    background: #151b22;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .brand-page {
    color: #e4e8ec;
}

body.dark-theme .brand-page .box {
    background: #1e2630;
    border-top-color: #2c3643;
    color: #e4e8ec;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

body.dark-theme .brand-page .box-header {
    color: #e4e8ec;
}

body.dark-theme .brand-page .box-title {
    color: #fff;
}

body.dark-theme .brand-page .box-body {
    background: #1e2630;
}

body.dark-theme .brand-page .box-footer {
    background: #1e2630;
    border-top-color: #2c3643;
}

body.dark-theme .brand-page .brand-filter-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

body.dark-theme .brand-page .brand-filter-form .form-group {
    margin-right: 0;
}

body.dark-theme .brand-page .brand-filter-form .form-control,
body.dark-theme .brand-page .brand-filter-form .btn {
    height: 38px;
}

body.dark-theme .brand-page .brand-filter-form .form-control {
    background: #151b22;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .brand-page .brand-filter-form .btn-primary {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

body.dark-theme .brand-page .brand-filter-form .btn-default {
    background: #242f3a;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .brand-page .table-responsive {
    border-color: #2c3643;
}

body.dark-theme .brand-page #brands_table {
    color: #e4e8ec;
}

body.dark-theme .brand-page #brands_table thead th {
    background: #151b22;
    border-color: #2c3643;
    color: #cbd5e1;
}

body.dark-theme .brand-page #brands_table tbody td {
    background: #1e2630;
    border-color: #2c3643;
    color: #e4e8ec;
}

body.dark-theme .brand-page #brands_table tbody tr:nth-of-type(odd) td {
    background: #242f3a;
}

body.dark-theme .brand-page #brands_table tbody tr:hover td {
    background: #2c3643;
}

body.dark-theme .brand-page .label-default {
    background: #334155;
    color: #e2e8f0;
}

body.dark-theme .brand-page .label-success {
    background: #10b981;
    color: #fff;
}

body.dark-theme .brand-page .btn-info {
    background: #3b82f6;
    border-color: #3b82f6;
}

body.dark-theme .brand-page .btn-warning {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #111827;
}

body.dark-theme .brand-page .btn-success {
    background: #10b981;
    border-color: #10b981;
}

body.dark-theme .brand-page .text-muted {
    color: #94a3b8;
}

body.dark-theme .cmv-page {
    color: #e4e8ec;
}

body.dark-theme .cmv-page .box {
    background: #1e2630;
    border-top-color: #2c3643;
    color: #e4e8ec;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

body.dark-theme .cmv-page .box-header.with-border {
    border-bottom-color: #2c3643;
}

body.dark-theme .cmv-page .box-body {
    background: #1e2630;
}

body.dark-theme .cmv-page .box-footer {
    background: #1e2630;
    border-top-color: #2c3643;
}

body.dark-theme .cmv-page .box-footer .btn-default {
    background: #242f3a;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .cmv-page .box-footer .btn-default:hover,
body.dark-theme .cmv-page .box-footer .btn-default:focus {
    background: #2c3643;
    border-color: #4b5563;
    color: #fff;
}

body.dark-theme .cmv-page .box-footer .btn-primary {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

body.dark-theme .cmv-page .cmv-toolbar .input-group-addon {
    background: #242f3a;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .cmv-page .cmv-toolbar .form-control {
    background: #1e2630;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .cmv-page #cmv_table {
    color: #e4e8ec;
}

body.dark-theme .cmv-page #cmv_table thead th {
    background: #151b22;
    border-color: #2c3643;
    color: #cbd5e1;
}

body.dark-theme .cmv-page #cmv_table tbody td {
    background: #1e2630;
    border-color: #2c3643;
    color: #e4e8ec;
}

body.dark-theme .cmv-page #cmv_table tbody tr:nth-of-type(odd) td {
    background: #242f3a;
}

body.dark-theme .cmv-page #cmv_table tbody tr:hover td {
    background: #2c3643;
}

body.dark-theme .cmv-page #cmv_table .input_number {
    background: #151b22;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .cmv-page #cmv_table .cmv-product-sku-link:hover {
    color: #60a5fa;
}

body.dark-theme .cmv-page .text-muted {
    color: #94a3b8;
}

body.dark-theme .product-edit-page {
    color: #e4e8ec;
}

body.dark-theme .product-edit-page .tab-content,
body.dark-theme .product-edit-page .tab-pane {
    color: #e4e8ec;
}

body.dark-theme .product-edit-page .variation-price-grid--edit {
    background: #1e2630 !important;
    border-color: #2c3643 !important;
    color: #e4e8ec;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

body.dark-theme .product-edit-page .variation-price-grid__variation-header {
    background: #151b22 !important;
    border-color: #2c3643 !important;
    color: #e4e8ec !important;
}

body.dark-theme .product-edit-page .variation-price-grid__variation-header .label-primary {
    background: #2563eb;
}

body.dark-theme .product-edit-page .variation-price-grid__note--cost {
    background: #151b22 !important;
    border-left-color: #3b82f6 !important;
    color: #cbd5e1 !important;
}

body.dark-theme .product-edit-page .variation-price-grid__note--base-price {
    background: #151b22 !important;
    border-left-color: #f59e0b !important;
    color: #e4e8ec !important;
}

body.dark-theme .product-edit-page .variation-price-grid .table-responsive > .table,
body.dark-theme .product-edit-page .variation-price-grid table.table {
    color: #e4e8ec;
}

body.dark-theme .product-edit-page .variation-price-grid table thead th {
    background: #151b22;
    border-color: #2c3643;
    color: #cbd5e1;
}

body.dark-theme .product-edit-page .variation-price-grid table tbody td {
    background: #1e2630;
    border-color: #2c3643;
    color: #e4e8ec;
}

body.dark-theme .product-edit-page .variation-price-grid table tbody tr:nth-of-type(odd) td {
    background: #242f3a;
}

body.dark-theme .product-edit-page .variation-price-grid table tbody tr:hover td {
    background: #2c3643;
}

body.dark-theme .product-edit-page .variation-price-grid .input-group-addon {
    background: #242f3a;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .product-edit-page .variation-price-grid .form-control {
    background: #1e2630 !important;
    border-color: #3b4754;
    color: #e4e8ec !important;
}

body.dark-theme .product-edit-page .box .box-body.table-responsive.no-padding {
    background: #1e2630;
}

body.dark-theme .dropdown-menu {
    background-color: #1e2630;
    border-color: #3b4754;
}
body.dark-theme .dropdown-menu > li > a {
    color: #e4e8ec;
}
body.dark-theme .dropdown-menu > li > a:hover {
    background-color: #2c3643;
    color: #fff;
}
body.dark-theme .panel {
    background-color: #1e2630;
}
body.dark-theme .panel-default > .panel-heading {
    background-color: #242f3a;
    border-color: #3b4754;
    color: #e4e8ec;
}
body.dark-theme .list-group-item {
    background-color: #1e2630;
    border-color: #3b4754;
}
body.dark-theme .well {
    background-color: #242f3a;
    border-color: #3b4754;
}
body.dark-theme .pagination > li > a, 
body.dark-theme .pagination > li > span {
    background-color: #1e2630;
    border-color: #3b4754;
    color: #e4e8ec;
}
body.dark-theme .pagination > .disabled > span, 
body.dark-theme .pagination > .disabled > span:hover, 
body.dark-theme .pagination > .disabled > span:focus, 
body.dark-theme .pagination > .disabled > a, 
body.dark-theme .pagination > .disabled > a:hover, 
body.dark-theme .pagination > .disabled > a:focus {
    background-color: #151b22;
    border-color: #3b4754;
    color: #7b8a99;
}
body.dark-theme .dataTables_wrapper .dataTables_length, 
body.dark-theme .dataTables_wrapper .dataTables_filter, 
body.dark-theme .dataTables_wrapper .dataTables_info, 
body.dark-theme .dataTables_wrapper .dataTables_processing, 
body.dark-theme .dataTables_wrapper .dataTables_paginate {
    color: #e4e8ec;
}
body.dark-theme table.dataTable.display tbody tr.odd > .sorting_1, 
body.dark-theme table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
    background-color: #2c3643;
}
body.dark-theme table.dataTable.display tbody tr.even > .sorting_1, 
body.dark-theme table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
    background-color: #242f3a;
}
body.dark-theme .text-muted {
    color: #a0acb8;
}
body.dark-theme hr {
    border-top-color: #2c3643;
}
body.dark-theme h1, body.dark-theme h2, body.dark-theme h3, body.dark-theme h4, body.dark-theme h5, body.dark-theme h6 {
    color: #fff;
}
body.dark-theme label {
    color: #e4e8ec;
}
body.dark-theme .info-box {
    background: #1e2630;
}
body.dark-theme .info-box-text {
    color: #a0acb8;
}
body.dark-theme .info-box-number {
    color: #fff;
}
body.dark-theme .bg-aqua, body.dark-theme .callout.callout-info, body.dark-theme .alert-info, body.dark-theme .label-info, body.dark-theme .modal-info .modal-body {
    background-color: #0097bc !important;
}
body.dark-theme .box.box-solid.box-default {
    border: 1px solid #3b4754;
}
body.dark-theme .box.box-solid.box-default > .box-header {
    background: #242f3a;
}
body.dark-theme .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #242f3a;
    border-color: #3b4754;
    color: #fff;
}
body.dark-theme .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #e4e8ec;
}
body.dark-theme .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff;
}

/* Sidebar Flyout Menu */
body.dark-theme {
    --sidebar-flyout-bg: #1e2630;
    --sidebar-flyout-seam: rgba(255, 255, 255, 0.12);
}
body.dark-theme .sidebar-flyout__header {
    border-bottom: 1px solid #2c3643;
}
body.dark-theme .sidebar-flyout__title {
    color: #e4e8ec;
}
body.dark-theme .sidebar-flyout__close {
    color: #a0acb8;
}
body.dark-theme .sidebar-flyout__menu > li > a {
    color: #a0acb8;
}
body.dark-theme .sidebar-flyout__menu > li > a:hover,
body.dark-theme .sidebar-flyout__menu > li.active > a {
    background: #2c3643;
    color: #fff;
}
body.dark-theme .sidebar-flyout__menu > li.header {
    color: #7b8a99;
}
body.dark-theme .sidebar-flyout__menu > li.divider {
    background: #2c3643;
}

/* Dashboard Cards (Home) */
body.dark-theme .dashboard-notes-summary {
    background: #1e2630 !important;
    border-color: #2c3643 !important;
}
body.dark-theme .dashboard-chart-state {
    background: #1e2630 !important;
    border-color: #2c3643 !important;
    color: #a0acb8;
}
body.dark-theme .dashboard-notes-summary__table > thead > tr > th {
    background: #242f3a !important;
    border-bottom: 1px solid #2c3643 !important;
    color: #a0acb8 !important;
}
body.dark-theme .dashboard-notes-summary__table > tbody > tr > td {
    border-color: #2c3643 !important;
    color: #e4e8ec !important;
}
body.dark-theme .dashboard-notes-summary__period-value {
    color: #e4e8ec !important;
}
body.dark-theme .dashboard-notes-summary__table td:last-child {
    color: #e4e8ec !important;
}

/* Datatables export buttons */
body.dark-theme .dt-buttons .btn {
    background-color: #1e2630 !important;
    border-color: #3b4754 !important;
    color: #e4e8ec !important;
    background-image: none !important;
}
body.dark-theme .dt-buttons .btn:hover {
    background-color: #2c3643 !important;
    color: #fff !important;
}

/* Pills and tabs */
body.dark-theme .nav-pills > li > a {
    color: #a0acb8;
}
body.dark-theme .nav-pills > li.active > a, 
body.dark-theme .nav-pills > li.active > a:focus, 
body.dark-theme .nav-pills > li.active > a:hover {
    background-color: #2c3643;
    color: #fff;
}

/* Specific pill backgrounds on dashboard */
body.dark-theme .dashboard-notes-summary__row--authorized .dashboard-notes-summary__status,
body.dark-theme .dashboard-notes-summary__row--authorized .dashboard-notes-summary__value {
    background: #1a382a !important;
    color: #4cd496 !important;
}
body.dark-theme .dashboard-notes-summary__row--rejected .dashboard-notes-summary__status,
body.dark-theme .dashboard-notes-summary__row--rejected .dashboard-notes-summary__value {
    background: #421a1a !important;
    color: #ff6b6b !important;
    box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.2) !important;
}
body.dark-theme .dashboard-notes-summary__row--pending .dashboard-notes-summary__status,
body.dark-theme .dashboard-notes-summary__row--pending .dashboard-notes-summary__value {
    background: #3d2b0e !important;
    color: #f3a83b !important;
    box-shadow: inset 0 0 0 1px rgba(243, 168, 59, 0.2) !important;
}
body.dark-theme .dashboard-notes-summary__row--canceled .dashboard-notes-summary__status,
body.dark-theme .dashboard-notes-summary__row--canceled .dashboard-notes-summary__value {
    background: #2a3744 !important;
    color: #a0acb8 !important;
}
body.dark-theme .dashboard-notes-summary__row--total {
    background: #242f3a !important;
}
body.dark-theme .dashboard-notes-summary__row--total .dashboard-notes-summary__status,
body.dark-theme .dashboard-notes-summary__row--total .dashboard-notes-summary__value {
    background: #2c3643 !important;
    color: #e4e8ec !important;
}

/* Home tabs wrapper */
body.dark-theme .dashboard-main-tabs {
    background: #121820 !important;
}

body.dark-theme .nav-tabs-custom > .nav-tabs > li > a {
    color: #a0acb8;
}

/* Navbar Standard (Sub-menus like Cadastros) */
body.dark-theme .navbar-standard-shell .navbar-standard {
    background: #1e2630 !important;
    border-color: #2c3643 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2) !important;
}

body.dark-theme .navbar-standard-shell .navbar-brand {
    color: #e4e8ec !important;
}

body.dark-theme .navbar-standard-shell .navbar-brand i {
    background: #2c3643 !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2) !important;
}

body.dark-theme .navbar-standard-shell .nav.navbar-nav > li > a {
    color: #a0acb8 !important;
}

body.dark-theme .navbar-standard-shell .nav.navbar-nav > li > a:hover,
body.dark-theme .navbar-standard-shell .nav.navbar-nav > li > a:focus,
body.dark-theme .navbar-standard-shell .nav.navbar-nav > li.open > a,
body.dark-theme .navbar-standard-shell .nav.navbar-nav > li.open > a:hover,
body.dark-theme .navbar-standard-shell .nav.navbar-nav > li.open > a:focus {
    background: #242f3a !important;
    color: #fff !important;
}

body.dark-theme .navbar-standard-shell .nav.navbar-nav > li.active > a,
body.dark-theme .navbar-standard-shell .nav.navbar-nav > li.active > a:hover,
body.dark-theme .navbar-standard-shell .nav.navbar-nav > li.active > a:focus,
body.dark-theme .navbar-standard-shell .nav.navbar-nav > li.active.open > a,
body.dark-theme .navbar-standard-shell .nav.navbar-nav > li.active.open > a:hover,
body.dark-theme .navbar-standard-shell .nav.navbar-nav > li.active.open > a:focus {
    background: #2c3643 !important;
    color: #fff !important;
    box-shadow: none !important;
}

body.dark-theme .navbar-standard-shell .dropdown-menu {
    background: #1e2630 !important;
    border-color: #3b4754 !important;
}

body.dark-theme .navbar-standard-shell .dropdown-menu > li > a {
    color: #a0acb8 !important;
}

body.dark-theme .navbar-standard-shell .dropdown-menu > li > a:hover,
body.dark-theme .navbar-standard-shell .dropdown-menu > li > a:focus {
    background: #2c3643 !important;
    color: #fff !important;
}

body.dark-theme .navbar-standard-shell .dropdown-menu > li.active > a,
body.dark-theme .navbar-standard-shell .dropdown-menu > li.active > a:hover,
body.dark-theme .navbar-standard-shell .dropdown-menu > li.active > a:focus {
    background: #3b4754 !important;
    color: #fff !important;
}

body.dark-theme .navbar-standard-shell .navbar-toggle {
    border-color: #3b4754 !important;
}
body.dark-theme .navbar-standard-shell .navbar-toggle .icon-bar {
    background-color: #a0acb8 !important;
}
body.dark-theme .navbar-standard-shell .navbar-toggle:hover,
body.dark-theme .navbar-standard-shell .navbar-toggle:focus {
    background: #242f3a !important;
}

/* Table overrides */
body.dark-theme .table > thead > tr > th {
    background-color: #1e2630 !important;
    border-bottom-color: #2c3643 !important;
    color: #e4e8ec !important;
}

body.dark-theme .table-bordered,
body.dark-theme .table-bordered > thead > tr > th,
body.dark-theme .table-bordered > tbody > tr > th,
body.dark-theme .table-bordered > tfoot > tr > th,
body.dark-theme .table-bordered > thead > tr > td,
body.dark-theme .table-bordered > tbody > tr > td,
body.dark-theme .table-bordered > tfoot > tr > td {
    border-color: #2c3643 !important;
}

/* Highcharts in Dark Mode */
body.dark-theme .highcharts-background {
    fill: #1e2630 !important;
}
body.dark-theme .highcharts-text,
body.dark-theme .highcharts-axis-labels text {
    fill: #a0acb8 !important;
}
body.dark-theme .highcharts-legend-item text {
    fill: #e4e8ec !important;
}
body.dark-theme .highcharts-title {
    fill: #fff !important;
}
body.dark-theme .highcharts-subtitle {
    fill: #a0acb8 !important;
}
body.dark-theme .highcharts-tooltip-box {
    fill: #2c3643 !important;
    stroke: #3b4754 !important;
    stroke-width: 1px !important;
}
body.dark-theme .highcharts-tooltip text {
    fill: #e4e8ec !important;
}
body.dark-theme .highcharts-grid-line,
body.dark-theme .highcharts-xaxis-grid .highcharts-grid-line,
body.dark-theme .highcharts-yaxis-grid .highcharts-grid-line {
    stroke: #2c3643 !important;
}
body.dark-theme .highcharts-axis-line {
    stroke: #3b4754 !important;
}
body.dark-theme .highcharts-data-label text,
body.dark-theme .highcharts-data-label tspan {
    fill: #e4e8ec !important;
    text-shadow: 0 0 3px #1e2630, 0 0 3px #1e2630 !important;
}
body.dark-theme .highcharts-legend-box {
    fill: transparent !important;
    stroke: transparent !important;
}
body.dark-theme .highcharts-button-box {
    fill: transparent !important;
}
body.dark-theme .highcharts-button text {
    fill: #a0acb8 !important;
}
body.dark-theme .highcharts-button:hover .highcharts-button-box {
    fill: #2c3643 !important;
}
body.dark-theme .highcharts-button:hover text {
    fill: #fff !important;
}
body.dark-theme .highcharts-no-data text {
    fill: #a0acb8 !important;
}

/* Business Settings Layout */
body.dark-theme .settings-nav-shell {
    background: #1e2630 !important;
    border-color: #2c3643 !important;
}

body.dark-theme .settings-nav-copy h2 {
    color: #ffffff !important;
}

body.dark-theme .settings-nav-copy p,
body.dark-theme .settings-nav-hint {
    color: #a0acb8 !important;
}

body.dark-theme .settings-nav-kicker,
body.dark-theme .settings-nav-count {
    background: #242f3a !important;
    color: #e4e8ec !important;
}

body.dark-theme .settings-search-label {
    color: #e4e8ec !important;
}

body.dark-theme .settings-search-field .select2-container .select2-selection--single {
    background: #242f3a !important;
    border-color: #3b4754 !important;
}

body.dark-theme .settings-search-field .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #e4e8ec !important;
}

body.dark-theme .settings-tab-chip {
    background: #242f3a !important;
    border-color: #3b4754 !important;
}

body.dark-theme .settings-tab-chip:hover,
body.dark-theme .settings-tab-chip:focus {
    background: #2c3643 !important;
    border-color: #4a5c6d !important;
}

body.dark-theme .settings-tab-chip.active {
    background: linear-gradient(180deg, #345c84 0%, #274866 100%) !important;
    border-color: #345c84 !important;
}

body.dark-theme .settings-tab-chip-icon {
    background: #1e2630 !important;
    color: #e4e8ec !important;
}

body.dark-theme .settings-tab-chip.active .settings-tab-chip-icon {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
}

body.dark-theme .settings-tab-chip-label {
    color: #ffffff !important;
}

body.dark-theme .settings-tab-chip-desc {
    color: #a0acb8 !important;
}

body.dark-theme .pos-tab-content {
    background-color: #1e2630 !important;
}

body.dark-theme .pos-tab-container .pos-tab {
    background-color: #1e2630 !important;
    color: #e4e8ec !important;
}

body.dark-theme #settings-tab-header.callout.callout-info {
    background-color: #242f3a !important;
    border-color: #3b4754 !important;
    color: #e4e8ec !important;
}

body.dark-theme .pos-tab-content .settings-section-h {
    color: #ffffff !important;
}

body.dark-theme .section-divider {
    border-top-color: #2c3643 !important;
}

/* Food Calendar Screen Dark Mode - Refined */
body.dark-theme .food-calendar-screen {
    color: #e4e8ec !important;
}

/* Glassmorphism for Modals */
body.dark-theme .modal-content {
    background-color: rgba(30, 38, 48, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

body.dark-theme .breadcrumb-panel {
    --breadcrumb-panel-bg: #1e2630;
    --breadcrumb-panel-border: #2c3643;
    --breadcrumb-panel-path: #a0acb8;
    --breadcrumb-panel-title: #ffffff;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 18px 20px 12px !important;
}
body.dark-theme .breadcrumb-panel .breadcrumb-path,
body.dark-theme .breadcrumb-panel .breadcrumb-path a,
body.dark-theme .breadcrumb-panel .breadcrumb-path span,
body.dark-theme .breadcrumb-panel .breadcrumb-path i {
    color: var(--breadcrumb-panel-path) !important;
}
body.dark-theme .breadcrumb-panel .breadcrumb-path a:hover,
body.dark-theme .breadcrumb-panel .breadcrumb-path a:focus {
    color: #d7e2ee !important;
}
body.dark-theme .breadcrumb-product-name {
    color: var(--breadcrumb-panel-title) !important;
    letter-spacing: -0.02em !important;
}

body.dark-theme .content-header > .breadcrumb {
    background: transparent !important;
    color: #a0acb8 !important;
}

body.dark-theme .content-header > .breadcrumb > li > a {
    color: #d7e2ee !important;
}

body.dark-theme .content-header > .breadcrumb > li + li:before {
    color: #7b8a99 !important;
}

body.dark-theme .content-header > .breadcrumb > .active {
    color: #e4e8ec !important;
}

body.dark-theme .food-calendar-global-filters {
    background-color: #151b22 !important;
    border-color: #2c3643 !important;
    padding: 8px 16px !important;
    margin-bottom: 20px !important;
}

body.dark-theme .food-calendar-kpi,
body.dark-theme .food-calendar-status-card,
body.dark-theme .food-calendar-panel,
body.dark-theme .food-calendar-products-panel,
body.dark-theme .food-calendar-day-sale,
body.dark-theme .food-calendar-day-modal-summary {
    background-color: #1e2630 !important;
    border-color: #2c3643 !important;
    color: #e4e8ec !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.dark-theme .food-calendar-kpi:hover,
body.dark-theme .food-calendar-status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4) !important;
}

body.dark-theme .food-calendar-detail-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

body.dark-theme .food-calendar-global-filters__title,
body.dark-theme .food-calendar-kpi__value,
body.dark-theme .food-calendar-panel__title,
body.dark-theme .food-calendar-status-card__value,
body.dark-theme .food-calendar-day-sale__title,
body.dark-theme .food-calendar-day-sale__amount,
body.dark-theme .food-calendar-day-modal-summary strong,
body.dark-theme .food-calendar-detail-item strong,
body.dark-theme .food-calendar-products-panel__header strong {
    color: #ffffff !important;
}

/* Status Card Colors (Softened for Dark Mode) */
body.dark-theme .food-calendar-status-card.is-amber { border-left-color: #d97706 !important; }
body.dark-theme .food-calendar-status-card.is-blue { border-left-color: #2563eb !important; }
body.dark-theme .food-calendar-status-card.is-violet { border-left-color: #7c3aed !important; }
body.dark-theme .food-calendar-status-card.is-green { border-left-color: #059669 !important; }
body.dark-theme .food-calendar-status-card.is-red { border-left-color: #dc2626 !important; }

body.dark-theme .food-calendar-global-filters__title i,
body.dark-theme .food-calendar-kpi__icon {
    background: rgba(76, 212, 150, 0.1) !important;
    color: #4cd496 !important;
}

body.dark-theme .food-calendar-tabs {
    background: #151b22 !important;
    border-color: #2c3643 !important;
}

body.dark-theme .food-calendar-tab-btn {
    color: #a0acb8 !important;
}

body.dark-theme .food-calendar-tab-btn.active {
    background: #345c84 !important;
    color: #ffffff !important;
}

/* FullCalendar Premium Dark Look - Minimalist Grid */
body.dark-theme #scheduled_sales_calendar .fc-toolbar h2 {
    color: #ffffff !important;
    font-weight: 600 !important;
}

body.dark-theme #scheduled_sales_calendar .fc-button {
    background-color: #1e2630 !important;
    border-color: #3b4754 !important;
    color: #e4e8ec !important;
}

body.dark-theme #scheduled_sales_calendar .fc-view-container td,
body.dark-theme #scheduled_sales_calendar .fc-view-container th {
    border-left: none !important;
    border-right: none !important;
}

body.dark-theme #scheduled_sales_calendar .fc-head th {
    background: #151b22 !important;
    color: #7b8a99 !important;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
    padding: 12px 0 !important;
    border-bottom: 2px solid #2c3643 !important;
}

body.dark-theme #scheduled_sales_calendar td.fc-widget-content {
    border-bottom: 1px solid #2c3643 !important;
}

body.dark-theme #scheduled_sales_calendar .fc-day-number {
    color: #e4e8ec !important;
    padding: 10px !important;
    font-weight: 600 !important;
}

body.dark-theme #scheduled_sales_calendar .fc-other-month {
    background: rgba(0, 0, 0, 0.1) !important;
}

/* Day Summary Cards Enhancement */
body.dark-theme .food-calendar-day-summary {
    background: linear-gradient(145deg, #242f3a 0%, #1e2630 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-left-width: 4px !important;
    color: #ffffff !important;
}

body.dark-theme .food-calendar-day-summary__capacity {
    background: rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #a0acb8 !important;
}

body.dark-theme .food-calendar-badge {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #a0acb8 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Dynamic Tints for Day Cards */
body.dark-theme .food-calendar-day-summary.is-blue { --summary-tint: rgba(37, 99, 235, 0.15); }
body.dark-theme .food-calendar-day-summary.is-amber { --summary-tint: rgba(217, 119, 6, 0.15); }
body.dark-theme .food-calendar-day-summary.is-violet { --summary-tint: rgba(124, 58, 237, 0.15); }
body.dark-theme .food-calendar-day-summary.is-green { --summary-tint: rgba(5, 150, 105, 0.15); }
body.dark-theme .food-calendar-day-summary.is-red { --summary-tint: rgba(220, 38, 38, 0.15); }
