/**
 * Dark mode overrides for MOMCS plugin admin UI.
 *
 * Scoped to body.momcs-dark-mode. Overrides design tokens used by modern
 * CSS files and hardcoded colors in admin.css and related styles.
 *
 * Source files / areas overridden by this file (for maintainers):
 * - admin.css, admin-style.css (layout, nav, cards, buttons)
 * - custom.css (body, titles, accents)
 * - amazon-template-mapping.css (template mapping containers, fields)
 * - attribute-mapping.css (mapping accordions, headers)
 * - marketplace-tabs.css (Edit Supplier tab bar)
 * - amazon-product-sync.css (sync-from-Amazon progress UI — momcs-psp-* card design)
 * - asin-sync.css (ASIN sync progress, channel blocks)
 * - sync-queue.css (status/product chips, sub-tabs, shimmer, pagination)
 * - product-sync.css (slider, sections, form controls)
 * - scheduled-sync.css (schedule cards, toggles, Tom Select)
 * - amazon-sync-settings.css (FBA/FBM cards, price markup, layout sidebar)
 * - amazon-authorization.css (auth container)
 * - amazon-shipment-sync.css, amazon-fulfillment-status.css (order edit metaboxes)
 * - license-views-style.css (mo-lic-* widgets when on momcs-sync pages)
 *
 * Enqueue: this file is printed in admin_footer (after page-rendered styles) so
 * overrides win the cascade. See momcs_sync_enqueue_dark_mode_in_admin_footer().
 *
 * @package    MOMCS_Sync
 * @subpackage MOMCS_Sync/assets/css
 * @author     miniOrange
 */

/* ==========================================================================
   Design token overrides (used by product-list-modern, sync-queue-modern,
   order-list-modern, account-modern)
   ========================================================================== */

body.momcs-dark-mode {
	color-scheme: dark;

	/* Colors - Primary */
	--momcs-bg-primary: #1e293b;
	--momcs-bg-secondary: #334155;
	--momcs-bg-tertiary: #475569;
	--momcs-bg-hover: #3b4a61;

	/* Colors - Borders */
	--momcs-border-color: #475569;
	--momcs-border-color-light: #475569;
	--momcs-border-color-dark: #64748b;

	/* Colors - Text */
	--momcs-text-primary: #f1f5f9;
	--momcs-text-secondary: #cbd5e1;
	--momcs-text-muted: #94a3b8;
	--momcs-text-white: #ffffff;

	/* Colors - Accent (slightly adjusted for dark bg) */
	--momcs-accent-blue: #60a5fa;
	--momcs-accent-blue-hover: #93c5fd;
	--momcs-accent-blue-light: #1e3a5f;
	--momcs-accent-green: #34d399;
	--momcs-accent-green-light: #064e3b;
	--momcs-accent-orange: #fb923c;
	--momcs-accent-orange-light: #431407;
	--momcs-accent-red: #f87171;
	--momcs-accent-red-light: #450a0a;
	--momcs-accent-purple: #a78bfa;
	--momcs-accent-purple-light: #3b0764;

	/* Shadows (subtle on dark) */
	--momcs-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
	--momcs-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
	--momcs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
	--momcs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.35);
	--momcs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

/* Schedule tokens (scheduled-sync.css) */
body.momcs-dark-mode {
	--momcs-schedule-primary: #fb923c;
	--momcs-schedule-muted: #94a3b8;
	--momcs-schedule-accent: #fb923c;
	--momcs-schedule-card-bg: #1e293b;
	--momcs-schedule-card-radius: 10px;
	--momcs-schedule-card-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
	--momcs-schedule-toggle-off: #475569;
}

/* Scheduling area – force schedule cards and container dark (override any #fff) */
body.momcs-dark-mode .momcs-schedule-card {
	background: #1e293b !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
}

body.momcs-dark-mode .momcs-schedule-card-summary,
body.momcs-dark-mode .momcs-schedule-card-summary-left {
	background: transparent;
}

body.momcs-dark-mode #schedule_sync_settings.momcs-sync-settings-panel {
	background: #1e293b !important;
}

body.momcs-dark-mode .momcs-scheduled-sync-container {
	background: #1e293b !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Tom Select inside schedule/plugin (scheduled-sync.css uses #fff !important) */
body.momcs-dark-mode .ts-wrapper .ts-control {
	background: #334155 !important;
	border-color: #475569 !important;
	color: #f1f5f9 !important;
}

body.momcs-dark-mode .ts-wrapper .ts-control input {
	color: #f1f5f9 !important;
}

body.momcs-dark-mode .ts-wrapper .ts-control input::placeholder {
	color: #94a3b8 !important;
}

body.momcs-dark-mode .ts-dropdown {
	background: #1e293b !important;
	border-color: #475569 !important;
}

body.momcs-dark-mode .ts-wrapper.disabled .ts-control {
	background-color: #1e293b !important;
	border-color: #475569 !important;
	color: #94a3b8 !important;
}

/* Amazon logo in scheduling settings direction (WooCommerce → Amazon) – white in dark mode */
body.momcs-dark-mode .momcs-schedule-card-logo--amazon {
	filter: brightness(0) invert(1);
}

/* ==========================================================================
   Sync settings: FBA/FBM account type, price markup, Tom Select (markup wrappers)
   ========================================================================== */

body.momcs-dark-mode .momcs-account-type-option .momcs-radio-label.momcs-account-type-card {
	background: #1e293b !important;
	border-color: #475569 !important;
	box-shadow: none;
}

body.momcs-dark-mode .momcs-account-type-option .momcs-radio-label.momcs-account-type-card:hover {
	border-color: #fb923c !important;
	background: #2d1a0e !important;
}

body.momcs-dark-mode .momcs-account-type-option .momcs-radio-label.momcs-account-type-card:has(input[type="radio"]:checked) {
	border-color: #ea580c !important;
	background: #431407 !important;
	box-shadow: 0 0 0 1px #ea580c;
}

body.momcs-dark-mode .momcs-account-type-fieldset .momcs-radio-text {
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-account-type-option .momcs-radio-label:has(input[type="radio"]:checked) .momcs-radio-text {
	color: #fdba74;
}

body.momcs-dark-mode .momcs-account-type-fieldset .momcs-account-type-desc {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-account-type-option .momcs-radio-label:has(input[type="radio"]:checked) .momcs-account-type-desc {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-account-type-fieldset .momcs-radio-indicator {
	border-color: #64748b;
	background: #334155;
}

body.momcs-dark-mode .momcs-account-type-option .momcs-radio-label:has(input[type="radio"]:checked) .momcs-radio-indicator {
	border-color: #ea580c;
	background: #ea580c;
	box-shadow: inset 0 0 0 3px #1e293b;
}

body.momcs-dark-mode .momcs-account-type-shimmer-bar {
	background: #334155 !important;
	border-color: #475569 !important;
}

body.momcs-dark-mode .momcs-account-type-shimmer-bar::after {
	background: linear-gradient(
		90deg,
		rgba(30, 41, 59, 0) 0,
		rgba(71, 85, 105, 0.5) 40%,
		rgba(255, 255, 255, 0.08) 60%,
		rgba(30, 41, 59, 0)
	);
}

body.momcs-dark-mode .momcs-price-markup-header h3,
body.momcs-dark-mode .momcs-section-header h3 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-price-markup-header-icon,
body.momcs-dark-mode .momcs-section-header-icon {
	background: linear-gradient(135deg, #431407 0%, #7c2d12 100%) !important;
	color: #fb923c;
}

body.momcs-dark-mode .momcs-price-markup-label {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-price-markup-select,
body.momcs-dark-mode .momcs-price-markup-input {
	background-color: #334155 !important;
	border-color: #475569 !important;
	color: #f1f5f9 !important;
}

body.momcs-dark-mode .momcs-price-markup-select:focus,
body.momcs-dark-mode .momcs-price-markup-input:focus {
	border-color: #fb923c !important;
	box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.2) !important;
}

body.momcs-dark-mode .momcs-price-markup-field .momcs-field-shimmer.shimmer-select,
body.momcs-dark-mode .momcs-price-markup-field .momcs-field-shimmer.shimmer-input {
	background: #334155 !important;
}

body.momcs-dark-mode #momcs-markup-operator-wrapper .ts-wrapper .ts-control,
body.momcs-dark-mode #momcs-markup-percentage-wrapper .ts-wrapper .ts-control,
body.momcs-dark-mode #momcs-markup-operator-wrapper .ts-wrapper.disabled .ts-control,
body.momcs-dark-mode #momcs-markup-percentage-wrapper .ts-wrapper.disabled .ts-control {
	background: #334155 !important;
	border-color: #475569 !important;
	color: #f1f5f9 !important;
}

body.momcs-dark-mode #momcs-markup-operator-wrapper .ts-wrapper .ts-control input,
body.momcs-dark-mode #momcs-markup-percentage-wrapper .ts-wrapper .ts-control input {
	color: #f1f5f9 !important;
}

body.momcs-dark-mode #momcs-markup-operator-wrapper .ts-dropdown,
body.momcs-dark-mode #momcs-markup-percentage-wrapper .ts-dropdown {
	background: #1e293b !important;
	border-color: #475569 !important;
}

/* ==========================================================================
   Page wrapper - remove outer grey border / light frame (full plugin coverage)
   Left side and bottom grey: style entire WP admin content column.
   ========================================================================== */

body.momcs-dark-mode #wpcontent {
	background-color: #0f172a;
}

body.momcs-dark-mode #wpbody-content {
	background-color: #0f172a;
}

body.momcs-dark-mode #wpfooter {
	background-color: #0f172a;
	color: #94a3b8;
}

body.momcs-dark-mode #wpfooter a {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-sync-wrap,
body.momcs-dark-mode .momcs-sync-content {
	background-color: #0f172a;
	color: #e2e8f0;
}

/* ==========================================================================
   Admin layout and navbar (admin.css hardcoded overrides)
   ========================================================================== */

body.momcs-dark-mode .momcs-sync-header {
	background-color: #1e293b;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.momcs-dark-mode .momcs-sync-header h1 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-sync-nav {
	background-color: #1e293b;
	border: 1px solid #334155;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.momcs-dark-mode .momcs-sync-nav-tabs {
	border-bottom-color: #475569;
}

body.momcs-dark-mode .momcs-sync-nav-tab {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-sync-nav-tab:hover {
	color: #93c5fd;
	border-bottom-color: #64748b;
}

body.momcs-dark-mode .momcs-sync-nav-tab.active {
	color: #fb923c;
	border-bottom-color: #fb923c;
}

body.momcs-dark-mode .momcs-sync-cards {
	/* grid unchanged */
}

body.momcs-dark-mode .momcs-sync-card {
	background-color: #1e293b;
	border: 1px solid #334155;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-sync-card h3 {
	color: #f1f5f9;
	border-bottom-color: #475569;
}

body.momcs-dark-mode .momcs-unified-navbar {
	background: #1e293b;
	border-color: #334155;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.momcs-dark-mode .momcs-brand-name {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-product-name {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-navbar-item {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-navbar-item:hover {
	color: #f1f5f9;
	background: #334155;
}

body.momcs-dark-mode .momcs-navbar-item.active {
	color: #fb923c;
	background: #431407;
}

/* Dark mode toggle switch and icons in dark theme */
body.momcs-dark-mode .momcs-dark-mode-toggle-slider {
	background-color: #475569;
}

body.momcs-dark-mode .momcs-dark-mode-toggle-input:checked ~ .momcs-dark-mode-toggle-slider {
	background-color: #60a5fa;
}

body.momcs-dark-mode .momcs-dark-mode-toggle-slider::before {
	background-color: #e2e8f0;
}

body.momcs-dark-mode .momcs-dark-mode-toggle-icon {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-dark-mode-toggle-input:checked ~ .momcs-dark-mode-toggle-icon-moon {
	color: #93c5fd;
}

body.momcs-dark-mode .momcs-dark-mode-toggle:hover .momcs-dark-mode-toggle-icon-sun {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-dark-mode-toggle:hover .momcs-dark-mode-toggle-input:checked ~ .momcs-dark-mode-toggle-icon-moon {
	color: #bfdbfe;
}

/* ==========================================================================
   Marketplace stepper, connect button, cards (admin.css)
   ========================================================================== */

body.momcs-dark-mode .momcs-marketplace-stepper-container {
	background-color: #1e293b;
	border-color: #334155;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-stepper-content-step.active {
	background: #1e293b !important;
	border: 1px solid #334155;
	color: #e2e8f0;
}

/* stepper.css – inactive circles, connectors, labels (avoid grey-on-grey / white panels) */
body.momcs-dark-mode .momcs-stepper-circle {
	background-color: #475569;
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-stepper-line {
	background-color: #475569;
}

body.momcs-dark-mode .momcs-stepper-label {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-sync-marketplace-list li,
body.momcs-dark-mode .momcs-sync-card-content {
	color: #cbd5e1;
}

/* Marketplace listing cards (Dashboard - white cards with grey borders) */
body.momcs-dark-mode .momcs-marketplace-horizontal-card {
	background: #1e293b;
	border-color: #334155;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.momcs-dark-mode .momcs-marketplace-horizontal-card:hover {
	border-color: #475569;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

body.momcs-dark-mode .momcs-marketplace-horizontal-card .momcs-marketplace-content h3 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-marketplace-horizontal-card .momcs-marketplace-content p {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-marketplace-card {
	background: #1e293b;
	border-color: #334155;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.momcs-dark-mode .momcs-marketplace-card:hover {
	border-color: #475569;
}

body.momcs-dark-mode .momcs-marketplace-card h3 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-marketplace-card p {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-marketplace-item {
	background: #1e293b;
	border-color: #334155;
}

body.momcs-dark-mode .momcs-marketplace-item:hover {
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

body.momcs-dark-mode .momcs-marketplace-details h4 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-marketplace-region {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-status-connected {
	background-color: #064e3b;
	color: #6ee7b7;
}

body.momcs-dark-mode .momcs-connect-btn {
	background: #334155;
	border-color: #475569;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-connect-btn:hover {
	background: #475569;
	border-color: #64748b;
	color: #f1f5f9;
}

/* Tables and form controls */
body.momcs-dark-mode .momcs-sync-wrap table,
body.momcs-dark-mode .momcs-sync-wrap .widefat {
	background-color: #1e293b;
	border-color: #334155;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-sync-wrap table th,
body.momcs-dark-mode .momcs-sync-wrap table td,
body.momcs-dark-mode .momcs-sync-wrap .widefat th,
body.momcs-dark-mode .momcs-sync-wrap .widefat td {
	border-color: #334155;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-sync-wrap input[type="text"],
body.momcs-dark-mode .momcs-sync-wrap input[type="number"],
body.momcs-dark-mode .momcs-sync-wrap input[type="email"],
body.momcs-dark-mode .momcs-sync-wrap input[type="search"],
body.momcs-dark-mode .momcs-sync-wrap select,
body.momcs-dark-mode .momcs-sync-wrap textarea {
	background-color: #334155;
	border-color: #475569;
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-sync-wrap input::placeholder,
body.momcs-dark-mode .momcs-sync-wrap textarea::placeholder {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-sync-wrap label {
	color: #cbd5e1;
}

/* Buttons - primary/secondary */
body.momcs-dark-mode .momcs-sync-wrap .button {
	background-color: #334155;
	border-color: #475569;
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-sync-wrap .button:hover,
body.momcs-dark-mode .momcs-sync-wrap .button-primary {
	background-color: #ea580c;
	border-color: #ea580c;
	color: #fff;
}

/* Inline header overrides from class-hooks (wp_add_inline_style) - we override again for dark */
body.momcs-dark-mode #wpbody-content .momcs-sync-header {
	background: #1e293b !important;
}

body.momcs-dark-mode #wpbody-content .momcs-sync-header h1 {
	color: #f1f5f9 !important;
}

/* ==========================================================================
   Sync queue, product list, order list (status chips and shared components)
   ========================================================================== */

body.momcs-dark-mode .momcs-sync-wrap .momcs-chip,
body.momcs-dark-mode .momcs-sync-wrap [class*="momcs-status"] {
	border-color: #475569;
}

/* Tom Select (Sync Settings) - dark dropdown */
body.momcs-dark-mode .tom-select,
body.momcs-dark-mode .ts-control {
	background-color: #334155 !important;
	border-color: #475569 !important;
	color: #f1f5f9 !important;
}

body.momcs-dark-mode .tom-select .ts-dropdown,
body.momcs-dark-mode .ts-dropdown-content {
	background-color: #1e293b !important;
	border-color: #475569 !important;
}

body.momcs-dark-mode .tom-select .option {
	background-color: #1e293b;
	color: #e2e8f0;
}

body.momcs-dark-mode .tom-select .option.active {
	background-color: #334155;
}

/* Amazon sync settings, authorization, attribute mapping pages */
body.momcs-dark-mode .momcs-scheduled-sync-header,
body.momcs-dark-mode .momcs-order-scheduled-sync-header,
body.momcs-dark-mode .momcs-fba-stock-scheduled-sync-header {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-sync-settings-container {
	background-color: #1e293b !important;
	border-color: #334155;
	color: #e2e8f0;
}

/* Sync Configuration page - card, panel, "Back to General Settings" (fully dark, !important to override #fff) */
body.momcs-dark-mode .momcs-sync-settings-container h2 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-sync-settings-description,
body.momcs-dark-mode .momcs-sync-settings-description p {
	color: #cbd5e1;
}

/* Sync Settings Sidebar Layout */
body.momcs-dark-mode .momcs-sync-layout {
	background: #1e293b !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
}

body.momcs-dark-mode .momcs-sync-sidebar {
	background: #1e293b !important;
	border-color: #334155 !important;
}

body.momcs-dark-mode .momcs-sync-sidebar-link {
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-sync-sidebar-link:hover {
	background: #334155;
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-sync-sidebar-item--active > .momcs-sync-sidebar-link {
	background: #431407;
	color: #fb923c;
	border-right-color: #fb923c;
}

body.momcs-dark-mode .momcs-sync-layout > .momcs-sync-content {
	background: #1e293b !important;
	border-color: #475569;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-sync-content-panel {
	color: #e2e8f0;
}

body.momcs-dark-mode .panel-wrap.momcs-sync-settings-data {
	background: transparent;
}

body.momcs-dark-mode .momcs-sync-settings-section h3 {
	color: #f1f5f9;
	border-bottom-color: #475569;
}

body.momcs-dark-mode .momcs-sync-settings-tabs {
	background: #334155;
	border-bottom-color: #475569;
}

body.momcs-dark-mode .momcs-sync-settings-tabs li {
	border-right-color: #475569;
}

body.momcs-dark-mode .momcs-sync-settings-tabs li a {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-sync-settings-tabs li.active a,
body.momcs-dark-mode .momcs-sync-settings-tabs li a:hover {
	color: #fb923c;
	background: #334155;
	border-bottom-color: #fb923c;
}

body.momcs-dark-mode .momcs-sync-settings-container input[type="text"],
body.momcs-dark-mode .momcs-sync-settings-container input[type="number"],
body.momcs-dark-mode .momcs-sync-settings-container input[type="email"],
body.momcs-dark-mode .momcs-sync-settings-container select,
body.momcs-dark-mode .momcs-sync-settings-container textarea {
	background-color: #334155;
	border-color: #475569;
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-sync-settings-container label {
	color: #cbd5e1;
}

/* Fulfillment / shipment (order edit metabox) */
body.momcs-dark-mode .momcs-fulfillment-status-table,
body.momcs-dark-mode .momcs-shipment-sync-wrap {
	background-color: #1e293b;
	border-color: #334155;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-fulfillment-status-table th,
body.momcs-dark-mode .momcs-fulfillment-status-table td {
	border-color: #334155;
	color: #e2e8f0;
}

/* amazon-fulfillment-status.css – status pills and inline messages (avoid light yellow/red panels) */
body.momcs-dark-mode .momcs-fulfillment-status-metabox .momcs-status-not_queued {
	background: #334155;
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-fulfillment-status-metabox .momcs-status-queued {
	background: #1e3a5f;
	color: #93c5fd;
}

body.momcs-dark-mode .momcs-fulfillment-status-metabox .momcs-status-processing,
body.momcs-dark-mode .momcs-fulfillment-status-metabox .momcs-status-retrying {
	background: #422006;
	color: #fcd34d;
}

body.momcs-dark-mode .momcs-fulfillment-status-metabox .momcs-status-fulfilled {
	background: #064e3b;
	color: #6ee7b7;
}

body.momcs-dark-mode .momcs-fulfillment-status-metabox .momcs-status-failed {
	background: #450a0a;
	color: #fca5a5;
}

body.momcs-dark-mode .momcs-fulfillment-message.success {
	background: #064e3b;
	color: #6ee7b7;
}

body.momcs-dark-mode .momcs-fulfillment-message.error {
	background: #450a0a;
	color: #fca5a5;
}

/* ==========================================================================
   Logs modal (Sync Audits - "Logs for Job" modal: product tabs, log nodes, toggle)
   ========================================================================== */

body.momcs-dark-mode .momcs-sync-modal-modern,
body.momcs-dark-mode .momcs-sync-modal-overlay-modern + .momcs-sync-modal-modern {
	background: var(--momcs-bg-primary);
	border: 1px solid #334155;
}

body.momcs-dark-mode .momcs-sync-modal-content-modern {
	background: var(--momcs-bg-primary);
}

/* Audit Log Summary Bar */
body.momcs-dark-mode .momcs-audit-summary-bar {
	background: #334155;
	border-color: #475569;
}

body.momcs-dark-mode .momcs-audit-stat-value {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-audit-stat {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-audit-stat-success .momcs-audit-stat-value {
	color: #34d399;
}

body.momcs-dark-mode .momcs-audit-stat-error .momcs-audit-stat-value {
	color: #f87171;
}

body.momcs-dark-mode .momcs-audit-product-search-wrapper {
	background: #1e293b;
	border-color: #475569;
}

body.momcs-dark-mode .momcs-audit-product-search-wrapper:focus-within {
	border-color: #fb923c;
	box-shadow: 0 0 0 3px #431407;
}

body.momcs-dark-mode .momcs-audit-search-input {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-audit-search-input::placeholder {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-audit-search-icon {
	color: #64748b;
}

body.momcs-dark-mode .momcs-audit-product-dropdown {
	background: #1e293b;
	border-color: #475569;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

body.momcs-dark-mode .momcs-audit-dropdown-item {
	color: #e2e8f0;
	border-bottom-color: #334155;
}

body.momcs-dark-mode .momcs-audit-dropdown-item:hover,
body.momcs-dark-mode .momcs-audit-dropdown-item.is-focused {
	background: #334155;
}

body.momcs-dark-mode .momcs-audit-dropdown-item.active {
	background: #431407;
	color: #fb923c;
}

body.momcs-dark-mode .momcs-audit-dropdown-all {
	border-bottom-color: #475569;
}

body.momcs-dark-mode .momcs-audit-dropdown-group-header {
	background: #334155;
	color: #94a3b8;
	border-bottom-color: #475569;
}

body.momcs-dark-mode .momcs-audit-dropdown-scroll::-webkit-scrollbar-track {
	background: #1e293b;
}

body.momcs-dark-mode .momcs-audit-dropdown-scroll::-webkit-scrollbar-thumb {
	background: #475569;
	border-radius: 6px;
}

body.momcs-dark-mode .momcs-audit-active-filter {
	background: #1e3a5f;
	border-color: #60a5fa;
	color: #60a5fa;
}

body.momcs-dark-mode .momcs-audit-active-filter-clear {
	color: #60a5fa;
}

body.momcs-dark-mode .momcs-audit-mini-toggle {
	background: #475569;
}

body.momcs-dark-mode .momcs-audit-dropdown-empty {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-audit-dropdown-item-count {
	color: #64748b;
}

body.momcs-dark-mode .momcs-audit-dropdown-item-badge.success {
	background: #064e3b;
	color: #34d399;
}

body.momcs-dark-mode .momcs-audit-dropdown-item-badge.error {
	background: #450a0a;
	color: #f87171;
}

body.momcs-dark-mode .momcs-sync-timeline:before {
	background: #475569;
}

body.momcs-dark-mode .momcs-sync-node {
	background: #1e293b;
	border-color: #334155;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.momcs-dark-mode .momcs-sync-node:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body.momcs-dark-mode .momcs-sync-node .timestamp,
body.momcs-dark-mode .momcs-sync-timeline .timestamp {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-sync-node:before {
	background: #64748b;
	box-shadow: 0 0 0 6px #1e293b;
}

body.momcs-dark-mode .momcs-sync-node.momcs-sev-error:before {
	background: #f87171;
}

body.momcs-dark-mode .momcs-sync-node.momcs-sev-success:before {
	background: #34d399;
}

body.momcs-dark-mode .momcs-toggle-switch .momcs-toggle-slider {
	background: #475569;
}

body.momcs-dark-mode .momcs-toggle-switch .momcs-toggle-slider:before {
	background: #e2e8f0;
}

body.momcs-dark-mode .momcs-toggle-switch input:checked + .momcs-toggle-slider {
	background: #ea580c;
}

body.momcs-dark-mode .momcs-toggle-label {
	color: #cbd5e1;
}

/* Logs inside summary - override inline background on pre (JSON/log content) */
body.momcs-dark-mode .momcs-sync-node pre,
body.momcs-dark-mode .momcs-sync-node .momcs-sub-pre,
body.momcs-dark-mode .momcs-sync-node .momcs-sync-details pre,
body.momcs-dark-mode .momcs-sync-node code {
	background: #334155 !important;
	border-color: #475569;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-sync-node .momcs-sync-details {
	background: transparent;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-sync-node .momcs-code-url {
	background: #334155;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-sync-loading-modal-modern {
	background: var(--momcs-bg-primary);
	border: 1px solid #334155;
}

body.momcs-dark-mode .momcs-sync-loading-modal-modern .momcs-sync-loading-text {
	color: #f1f5f9 !important;
}

body.momcs-dark-mode .momcs-issue-details,
body.momcs-dark-mode .momcs-issue-details p {
	color: #cbd5e1 !important;
}

body.momcs-dark-mode .momcs-issue-details strong {
	color: #e2e8f0 !important;
}

body.momcs-dark-mode .momcs-sync-queue .momcs-issue-details strong,
body.momcs-dark-mode .sync-queue-modern .momcs-issue-details strong {
	color: #e2e8f0 !important;
}

/* Modal scrollbars (Logs modal content) */
body.momcs-dark-mode .momcs-sync-modal-content-modern::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}

body.momcs-dark-mode .momcs-sync-modal-content-modern::-webkit-scrollbar-track {
	background: #1e293b;
}

body.momcs-dark-mode .momcs-sync-modal-content-modern::-webkit-scrollbar-thumb {
	background: #475569;
	border-radius: 6px;
}

body.momcs-dark-mode .momcs-sync-modal-content-modern::-webkit-scrollbar-thumb:hover {
	background: #64748b;
}

/* ==========================================================================
   Products page: search input, items badge, "Showing X of Y" text
   ========================================================================== */

body.momcs-dark-mode .momcs-product-search-wrapper {
	background: var(--momcs-bg-primary) !important;
	border-color: var(--momcs-border-color) !important;
	box-shadow: var(--momcs-shadow-sm);
}

body.momcs-dark-mode .momcs-product-search-wrapper:focus-within {
	border-color: #64748b;
	box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.2);
}

body.momcs-dark-mode .momcs-product-search-input {
	color: var(--momcs-text-primary) !important;
	background: transparent !important;
}

body.momcs-dark-mode .momcs-product-search-input::placeholder {
	color: var(--momcs-text-muted) !important;
	opacity: 1;
}

body.momcs-dark-mode .momcs-product-search-icon {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-products-table .column-cb input[type="checkbox"] {
	accent-color: #ea580c;
	box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.35);
}

body.momcs-dark-mode .momcs-products-notice {
	background: #431407;
	border-color: #431407;
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-products-notice-icon {
	color: #fb923c;
}

/* Filters trigger button and filters modal */
body.momcs-dark-mode .momcs-filters-trigger-btn {
	background: var(--momcs-bg-primary);
	border-color: var(--momcs-border-color);
	color: var(--momcs-text-primary);
}

body.momcs-dark-mode .momcs-filters-trigger-btn:hover {
	border-color: #475569;
}

body.momcs-dark-mode .momcs-filters-trigger-icon {
	color: var(--momcs-text-secondary);
}

body.momcs-dark-mode .momcs-filters-modal-overlay.is-open {
	background: rgba(0, 0, 0, 0.6);
}

body.momcs-dark-mode .momcs-filters-modal {
	background: #1e293b;
	border-color: #334155;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

body.momcs-dark-mode .momcs-filters-modal-header {
	border-bottom-color: #334155;
}

body.momcs-dark-mode .momcs-filters-modal-title {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-filters-modal-close {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-filters-modal-close:hover {
	color: #f1f5f9;
	background: #334155;
}

body.momcs-dark-mode .momcs-filters-modal-label {
	color: var(--momcs-text-secondary);
}

body.momcs-dark-mode .momcs-filters-modal-footer {
	border-top-color: #334155;
	background: #0f172a;
}

body.momcs-dark-mode .momcs-filters-modal-clear {
	background: #1e293b;
	border-color: #334155;
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-filters-modal-clear:hover {
	color: #f1f5f9;
	border-color: #475569;
}

body.momcs-dark-mode .momcs-filters-modal-apply {
	background: var(--momcs-accent-orange);
	color: #fff;
}

body.momcs-dark-mode .momcs-filters-modal-apply:hover {
	background: #e68a00;
}

body.momcs-dark-mode .momcs-products-count,
body.momcs-dark-mode .momcs-queue-count {
	background: var(--momcs-bg-secondary);
	color: var(--momcs-text-secondary);
}

body.momcs-dark-mode .momcs-sync-showing-entries {
	color: #94a3b8 !important;
}

/* Legacy modal (sync-queue.css) */
body.momcs-dark-mode .momcs-sync-modal {
	background: #1e293b;
	border-color: #334155;
}

body.momcs-dark-mode .momcs-sync-modal-header {
	border-bottom-color: #475569;
}

body.momcs-dark-mode .momcs-sync-modal-header h2 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-sync-modal-close {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-sync-modal-close:hover {
	color: #60a5fa;
}

/* ==========================================================================
   Channel Selection Popup — dark mode overrides (modern redesign)
   ========================================================================== */

body.momcs-dark-mode .momcs-csp-modal {
	background: #1e293b;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

body.momcs-dark-mode .momcs-csp-header {
	background: #0f172a;
	border-bottom-color: #334155;
}

body.momcs-dark-mode .momcs-csp-title {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-csp-header-icon {
	background: #431407;
	color: #fb923c;
}

body.momcs-dark-mode .momcs-csp-close {
	color: #64748b;
}

body.momcs-dark-mode .momcs-csp-close:hover {
	color: #f1f5f9;
	background: #334155;
}

body.momcs-dark-mode .momcs-csp-notice {
	background: #431407;
	border-color: #7c2d12;
}

body.momcs-dark-mode .momcs-csp-notice-icon {
	color: #fb923c;
}

body.momcs-dark-mode .momcs-csp-notice-text {
	color: #fed7aa;
}

body.momcs-dark-mode .momcs-csp-channel-card {
	background: #1e293b;
	border-color: #334155;
}

body.momcs-dark-mode .momcs-csp-channel-card:hover {
	border-color: #fb923c;
	background: #2d1a0e;
}

body.momcs-dark-mode .momcs-csp-channel-card.is-selected {
	border-color: #ea580c;
	background: #431407;
	box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.25);
}

body.momcs-dark-mode .momcs-csp-channel-check {
	border-color: #475569;
	background: #334155;
}

body.momcs-dark-mode .momcs-csp-channel-card.is-selected .momcs-csp-channel-check,
body.momcs-dark-mode .momcs-csp-channel-label .momcs-csp-channel-input:checked ~ .momcs-csp-channel-check {
	border-color: #ea580c !important;
	background: #ea580c !important;
}

body.momcs-dark-mode .momcs-csp-channel-card.is-selected .momcs-csp-channel-check::after,
body.momcs-dark-mode .momcs-csp-channel-label .momcs-csp-channel-input:checked ~ .momcs-csp-channel-check::after {
	content: '' !important;
	display: block !important;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff !important;
}

body.momcs-dark-mode .momcs-csp-channel-name {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-csp-channel-region {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-csp-loading-text {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-csp-footer {
	background: #0f172a;
	border-top-color: #334155;
}

body.momcs-dark-mode .momcs-csp-btn-cancel {
	color: #fb923c;
	border-color: #fb923c;
}

body.momcs-dark-mode .momcs-csp-btn-cancel:hover {
	background: #431407;
	color: #fdba74;
	border-color: #fdba74;
}

/* ==========================================================================
   Authorization area (force dark – overrides #fff in amazon-authorization.css)
   ========================================================================== */

body.momcs-dark-mode .momcs-auth-container {
	background-color: #1e293b !important;
	border: 1px solid #334155 !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-auth-container h2 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-auth-description,
body.momcs-dark-mode .momcs-auth-description p,
body.momcs-dark-mode .momcs-auth-description-small {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-auth-label {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-auth-input {
	background-color: #334155 !important;
	border-color: #475569 !important;
	color: #f1f5f9 !important;
}

body.momcs-dark-mode .momcs-auth-input.momcs-mapping-field-error {
	background-color: #450a0a !important;
	border-color: #f87171 !important;
}

body.momcs-dark-mode .momcs-auth-next-steps {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-auth-loader-spinner {
	border-color: #475569;
	border-top-color: #60a5fa;
}

body.momcs-dark-mode .momcs-auth-success {
	background-color: #064e3b !important;
	border-left-color: #34d399;
	color: #6ee7b7;
}

/* ==========================================================================
   Scheduling area: preview, date/time fields, toggle label
   ========================================================================== */

body.momcs-dark-mode .momcs-schedule-preview,
body.momcs-dark-mode .momcs-order-schedule-preview {
	background: #334155;
	border-color: #475569;
}

body.momcs-dark-mode .momcs-schedule-preview h4,
body.momcs-dark-mode .momcs-order-schedule-preview h4 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-schedule-preview-content,
body.momcs-dark-mode .momcs-order-schedule-preview-text {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-schedule-preview-content strong {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-schedule-preview.loading {
	background: #334155;
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-schedule-preview-disabled {
	background: #450a0a;
	border-color: #f87171;
	color: #fca5a5;
}

body.momcs-dark-mode .momcs-order-schedule-info-box {
	background: #1e3a5f;
	border-left-color: #60a5fa;
}

body.momcs-dark-mode .momcs-order-schedule-info-box h4 {
	color: #93c5fd;
}

body.momcs-dark-mode .momcs-order-schedule-info-box li {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-schedule-field label,
body.momcs-dark-mode .momcs-order-schedule-field label,
body.momcs-dark-mode .momcs-fba-stock-schedule-field label,
body.momcs-dark-mode .momcs-schedule-field-shimmer label {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-schedule-field input,
body.momcs-dark-mode .momcs-schedule-field select,
body.momcs-dark-mode .momcs-order-schedule-field input,
body.momcs-dark-mode .momcs-fba-stock-schedule-field input,
body.momcs-dark-mode .momcs-frequency-inputs .regular-text {
	background-color: #334155 !important;
	border-color: #475569 !important;
	color: #f1f5f9 !important;
}

body.momcs-dark-mode #momcs-schedule-time-field > label,
body.momcs-dark-mode #momcs-schedule-frequency-field > label,
body.momcs-dark-mode #momcs-schedule-attributes-field > label {
	color: #f1f5f9;
	border-bottom-color: #475569;
}

body.momcs-dark-mode .momcs-toggle-label,
body.momcs-dark-mode .momcs-toggle-description {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-toggle-description {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-schedule-toggle .momcs-toggle-slider:before,
body.momcs-dark-mode .momcs-order-schedule-toggle .momcs-toggle-slider:before,
body.momcs-dark-mode .momcs-fba-stock-schedule-toggle .momcs-toggle-slider:before {
	background-color: #e2e8f0;
}

body.momcs-dark-mode .momcs-attribute-selection-preview {
	background: #334155;
	border-color: #475569;
}

body.momcs-dark-mode .momcs-attribute-selection-preview.has-selection {
	background: #334155;
}

body.momcs-dark-mode .momcs-attribute-selection-preview-title {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-attribute-selection-preview-list,
body.momcs-dark-mode .momcs-attribute-selection-preview-item {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-schedule-disabled .momcs-form-group input,
body.momcs-dark-mode .momcs-schedule-disabled .momcs-form-group select {
	background-color: #1e293b !important;
	border-color: #475569 !important;
	color: #64748b !important;
}

body.momcs-dark-mode .momcs-order-schedule-errors .notice {
	background: #450a0a;
	border-left-color: #f87171;
}

body.momcs-dark-mode .momcs-order-schedule-success .notice {
	background: #064e3b;
	border-left-color: #34d399;
}

/* ==========================================================================
   Product section - white dropdowns and inputs (filter, action, per-page)
   ========================================================================== */

body.momcs-dark-mode .momcs-filter-dropdown {
	background: var(--momcs-bg-primary);
	border-color: var(--momcs-border-color);
}

body.momcs-dark-mode .momcs-filter-select {
	background-color: #1e293b !important;
	color: var(--momcs-text-primary);
}

body.momcs-dark-mode .momcs-action-dropdown,
body.momcs-dark-mode .momcs-bulk-select {
	background: var(--momcs-bg-primary) !important;
	border-color: var(--momcs-border-color);
	color: var(--momcs-text-primary);
}

body.momcs-dark-mode .momcs-per-page-select {
	background-color: #1e293b !important;
	border-color: #475569;
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-product-search-dropdown {
	background: var(--momcs-bg-primary);
	border-color: var(--momcs-border-color);
}

body.momcs-dark-mode .momcs-product-search-dropdown .option {
	background: #1e293b;
	color: #e2e8f0;
}

/* ==========================================================================
   Amazon logo - complete white in dark mode
   ========================================================================== */

body.momcs-dark-mode .momcs-price-chip-logo.amazon-logo,
body.momcs-dark-mode .momcs-price-chip.amazon .momcs-price-chip-logo,
body.momcs-dark-mode .momcs-sync-price-chip-logo.amazon-logo,
body.momcs-dark-mode .momcs-mp-logo.amazon-logo,
body.momcs-dark-mode .momcs-marketplace-status-chip .momcs-mp-logo.amazon-logo,
body.momcs-dark-mode .momcs-marketplace-item img[src*="amazon"],
body.momcs-dark-mode .momcs-marketplace-horizontal-card img[src*="amazon"],
body.momcs-dark-mode .momcs-marketplace-card img[src*="amazon"],
body.momcs-dark-mode .momcs-sync-wrap img[src*="amazon-logo"],
body.momcs-dark-mode .momcs-sync-wrap img[src*="amazon-single-logo"] {
	filter: brightness(0) invert(1);
}

/* ==========================================================================
   Template mapping (amazon-template-mapping.css)
   ========================================================================== */

body.momcs-dark-mode .momcs-template-mapping-container,
body.momcs-dark-mode .momcs-template-mapping-header,
body.momcs-dark-mode .momcs-template-mapping-row,
body.momcs-dark-mode .momcs-field-wrapper,
body.momcs-dark-mode .momcs-enum-wrapper {
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-enum-or,
body.momcs-dark-mode .momcs-optional-field,
body.momcs-dark-mode .momcs-optional-label {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-required-field,
body.momcs-dark-mode .momcs-nested-required-field {
	background-color: #334155 !important;
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-optional-field {
	background-color: #1e293b !important;
}

body.momcs-dark-mode .momcs-template-mapping-status,
body.momcs-dark-mode .momcs-template-mapping-status-saving {
	color: #fbbf24;
}

body.momcs-dark-mode .momcs-field-mapping-row-wc-field,
body.momcs-dark-mode .momcs-enum-select {
	background-color: #334155;
	border-color: #475569;
	color: #f1f5f9;
}

/* Cards/panels in template mapping */
body.momcs-dark-mode [class*="momcs-template-mapping"] .momcs-card,
body.momcs-dark-mode .momcs-template-mapping-row [style*="background"] {
	background: #1e293b !important;
	border-color: #334155;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-parent-field-header {
	background-color: #431407 !important;
	border-left-color: #fb923c !important;
	color: #fed7aa;
}

body.momcs-dark-mode .momcs-nested-field-header {
	background-color: #2d1a0e !important;
	border-left-color: #ea580c !important;
	color: #fdba74;
}

body.momcs-dark-mode .momcs-collapsible-toggle:hover {
	background-color: #334155;
}

body.momcs-dark-mode .momcs-searchable-wrapper {
	background: #334155 !important;
	border-color: #475569 !important;
}

body.momcs-dark-mode .momcs-searchable-input,
body.momcs-dark-mode .momcs-searchable-selected-display {
	color: #f1f5f9 !important;
}

body.momcs-dark-mode .momcs-searchable-dropdown {
	background: #1e293b !important;
	border-color: #475569 !important;
}

body.momcs-dark-mode .momcs-searchable-result-item:hover,
body.momcs-dark-mode .momcs-searchable-result-item.is-focused {
	background: #334155;
}

body.momcs-dark-mode .momcs-recommendation {
	background: #334155 !important;
	border-color: #475569;
}

/* ==========================================================================
   Attribute mapping (attribute-mapping.css)
   ========================================================================== */

body.momcs-dark-mode .momcs-mapping-container {
	background-color: transparent;
}

body.momcs-dark-mode .momcs-mapping-header h2 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-mapping-accordion {
	background: #1e293b;
	border-color: #334155;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.momcs-dark-mode .momcs-mapping-accordion:hover {
	border-color: #475569;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.momcs-dark-mode .momcs-mapping-accordion-header {
	background: #334155;
	border-radius: 10px 10px 0 0;
}

body.momcs-dark-mode .momcs-mapping-accordion-header:hover {
	background: #3b4a61;
}

body.momcs-dark-mode .momcs-mapping-accordion-icon {
	background: #1e293b;
	border-color: #475569;
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-mapping-accordion-header:hover .momcs-mapping-accordion-icon {
	color: #fb923c;
	border-color: #431407;
}

body.momcs-dark-mode .momcs-mapping-accordion-header h3 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-mapping-accordion-toggle {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-mapping-accordion-content {
	background: #1e293b;
	border-top-color: #334155;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-mapping-description {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-mapping-field-headers {
	color: #94a3b8;
	border-bottom-color: #475569;
}

body.momcs-dark-mode .momcs-mapping-field-label label {
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-mapping-field-row:hover {
	background-color: rgba(51, 65, 85, 0.35);
}

body.momcs-dark-mode .momcs-mapping-select {
	background-color: #334155 !important;
	border-color: #475569 !important;
	color: #f1f5f9 !important;
}

/* ==========================================================================
   Edit Supplier tab bar (marketplace-tabs.css)
   ========================================================================== */

body.momcs-dark-mode .momcs-marketplace-tab-container {
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-tab-bar {
	border-bottom-color: #475569;
}

body.momcs-dark-mode .momcs-tab-link {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-tab-link:hover {
	color: #fb923c;
}

body.momcs-dark-mode .momcs-tab-link--active {
	color: #fb923c;
	border-bottom-color: #fb923c;
}

body.momcs-dark-mode .momcs-tab-link--disabled {
	color: #64748b;
}

body.momcs-dark-mode .momcs-tab-link--disabled:hover {
	color: #64748b;
}

body.momcs-dark-mode .momcs-auth-connected-status {
	background: #1e293b;
	border: 1px solid #334155;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

body.momcs-dark-mode .momcs-auth-connected-info h3 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-auth-connected-details,
body.momcs-dark-mode .momcs-auth-connected-detail {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-auth-connected-detail strong {
	color: #e2e8f0;
}

/* ==========================================================================
   Amazon Product Sync progress card (amazon-product-sync.css — momcs-psp-*)
   ========================================================================== */

/* Outer card */
body.momcs-dark-mode .momcs-psp-card {
	background: #1e293b;
	border-color: #334155;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Header */
body.momcs-dark-mode .momcs-psp-header {
	background: #0f172a;
	border-bottom-color: #334155;
}

body.momcs-dark-mode .momcs-psp-header-icon {
	background: #431407;
	color: #fb923c;
}

body.momcs-dark-mode .momcs-psp-title {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-psp-live-badge {
	background: #431407;
	border-color: #7c2d12;
	color: #fb923c;
}

body.momcs-dark-mode .momcs-psp-live-dot {
	background: #fb923c;
}

/* Body */
body.momcs-dark-mode .momcs-psp-body {
	background: #1e293b;
}

/* Loading */
body.momcs-dark-mode .momcs-psp-loading {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-psp-spinner {
	border-color: #334155;
	border-top-color: #fb923c;
}

/* Channel rows */
body.momcs-dark-mode .momcs-psp-channel {
	background: #263248;
	border-color: #334155;
}

body.momcs-dark-mode .momcs-psp-channel[data-status="processing"] {
	background: #2d1a0e;
	border-color: #7c2d12;
}

body.momcs-dark-mode .momcs-psp-channel[data-status="completed"] {
	background: #052e16;
	border-color: #065f46;
}

body.momcs-dark-mode .momcs-psp-channel[data-status="error"],
body.momcs-dark-mode .momcs-psp-channel[data-status="failed"] {
	background: #450a0a;
	border-color: #7f1d1d;
}

body.momcs-dark-mode .momcs-psp-channel[data-status="paused"] {
	background: #2d1a0e;
	border-color: #78350f;
}

body.momcs-dark-mode .momcs-psp-channel[data-status="queued"] {
	background: #0c2a4a;
	border-color: #1e40af;
}

body.momcs-dark-mode .momcs-psp-channel-name {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-psp-pct {
	color: #fb923c;
}

body.momcs-dark-mode .momcs-psp-channel[data-status="completed"] .momcs-psp-pct {
	color: #34d399;
}

body.momcs-dark-mode .momcs-psp-channel[data-status="error"] .momcs-psp-pct,
body.momcs-dark-mode .momcs-psp-channel[data-status="failed"] .momcs-psp-pct {
	color: #f87171;
}

/* Progress bar track */
body.momcs-dark-mode .momcs-psp-bar-track {
	background: #334155;
}

/* Meta chips */
body.momcs-dark-mode .momcs-psp-meta-chip {
	background: rgba(255, 255, 255, 0.07);
	color: #94a3b8;
}

/* Status badges — use slightly adjusted dark tones */
body.momcs-dark-mode .momcs-psp-status-badge.badge-processing,
body.momcs-dark-mode .momcs-psp-overall-badge.badge-processing {
	background: #431407;
	border-color: #7c2d12;
	color: #fdba74;
}

body.momcs-dark-mode .momcs-psp-status-badge.badge-completed,
body.momcs-dark-mode .momcs-psp-overall-badge.badge-completed {
	background: #052e16;
	border-color: #065f46;
	color: #6ee7b7;
}

body.momcs-dark-mode .momcs-psp-status-badge.badge-paused,
body.momcs-dark-mode .momcs-psp-overall-badge.badge-paused {
	background: #2d1a0e;
	border-color: #78350f;
	color: #fcd34d;
}

body.momcs-dark-mode .momcs-psp-status-badge.badge-error,
body.momcs-dark-mode .momcs-psp-status-badge.badge-failed,
body.momcs-dark-mode .momcs-psp-overall-badge.badge-error,
body.momcs-dark-mode .momcs-psp-overall-badge.badge-failed {
	background: #450a0a;
	border-color: #7f1d1d;
	color: #fca5a5;
}

body.momcs-dark-mode .momcs-psp-status-badge.badge-queued,
body.momcs-dark-mode .momcs-psp-overall-badge.badge-queued {
	background: #0c2a4a;
	border-color: #1e40af;
	color: #93c5fd;
}

body.momcs-dark-mode .momcs-psp-status-badge.badge-stopped,
body.momcs-dark-mode .momcs-psp-overall-badge.badge-stopped {
	background: #1e293b;
	border-color: #475569;
	color: #94a3b8;
}

/* Alert messages */
body.momcs-dark-mode .momcs-psp-alert-error {
	background: #450a0a;
	border-color: #7f1d1d;
	color: #fca5a5;
}

body.momcs-dark-mode .momcs-psp-alert-error .momcs-psp-alert-icon {
	color: #f87171;
}

body.momcs-dark-mode .momcs-psp-alert-success {
	background: #052e16;
	border-color: #065f46;
	color: #6ee7b7;
}

body.momcs-dark-mode .momcs-psp-alert-success .momcs-psp-alert-icon {
	color: #34d399;
}

/* Controls row footer */
body.momcs-dark-mode .momcs-psp-controls-row {
	background: #0f172a;
	border-top-color: #334155;
}

body.momcs-dark-mode .momcs-psp-footer-meta {
	color: #64748b;
}

/* Control buttons in dark mode */
body.momcs-dark-mode .momcs-product-pause-btn {
	background: #c2410c;
	border-color: #c2410c;
	color: #ffffff;
}

body.momcs-dark-mode .momcs-product-pause-btn:hover,
body.momcs-dark-mode .momcs-product-pause-btn:focus {
	background: #9a3412;
	border-color: #9a3412;
}

body.momcs-dark-mode .momcs-product-resume-btn {
	background: #15803d;
	border-color: #15803d;
	color: #ffffff;
}

body.momcs-dark-mode .momcs-product-resume-btn:hover,
body.momcs-dark-mode .momcs-product-resume-btn:focus {
	background: #166534;
	border-color: #166534;
}

body.momcs-dark-mode .momcs-product-stop-btn {
	background: transparent;
	border-color: #fb923c;
	color: #fb923c;
}

body.momcs-dark-mode .momcs-product-stop-btn:hover,
body.momcs-dark-mode .momcs-product-stop-btn:focus {
	background: #431407;
	border-color: #fdba74;
	color: #fdba74;
}

/* ==========================================================================
   Orders list (order-list-modern.css): status badges, dates, toolbar buttons
   ========================================================================== */

body.momcs-dark-mode .momcs-date-input {
	background: #334155 !important;
	border-color: #475569 !important;
	color-scheme: dark;
	color: #f1f5f9 !important;
}

body.momcs-dark-mode .momcs-date-input:hover,
body.momcs-dark-mode .momcs-date-input:focus {
	border-color: #fb923c;
	box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.25);
}

body.momcs-dark-mode #momcs_fetch_orders.momcs-fetch-orders-btn,
body.momcs-dark-mode #filter-orders.momcs-filter-btn-primary {
	background: #ea580c !important;
	border-color: #ea580c !important;
	color: #fff !important;
}

body.momcs-dark-mode #momcs_fetch_orders.momcs-fetch-orders-btn:hover,
body.momcs-dark-mode #filter-orders.momcs-filter-btn-primary:hover {
	background: #c2410c !important;
	border-color: #c2410c !important;
}

body.momcs-dark-mode .momcs-filter-btn:not(.momcs-filter-btn-primary) {
	background: #1e293b !important;
	border-color: #475569 !important;
	color: #e2e8f0 !important;
}

body.momcs-dark-mode .momcs-orders-notice {
	background: #431407;
	border-color: #431407;
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-orders-notice-icon {
	color: #fb923c;
}

body.momcs-dark-mode .momcs-text-accent-orange {
	color: #fb923c !important;
}

body.momcs-dark-mode .momcs-order-search-wrapper {
	background: #1e293b !important;
	border-color: #475569 !important;
}

body.momcs-dark-mode .momcs-order-search-input {
	color: #f1f5f9 !important;
	background: transparent !important;
}

body.momcs-dark-mode .momcs-order-search-icon {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-order-search-dropdown {
	background: #1e293b !important;
	border-color: #475569 !important;
}

body.momcs-dark-mode .momcs-order-status-badge {
	border: 1px solid transparent;
}

body.momcs-dark-mode .momcs-order-status-badge.status-pending,
body.momcs-dark-mode .momcs-order-status-badge.status-on-hold {
	background: #431407;
	border-color: #9a3412;
	color: #fdba74;
}

body.momcs-dark-mode .momcs-order-status-badge.status-processing {
	background: #1e3a5f;
	border-color: #1e40af;
	color: #93c5fd;
}

body.momcs-dark-mode .momcs-order-status-badge.status-completed {
	background: #052e16;
	border-color: #065f46;
	color: #6ee7b7;
}

body.momcs-dark-mode .momcs-order-status-badge.status-cancelled,
body.momcs-dark-mode .momcs-order-status-badge.status-refunded,
body.momcs-dark-mode .momcs-order-status-badge.status-failed {
	background: #450a0a;
	border-color: #7f1d1d;
	color: #fca5a5;
}

body.momcs-dark-mode .momcs-order-status-badge.status-unshipped {
	background: #422006;
	border-color: #854d0e;
	color: #fde68a;
}

body.momcs-dark-mode .momcs-order-status-badge.status-shipped {
	background: #052e16;
	border-color: #065f46;
	color: #6ee7b7;
}

body.momcs-dark-mode .momcs-order-status-badge.status-canceled {
	background: #450a0a;
	border-color: #7f1d1d;
	color: #fca5a5;
}

/* Premium: Fetch Orders from Amazon modal */
body.momcs-dark-mode .momcs-order-fetch-modal__overlay {
	background: rgba(0, 0, 0, 0.65);
}

body.momcs-dark-mode .momcs-order-fetch-modal {
	background: #1e293b !important;
	border: 1px solid #334155;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-order-fetch-modal__title {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-order-fetch-modal__lead {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-order-fetch-modal__track {
	background: #334155;
}

body.momcs-dark-mode .momcs-order-fetch-modal__status {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-order-fetch-modal__status strong {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-order-fetch-modal__close.button-primary {
	background: #ea580c !important;
	border-color: #ea580c !important;
	color: #fff !important;
}

/* Orders table loading skeleton (custom.css — .momcs-sync-skeleton-row) */
body.momcs-dark-mode .momcs-sync-skeleton-row {
	background-color: #334155 !important;
}

body.momcs-dark-mode .momcs-sync-skeleton-row::after {
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.14) 50%,
		rgba(255, 255, 255, 0) 100%
	);
}

body.momcs-dark-mode .momcs-orders-table tr.loading-placeholder td {
	background: #1e293b !important;
	border-color: #334155 !important;
}

/* ==========================================================================
   ASIN Sync (asin-sync.css)
   ========================================================================== */

body.momcs-dark-mode #momcs-asin-sync-progress,
body.momcs-dark-mode .momcs-asin-sync-progress-wrapper {
	background: #1e293b !important;
	border-color: #334155;
}

body.momcs-dark-mode .momcs-asin-sync-status h4 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-channel-progress {
	background: #334155;
	border-color: #475569;
}

body.momcs-dark-mode .momcs-channel-progress[data-status="completed"] {
	background: #064e3b;
	border-color: #065f46;
}

body.momcs-dark-mode .momcs-channel-progress[data-status="error"] {
	background: #450a0a;
	border-color: #7f1d1d;
}

body.momcs-dark-mode .momcs-channel-progress[data-status="paused"] {
	background: #431407;
	border-color: #7c2d12;
}

body.momcs-dark-mode .momcs-channel-info {
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-channel-info strong {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-overall-status {
	background: #334155;
	border-color: #475569;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-asin-marketplace-table {
	background: #1e293b;
	border-color: #334155;
}

body.momcs-dark-mode .momcs-asin-marketplace-table th,
body.momcs-dark-mode .momcs-asin-marketplace-table td {
	border-color: #334155;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-asin-marketplace-table th {
	background: #334155;
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-asin-marketplace-table input[type="text"] {
	background: #334155;
	border-color: #475569;
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-asin-sync-loading {
	background: #334155;
	color: #94a3b8;
}

/* ==========================================================================
   Sync queue – status chips, product chips, sub-tabs, shimmer (sync-queue.css)
   ========================================================================== */

body.momcs-dark-mode .momcs-sync-status-chip.success {
	background-color: #064e3b;
	color: #34d399;
}

body.momcs-dark-mode .momcs-sync-status-chip.success .momcs-sync-status-dot {
	background-color: #34d399;
}

body.momcs-dark-mode .momcs-sync-status-chip.error {
	background-color: #450a0a;
	color: #f87171;
}

body.momcs-dark-mode .momcs-sync-status-chip.error .momcs-sync-status-dot {
	background-color: #f87171;
}

body.momcs-dark-mode .momcs-sync-status-chip.warning {
	background-color: #431407;
	color: #fdba74;
}

body.momcs-dark-mode .momcs-sync-status-chip.warning .momcs-sync-status-dot {
	background-color: #fdba74;
}

body.momcs-dark-mode .momcs-sync-status-chip.info {
	background-color: #1e3a5f;
	color: #60a5fa;
}

body.momcs-dark-mode .momcs-sync-status-chip.info .momcs-sync-status-dot {
	background-color: #60a5fa;
}

body.momcs-dark-mode .momcs-sync-status-chip.default {
	background-color: #334155;
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-sync-status-chip.default .momcs-sync-status-dot {
	background-color: #94a3b8;
}

body.momcs-dark-mode .momcs-sync-product-chip {
	background-color: #334155;
	color: #e2e8f0;
	border-color: #475569;
}

body.momcs-dark-mode .momcs-sync-product-chip:hover {
	background-color: #3b4a61;
	border-color: #64748b;
}

body.momcs-dark-mode .momcs-sync-sub-tabs {
	border-bottom-color: #475569;
}

body.momcs-dark-mode .momcs-sync-sub-tab {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-sync-sub-tab:hover {
	color: #fb923c;
	border-bottom-color: #64748b;
}

body.momcs-dark-mode .momcs-sync-sub-tab.active {
	color: #fb923c;
	border-bottom-color: #fb923c;
	background-color: rgba(251, 146, 60, 0.1);
}

body.momcs-dark-mode .momcs-shimmer {
	background: #334155;
	background-image: linear-gradient(to right, #334155 0%, #475569 20%, #334155 40%, #334155 100%);
}

body.momcs-dark-mode .momcs-sync-channel-info,
body.momcs-dark-mode .momcs-sync-channel-info strong {
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-channel-name {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-marketplace-name {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-sync-pagination .page-numbers {
	background: #334155;
	border-color: #475569;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-sync-pagination .page-numbers.current {
	background: #ea580c;
	border-color: #ea580c;
	color: #fff;
}

body.momcs-dark-mode .momcs-sync-pagination .page-numbers:not(.current):hover {
	background: #3b4a61;
	border-color: #64748b;
	color: #fb923c;
}

body.momcs-dark-mode .momcs-sub-pre {
	background: #334155;
	color: #e2e8f0;
}

/* ==========================================================================
   Admin-style legacy (admin-style.css – .momcs-header, .momcs-nav-tabs)
   ========================================================================== */

body.momcs-dark-mode .momcs-header {
	background: #1e293b;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	border: 1px solid #334155;
}

body.momcs-dark-mode .momcs-header-logo h1 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-nav-tabs {
	border-bottom-color: #475569;
}

body.momcs-dark-mode .momcs-nav-tab a {
	color: #cbd5e1;
}

body.momcs-dark-mode .momcs-nav-tab a:hover {
	color: #fb923c;
	background-color: #334155;
}

body.momcs-dark-mode .momcs-nav-tab.momcs-active a {
	border-color: #475569;
	border-bottom-color: #1e293b;
	color: #fb923c;
	background-color: #1e293b;
}

/* ==========================================================================
   Product sync page (product-sync.css – slider, sections)
   ========================================================================== */

body.momcs-dark-mode .momcs-sync-slider {
	background-color: #475569;
}

body.momcs-dark-mode .momcs-sync-slider:before {
	background-color: #e2e8f0;
}

body.momcs-dark-mode .momcs-sync-slider input:checked + .momcs-sync-slider {
	background-color: #ea580c;
}

body.momcs-dark-mode .momcs-sync-wrap .momcs-sync-section,
body.momcs-dark-mode .momcs-sync-wrap [class*="momcs-sync-"] section {
	background: #1e293b;
	border-color: #334155;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-sync-wrap .momcs-sync-section h3,
body.momcs-dark-mode .momcs-sync-wrap [class*="momcs-sync-"] section h3 {
	color: #f1f5f9;
	border-bottom-color: #475569;
}

/* ==========================================================================
   Custom.css – body background and titles (scoped to plugin wrap)
   ========================================================================== */

body.momcs-dark-mode .momcs-sync-wrap .momcs-sync-title-main {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-sync-wrap .momcs-sync-subtitle {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-sync-wrap .momcs-sync-title-accent {
	color: #fb923c;
}

/* Account page – license terms callout (account-modern.css) */
body.momcs-dark-mode .momcs-license-terms {
	background: #1e293b;
	border-left-color: #fb923c;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-license-terms-list li,
body.momcs-dark-mode .momcs-license-terms li {
	color: #e2e8f0;
}

/* ==========================================================================
   License / activation UI (license-views-style.css – when on momcs-sync)
   ========================================================================== */

body.momcs-dark-mode .mo-lic-admin-notice,
body.momcs-dark-mode .mo-lic-admin-notice-heading,
body.momcs-dark-mode .mo-lic-admin-notice-text {
	color: #e2e8f0;
}

body.momcs-dark-mode .mo-lic-widget-container {
	background: #1e293b;
	border-color: #475569;
	color: #e2e8f0;
}

body.momcs-dark-mode .mo-lic-widget-table {
	background-color: #334155;
	border-color: #475569;
	color: #e2e8f0;
}

body.momcs-dark-mode .mo-lic-widget-table-text-col1,
body.momcs-dark-mode .mo-lic-widget-table-text-col2 {
	color: #e2e8f0;
}

/* ==========================================================================
   Shipment sync order edit metabox (amazon-shipment-sync.css)
   ========================================================================== */

body.momcs-dark-mode .momcs-shipment-metabox {
	background: transparent;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-shipment-info {
	background: #334155;
	border-left-color: #ea580c;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-shipment-info p {
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-existing-shipments h4,
body.momcs-dark-mode .momcs-shipment-form h4 {
	color: #f1f5f9;
	border-bottom-color: #475569;
}

body.momcs-dark-mode .momcs-existing-shipments th,
body.momcs-dark-mode .momcs-existing-shipments td {
	border-color: #334155;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-package {
	background: #1e293b;
	border-color: #334155;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.momcs-dark-mode .momcs-package-header {
	border-bottom-color: #475569;
}

body.momcs-dark-mode .momcs-package-header h4 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-shipment-form input,
body.momcs-dark-mode .momcs-shipment-form select,
body.momcs-dark-mode .momcs-shipment-form textarea {
	background: #334155;
	border-color: #475569;
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-remove-package-btn {
	background: #334155;
	border-color: #7f1d1d;
	color: #fca5a5;
}

body.momcs-dark-mode .momcs-remove-package-btn:hover {
	background: #450a0a;
	color: #f87171;
}

/* ==========================================================================
   Sync audit modal (sync-queue-modern.css + sync-queue.js dynamic HTML)
   ========================================================================== */

body.momcs-dark-mode .momcs-audit-summary-bar {
	background: #0f172a;
	border-color: #334155;
}

body.momcs-dark-mode .momcs-audit-stat-label {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-audit-product-filter {
	background: transparent;
}

body.momcs-dark-mode .momcs-audit-product-search-wrapper {
	background: #334155 !important;
	border-color: #475569 !important;
}

body.momcs-dark-mode .momcs-audit-search-input {
	color: #f1f5f9 !important;
	background: transparent !important;
}

body.momcs-dark-mode .momcs-audit-search-icon {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-audit-product-dropdown {
	background: #1e293b !important;
	border-color: #475569 !important;
}

body.momcs-dark-mode .momcs-audit-dropdown-item-name,
body.momcs-dark-mode .momcs-audit-log-group-title {
	color: #f1f5f9 !important;
}

body.momcs-dark-mode .momcs-audit-dropdown-group-header {
	color: #cbd5e1;
	border-color: #334155;
}

body.momcs-dark-mode .momcs-audit-active-filter {
	background: #334155;
	border-color: #475569;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-audit-nav-header {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-sync-modal-modern .momcs-sync-details h4 {
	color: #e2e8f0 !important;
}

body.momcs-dark-mode .momcs-sync-modal-modern .momcs-sync-details pre {
	background: #334155 !important;
	color: #e2e8f0 !important;
	border: 1px solid #475569;
}

body.momcs-dark-mode .momcs-sync-node strong {
	color: #f1f5f9;
}

/* ==========================================================================
   Account page (account-modern.css): cards, forms, Valid badge
   ========================================================================== */

body.momcs-dark-mode .momcs-account-modern .momcs-connect-card {
	background: #1e293b !important;
	border-color: #334155 !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

body.momcs-dark-mode .momcs-account-modern .momcs-connect-card h2 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-account-modern .momcs-form-label,
body.momcs-dark-mode .momcs-account-modern label {
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-account-modern input[type="text"],
body.momcs-dark-mode .momcs-account-modern input[type="email"],
body.momcs-dark-mode .momcs-account-modern input[type="password"],
body.momcs-dark-mode .momcs-account-modern input[type="url"],
body.momcs-dark-mode .momcs-account-modern textarea,
body.momcs-dark-mode .momcs-account-modern select {
	background: #334155 !important;
	border-color: #475569 !important;
	color: #f1f5f9 !important;
}

body.momcs-dark-mode .momcs-account-modern .button-primary,
body.momcs-dark-mode .momcs-account-modern .button.button-primary {
	background: #ea580c !important;
	border-color: #ea580c !important;
	color: #fff !important;
}

body.momcs-dark-mode .momcs-account-modern .button-primary:hover,
body.momcs-dark-mode .momcs-account-modern .button.button-primary:hover {
	background: #c2410c !important;
	border-color: #c2410c !important;
}

body.momcs-dark-mode .momcs-license-badge.momcs-badge-success {
	background-color: #052e16 !important;
	border-color: #065f46 !important;
	color: #86efac !important;
}

/* ==========================================================================
   Contact Us modal (admin.css)
   ========================================================================== */

body.momcs-dark-mode .momcs-contact-us-modal {
	background: rgba(0, 0, 0, 0.65);
}

body.momcs-dark-mode .momcs-contact-us-modal__content {
	background: #1e293b !important;
	border: 1px solid #334155;
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-contact-us-modal__content h2 {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-contact-us-close {
	color: #94a3b8;
}

body.momcs-dark-mode .momcs-contact-us-close:hover {
	color: #f1f5f9;
}

body.momcs-dark-mode .momcs-contact-us-form label {
	color: #e2e8f0;
}

body.momcs-dark-mode .momcs-contact-us-form input[type="email"],
body.momcs-dark-mode .momcs-contact-us-form textarea {
	background: #334155 !important;
	border-color: #475569 !important;
	color: #f1f5f9 !important;
}

body.momcs-dark-mode .momcs-contact-us-form .button-primary,
body.momcs-dark-mode .momcs-contact-us-form button[type="submit"] {
	background: #ea580c !important;
	border-color: #ea580c !important;
	color: #fff !important;
}

body.momcs-dark-mode .momcs-contact-us-alert--error {
	background: #450a0a !important;
	color: #fca5a5 !important;
	border: 1px solid #7f1d1d;
}

body.momcs-dark-mode .momcs-contact-us-alert--success {
	background: #052e16 !important;
	color: #6ee7b7 !important;
	border: 1px solid #065f46;
}

/* General scrollbars within plugin content */
body.momcs-dark-mode .momcs-sync-wrap ::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

body.momcs-dark-mode .momcs-sync-wrap ::-webkit-scrollbar-track {
	background: #1e293b;
}

body.momcs-dark-mode .momcs-sync-wrap ::-webkit-scrollbar-thumb {
	background: #475569;
	border-radius: 5px;
}

body.momcs-dark-mode .momcs-sync-wrap ::-webkit-scrollbar-thumb:hover {
	background: #64748b;
}
