/* ==========================================================================
   SMTBOX Automatic Dark Mode Adaptation Stylesheet (prefers-color-scheme: dark)
   Light Mode Impact: ZERO (100% scoped inside @media (prefers-color-scheme: dark))
   Target Contrast: WCAG 2.2 Level AA (>= 4.5:1 normal text, >= 3:1 UI & large text)
   ========================================================================== */

@layer reset, vendor, tokens, base, layout, components, utilities, overrides;

@layer reset {
    @media (prefers-color-scheme: dark) {
        html body #header .header-wrapper.stuck :is(.sre-sticky-searchform, .smtbox-sticky-searchform),
        html body #header :is(.sre-sticky-search-wrapper, .smtbox-sticky-search-wrapper):is(.is-expanded, :focus-within) :is(.sre-sticky-searchform, .smtbox-sticky-searchform) {
            background: var(--smt-color-input-bg, #1e293b) !important;
            border: 1px solid #3b82f6 !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;
        }
    }
}

@media (prefers-color-scheme: dark) {
    /* ----------------------------------------------------------------------
       0. Self-Contained Dark Semantic Tokens (defense-in-depth mirror of tokens.css)
       ---------------------------------------------------------------------- */
    :root {
        --smt-color-bg-white: #0b1120;
        --smt-color-bg-light: #111827;
        --smt-color-bg-gray: #1e293b;
        --smt-color-surface: #162033;
        --smt-color-surface-hover: #1e293b;

        --smt-color-text-main: #e2e8f0;
        --smt-color-text-body: #e2e8f0;
        --smt-color-text-subtle: #cbd5e1;
        --smt-color-text-muted: #94a3b8;
        --smt-color-heading: #f8fafc;
        --smt-color-link: #60a5fa;
        --smt-color-link-hover: #fb7185;

        --smt-color-border: #334155;
        --smt-color-border-light: #1e293b;
        --smt-color-border-dark: #3b82f6;

        --smt-color-header-bg: #0f172a;
        --smt-color-footer-bg: #111827;
        --smt-color-dropdown-bg: #111827;
        --smt-color-dropdown-border: #3b82f6;
        --smt-color-dropdown-link: #e2e8f0;
        --smt-color-dropdown-divider: #1e293b;
        --smt-color-input-bg: #1e293b;
        --smt-color-input-text: #f8fafc;
        --smt-color-input-border: #475569;
        --smt-color-media-plate: #f8fafc;
    }

    /* ----------------------------------------------------------------------
       1. Global Canvas, Document Root & Flatsome Core Layout Containers
       ---------------------------------------------------------------------- */
    html,
    body {
        background-color: var(--smt-color-bg-white, #0b1120) !important;
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }

    #wrapper,
    #main,
    #content,
    .page-wrapper,
    .row-main,
    .content-area,
    .page-inner,
    .blog-wrapper,
    .archive-page-header,
    .shop-container,
    .product-container,
    .product-main,
    .product-footer,
    .sticky-section,
    .sticky-section-helper + div {
        background-color: var(--smt-color-bg-white, #0b1120) !important;
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }

    .section:not(.dark):not([class*="bg-"]),
    .row-divided > .col + .col:not(.large-12),
    .col-divided,
    .col-border {
        border-color: var(--smt-color-border, #334155);
    }

    .is-divider {
        background-color: var(--smt-color-border, #334155);
    }

    hr {
        border-top-color: var(--smt-color-border, #334155);
        opacity: 0.6;
    }

    /* ----------------------------------------------------------------------
       2. Typography, Headings, Prose, Lists, Links & Tables
       ---------------------------------------------------------------------- */
    #main h1,
    #main h2,
    #main h3,
    #main h4,
    #main h5,
    #main h6,
    .entry-title,
    .page-title,
    .section-title,
    .section-title span,
    .widget-title,
    .woocommerce-tabs .panel h2,
    .woocommerce-tabs .panel h3 {
        color: var(--smt-color-heading, #f8fafc);
    }

    /* Keep intentional accent section titles vibrant & AA-compliant on dark */
    .section-title-normal {
        border-bottom-color: var(--smt-color-border, #334155);
    }
    .section-title-normal span {
        border-bottom-color: var(--smt-color-border-dark, #3b82f6);
    }
    .section-title-normal b {
        background-color: var(--smt-color-border, #334155);
    }
    .section-title-main[style*="color"],
    .section-title span[style*="rgb(207"],
    .section-title span[style*="#cf0921" i],
    .section-title span[style*="#b20000" i],
    .section-title span[style*="#990000" i],
    .section-title span[style*="red" i] {
        color: #f87171 !important;
    }

    #main p,
    #main li,
    #main dd,
    #main dt,
    #main blockquote,
    #main figcaption,
    #main .col-inner,
    #main .box-text,
    .entry-content,
    .entry-content p,
    .entry-content li,
    .entry-content ul,
    .entry-content ol,
    .woocommerce-product-details__short-description,
    .woocommerce-product-details__short-description p,
    .product-short-description,
    .product-short-description p {
        color: var(--smt-color-text-main, #e2e8f0);
    }

    #main strong,
    #main b,
    .entry-content strong,
    .entry-content b {
        color: var(--smt-color-heading, #f8fafc);
    }

    /* Override light-only inline text colors inside WP/PHP content blocks */
    #main [style*="color:#333" i]:not(.button):not(button),
    #main [style*="color: #333" i]:not(.button):not(button),
    #main [style*="color:#444" i]:not(.button):not(button),
    #main [style*="color: #444" i]:not(.button):not(button),
    #main [style*="color:#555" i]:not(.button):not(button),
    #main [style*="color: #555" i]:not(.button):not(button),
    #main [style*="color:#666" i]:not(.button):not(button),
    #main [style*="color: #666" i]:not(.button):not(button),
    #main [style*="color:#1e293b" i]:not(.button):not(button),
    #main [style*="color: #1e293b" i]:not(.button):not(button),
    #main [style*="color:#0f172a" i]:not(.button):not(button),
    #main [style*="color: #0f172a" i]:not(.button):not(button),
    #main [style*="color:#111827" i]:not(.button):not(button),
    #main [style*="color: #111827" i]:not(.button):not(button),
    #main [style*="color:#3c4858" i]:not(.button):not(button),
    #main [style*="color: #3c4858" i]:not(.button):not(button),
    #main [style*="color:#334155" i]:not(.button):not(button),
    #main [style*="color: #334155" i]:not(.button):not(button),
    #main [style*="color:#374151" i]:not(.button):not(button),
    #main [style*="color: #374151" i]:not(.button):not(button),
    #main [style*="color:#4a5568" i]:not(.button):not(button),
    #main [style*="color: #4a5568" i]:not(.button):not(button),
    #main [style*="color:#475569" i]:not(.button):not(button),
    #main [style*="color: #475569" i]:not(.button):not(button),
    #main [style*="color:#4b5563" i]:not(.button):not(button),
    #main [style*="color: #4b5563" i]:not(.button):not(button),
    #main [style*="color:#64748b" i]:not(.button):not(button),
    #main [style*="color: #64748b" i]:not(.button):not(button),
    #main [style*="color:#000" i]:not(.button):not(button),
    #main [style*="color: #000" i]:not(.button):not(button) {
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }

    #main [style*="color:#002780" i]:not(.button):not(button),
    #main [style*="color: #002780" i]:not(.button):not(button) {
        color: var(--smt-color-link, #60a5fa) !important;
    }

    #main [style*="color:#cf0921" i]:not(.button):not(button),
    #main [style*="color: #cf0921" i]:not(.button):not(button) {
        color: #f87171 !important;
    }

    /* Override light-only inline box backgrounds inside WP/PHP content blocks */
    #main [style*="background:#fff" i]:not(.box-image):not(.product-gallery-slider),
    #main [style*="background: #fff" i]:not(.box-image):not(.product-gallery-slider),
    #main [style*="background-color:#fff" i]:not(.box-image):not(.product-gallery-slider),
    #main [style*="background-color: #fff" i]:not(.box-image):not(.product-gallery-slider),
    #main [style*="background:white" i]:not(.box-image):not(.product-gallery-slider),
    #main [style*="background: white" i]:not(.box-image):not(.product-gallery-slider),
    #main [style*="background-color:white" i]:not(.box-image):not(.product-gallery-slider),
    #main [style*="background-color: white" i]:not(.box-image):not(.product-gallery-slider),
    #main [style*="background:#fdfdfd" i],
    #main [style*="background: #fdfdfd" i],
    #main [style*="background-color:#fdfdfd" i],
    #main [style*="background-color: #fdfdfd" i],
    #main [style*="background:#f8fafc" i],
    #main [style*="background: #f8fafc" i],
    #main [style*="background-color:#f8fafc" i],
    #main [style*="background-color: #f8fafc" i],
    #main [style*="background: rgb(248, 250, 252)" i]:not(.box-image):not(.product-gallery-slider),
    #main [style*="background-color: rgb(248, 250, 252)" i]:not(.box-image):not(.product-gallery-slider),
    #main [style*="background: rgb(255, 255, 255)" i]:not(.box-image):not(.product-gallery-slider),
    #main [style*="background-color: rgb(255, 255, 255)" i]:not(.box-image):not(.product-gallery-slider),
    #main [style*="background:#f9fafb" i],
    #main [style*="background: #f9fafb" i],
    #main [style*="background:#eff2f7" i],
    #main [style*="background: #eff2f7" i],
    #main [style*="background-color:#eff2f7" i],
    #main [style*="background-color: #eff2f7" i],
    #main [style*="background:#fffbeb" i],
    #main [style*="background: #fffbeb" i],
    #main [style*="background-color:#fffbeb" i],
    #main [style*="background-color: #fffbeb" i],
    #main [style*="background:#fefce8" i],
    #main [style*="background: #fefce8" i],
    #main [style*="background:#f0f4ff" i],
    #main [style*="background: #f0f4ff" i],
    #main [style*="background:#f8f9fa" i],
    #main [style*="background: #f8f9fa" i] {
        background: var(--smt-color-surface, #162033) !important;
        background-color: var(--smt-color-surface, #162033) !important;
        border-color: var(--smt-color-border, #334155) !important;
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }

    /* Direct Answer / Quick Facts green callout box on product & article pages */
    #main [style*="background:#ecfdf5" i],
    #main [style*="background: #ecfdf5" i],
    #main [style*="background-color:#ecfdf5" i],
    #main [style*="background-color: #ecfdf5" i],
    #main [style*="background:#f0fdf4" i],
    #main [style*="background: #f0fdf4" i],
    #main [style*="background-color:#f0fdf4" i],
    #main [style*="background-color: #f0fdf4" i],
    #main [style*="background:#e7faf0" i],
    #main [style*="background: #e7faf0" i] {
        background: #062c22 !important;
        background-color: #062c22 !important;
        border-color: #10b981 !important;
        color: #d1fae5 !important;
    }
    #main [style*="background:#ecfdf5" i] *,
    #main [style*="background: #ecfdf5" i] *,
    #main [style*="background-color:#ecfdf5" i] *,
    #main [style*="background-color: #ecfdf5" i] *,
    #main [style*="background:#f0fdf4" i] *,
    #main [style*="background: #f0fdf4" i] *,
    #main [style*="background-color:#f0fdf4" i] *,
    #main [style*="background-color: #f0fdf4" i] * {
        color: #d1fae5 !important;
    }
    #main [style*="background:#ecfdf5" i] strong,
    #main [style*="background: #ecfdf5" i] strong,
    #main [style*="background:#f0fdf4" i] strong,
    #main [style*="background: #f0fdf4" i] strong {
        color: #6ee7b7 !important;
    }

    /* Links on dark surfaces (excluding buttons & dark-bar nav links) */
    #main a:not(.button):not(.sre-quote-btn):not(.smtbox-quote-btn):not(.sre-details-btn):not(.smtbox-details-btn):not(.sre-frequently-sourced-btn):not(.smtbox-frequently-sourced-btn):not(.sre-product-card__btn):not(.smtbox-product-card__btn):not(.thickbox):not(.nav-top-link),
    .footer-1 a:not(.button),
    .entry-content a:not(.button),
    .entry-meta a,
    .breadcrumbs a,
    .catalog-breadcrumb a,
    .product_meta a {
        color: var(--smt-color-link, #60a5fa);
    }

    #main a:not(.button):not(.sre-quote-btn):not(.smtbox-quote-btn):not(.sre-details-btn):not(.smtbox-details-btn):not(.sre-frequently-sourced-btn):not(.smtbox-frequently-sourced-btn):not(.sre-product-card__btn):not(.smtbox-product-card__btn):not(.thickbox):not(.nav-top-link):hover,
    .footer-1 a:not(.button):hover,
    .entry-content a:not(.button):hover,
    .entry-meta a:hover,
    .product_meta a:hover {
        color: var(--smt-color-link-hover, #fb7185);
    }

    /* Preserve Hero Banner white overlay typography */
    .banner .text-box h1,
    .banner .text-box h2,
    .banner .text-box h3,
    .banner .text-box p,
    .banner .text-box a,
    .hero-banner-container h2,
    .hero-banner-container p {
        color: #ffffff !important;
    }

    /* Captions & wp-caption frames (e.g. About Us portrait caption) */
    .wp-caption {
        background-color: var(--smt-color-surface, #162033);
        border: 1px solid var(--smt-color-border, #334155);
        border-radius: 6px;
        padding: 6px;
    }
    .wp-caption-text,
    figcaption {
        color: var(--smt-color-text-subtle, #cbd5e1) !important;
        background-color: transparent !important;
    }

    /* Tables */
    table,
    .shop_table,
    .woocommerce-product-attributes {
        background-color: var(--smt-color-surface, #162033) !important;
        color: var(--smt-color-text-main, #e2e8f0) !important;
        border-color: var(--smt-color-border, #334155) !important;
    }
    th,
    td {
        border-color: var(--smt-color-border, #334155) !important;
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }
    thead th,
    tr:nth-child(even) td {
        background-color: var(--smt-color-bg-light, #111827) !important;
    }
    code {
        background-color: #1e293b !important;
        border-color: #334155 !important;
        color: #f8fafc !important;
    }

    /* ----------------------------------------------------------------------
       3. Header, Main Search Bar, Sticky Search & Mobile Hamburger
       ---------------------------------------------------------------------- */
    #masthead,
    .header-main {
        background-color: var(--smt-color-header-bg, #0f172a);
        border-bottom: 1px solid var(--smt-color-border-light, #1e293b);
    }

    /* Desktop Header Search Input & Submit Button */
    #masthead .search-field,
    .header-main .search-field,
    .header-search-form .search-field,
    .header-search-form input[type="search"],
    .header-search-form input[type="text"] {
        background-color: var(--smt-color-input-bg, #1e293b) !important;
        color: var(--smt-color-input-text, #f8fafc) !important;
        border: 1px solid var(--smt-color-input-border, #475569) !important;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25) !important;
    }

    #masthead .search-field::placeholder,
    .header-main .search-field::placeholder,
    .header-search-form .search-field::placeholder {
        color: var(--smt-color-text-muted, #94a3b8) !important;
        opacity: 1 !important;
    }

    #masthead .search-field:focus,
    .header-main .search-field:focus,
    .header-search-form .search-field:focus {
        background-color: #243247 !important;
        border-color: #60a5fa !important;
        box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.25) !important;
    }

    #masthead .smt-search-submit,
    #masthead .submit-button,
    .header-main .smt-search-submit,
    .header-main .submit-button,
    .header-search-form .submit-button {
        color: #e2e8f0 !important;
    }
    #masthead .smt-search-submit:hover,
    .header-main .smt-search-submit:hover,
    .header-search-form .submit-button:hover {
        color: #ffffff !important;
    }

    /* Sticky Navbar Expanding Search Pill */
    html body #header .header-wrapper.stuck :is(.sre-sticky-searchform, .smtbox-sticky-searchform),
    html body #header :is(.sre-sticky-search-wrapper, .smtbox-sticky-search-wrapper):is(.is-expanded, :focus-within) :is(.sre-sticky-searchform, .smtbox-sticky-searchform) {
        background: var(--smt-color-input-bg, #1e293b) !important;
        border-color: #3b82f6 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;
    }
    html body #header :is(.sre-sticky-searchform, .smtbox-sticky-searchform) .search-field {
        color: #f8fafc !important;
        background: transparent !important;
    }
    html body #header :is(.sre-sticky-searchform, .smtbox-sticky-searchform) .search-field::placeholder {
        color: #cbd5e1 !important;
        opacity: 1 !important;
    }

    /* Mobile Hamburger Button visibility on #0f172a header */
    .mobile-nav .nav-icon a,
    #masthead .nav-icon a.button {
        background-color: #1e3a8a !important;
        border: 1px solid #3b82f6 !important;
        color: #ffffff !important;
    }

    /* ----------------------------------------------------------------------
       4. Mobile Off-Canvas Navigation Drawer (#main-menu / .mobile-sidebar)
       ---------------------------------------------------------------------- */
    #main-menu,
    .mobile-sidebar,
    .off-canvas .mfp-content,
    .off-canvas-left .mfp-content,
    .off-canvas-right .mfp-content {
        background-color: var(--smt-color-bg-light, #111827) !important;
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }

    #main-menu .nav-sidebar > li,
    .mobile-sidebar .nav-sidebar > li,
    .mobile-sidebar .sidebar-menu > li {
        border-color: var(--smt-color-border, #334155) !important;
    }

    #main-menu a,
    .mobile-sidebar a,
    .mobile-sidebar .nav-sidebar > li > a {
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }

    #main-menu li.active > a,
    #main-menu li.current-menu-item > a,
    .mobile-sidebar li.current-menu-item > a,
    .mobile-sidebar li > a:hover {
        color: #ffffff !important;
    }

    #main-menu .nav-sidebar > li.menu-item:hover,
    .mobile-sidebar .nav-sidebar > li.menu-item:hover {
        background-color: var(--smt-color-surface-hover, #1e293b) !important;
    }

    #main-menu .search-field,
    .mobile-sidebar .search-field,
    #main-menu input[type="search"],
    .mobile-sidebar input[type="search"] {
        background-color: var(--smt-color-input-bg, #1e293b) !important;
        color: var(--smt-color-input-text, #f8fafc) !important;
        border: 1px solid var(--smt-color-input-border, #475569) !important;
    }

    #main-menu .submit-button,
    .mobile-sidebar .submit-button,
    #main-menu .toggle,
    .mobile-sidebar .toggle {
        color: #e2e8f0 !important;
    }

    /* ----------------------------------------------------------------------
       5. Global Form Controls & Buttons
       ---------------------------------------------------------------------- */
    input[type="email"],
    input[type="date"],
    input[type="search"],
    input[type="number"],
    input[type="text"],
    input[type="tel"],
    input[type="url"],
    input[type="password"],
    textarea,
    select,
    .select2-container .select2-choice {
        background-color: var(--smt-color-input-bg, #1e293b);
        color: var(--smt-color-input-text, #f8fafc);
        border-color: var(--smt-color-input-border, #475569);
    }

    input::placeholder,
    textarea::placeholder {
        color: var(--smt-color-text-muted, #94a3b8);
        opacity: 1;
    }

    input:focus,
    textarea:focus,
    select:focus {
        border-color: #60a5fa;
        box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
    }

    /* Primary solid buttons keep subtle border so navy stands out on dark slate */
    .button.primary,
    input[type="submit"],
    .sre-quote-btn:not(.is-single-page),
    .smtbox-quote-btn:not(.is-single-page),
    #probutton a,
    #probutton a.thickbox,
    .sre-frequently-sourced-btn,
    .smtbox-frequently-sourced-btn,
    .sre-product-card__btn,
    .smtbox-product-card__btn,
    #top-link {
        background-color: #1d4ed8;
        border-color: #3b82f6;
        color: #ffffff;
    }

    .button.primary:hover,
    input[type="submit"]:hover,
    #probutton a:hover,
    #probutton a.thickbox:hover,
    .sre-frequently-sourced-btn:hover,
    .smtbox-frequently-sourced-btn:hover {
        background-color: #CF0921;
        border-color: #CF0921;
        color: #ffffff;
    }

    /* Outline / Secondary Buttons on Dark Surfaces */
    .smt-c-product-summary__btn--quote,
    html body .sre-quote-btn.is-single-page,
    html body .smtbox-quote-btn.is-single-page,
    html body .smtbox-add-to-quote-btn.is-single-page,
    html body .sre-add-to-quote-btn.is-single-page,
    .button.is-outline.primary {
        background-color: var(--smt-color-surface-hover, #1e293b) !important;
        color: #93c5fd !important;
        border-color: #3b82f6 !important;
    }

    .smt-c-product-summary__btn--quote:hover,
    html body .sre-quote-btn.is-single-page:hover,
    html body .smtbox-quote-btn.is-single-page:hover,
    html body .smtbox-add-to-quote-btn.is-single-page:hover,
    html body .sre-add-to-quote-btn.is-single-page:hover,
    .button.is-outline.primary:hover {
        background-color: #1d4ed8 !important;
        color: #ffffff !important;
        border-color: #60a5fa !important;
    }

    /* ----------------------------------------------------------------------
       6. Homepage Tabs, Newsletter Box, Promo Banners & Customer Logos
       ---------------------------------------------------------------------- */
    :where(#wrapper) .tabbed-content .nav:not(.nav-vertical),
    #main .tabbed-content .nav:not(.nav-vertical),
    :where(#wrapper) ul.nav-tabs {
        border-bottom-color: var(--smt-color-border, #334155);
    }

    :where(#wrapper) .tabbed-content .nav:not(.nav-vertical) > li.tab > a,
    #main .tabbed-content .nav:not(.nav-vertical) > li.tab > a,
    :where(#wrapper) ul.nav-tabs > li.tab > a {
        background-color: var(--smt-color-bg-light, #111827);
        border-color: var(--smt-color-border, #334155);
        color: var(--smt-color-text-subtle, #cbd5e1);
    }

    :where(#wrapper) .tabbed-content .nav:not(.nav-vertical) > li.tab > a:hover,
    #main .tabbed-content .nav:not(.nav-vertical) > li.tab > a:hover {
        background-color: var(--smt-color-surface-hover, #1e293b);
        color: #f8fafc;
    }

    :where(#wrapper) .tabbed-content .nav:not(.nav-vertical) > li.tab.active > a,
    #main .tabbed-content .nav:not(.nav-vertical) > li.tab.active > a,
    :where(#wrapper) ul.nav-tabs > li.tab.active > a {
        background-color: var(--smt-color-surface, #162033);
        color: #60a5fa;
        border-color: var(--smt-color-border, #334155);
        border-top: 3px solid #3b82f6;
        border-bottom-color: var(--smt-color-surface, #162033);
    }

    .nav-tabs + .tab-panels,
    .tabbed-content .tab-panels {
        background-color: var(--smt-color-surface, #162033) !important;
        border-color: var(--smt-color-border, #334155) !important;
    }

    /* Homepage shadowed columns & newsletter card */
    .has-shadow > .col > .col-inner,
    .box-shadow-1,
    .box-shadow-2,
    .sre-newsletter-box,
    .smtbox-newsletter-box,
    [class*="newsletter"] {
        background-color: var(--smt-color-surface, #162033) !important;
        border-color: var(--smt-color-border, #334155) !important;
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }

    /* Customer Logos Grid (6-column customer strip on homepage):
       Keep crisp 2:1 light backing plates so dark-ink transparent logos remain legible */
    .home .row.large-columns-6 .box-image {
        background-color: #f1f5f9 !important;
        border-radius: 6px;
        padding: 8px 12px;
        border: 1px solid var(--smt-color-border, #334155);
        aspect-ratio: 2 / 1;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .home .row.large-columns-6 .box-image img {
        max-height: 100%;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    /* Light-background promo banners (Online Inquiry, Sell Surplus GIF) softened slightly */
    .home img[src*="online-inquiry"],
    .home img[src*="sell-the-surplus"] {
        border-radius: 6px;
        filter: brightness(0.94);
    }

    /* ----------------------------------------------------------------------
       7. Product Cards (Homepage Slider, Archive Grid, List View & Related)
       ---------------------------------------------------------------------- */
    .sre-product-card,
    .smtbox-product-card,
    .products:not(.has-box-vertical) .col-inner,
    .products.grid-view .col-inner,
    .product-footer .related .slider.row-slider .col-inner,
    .related-products-wrapper .slider.row-slider .col-inner,
    .related .slider.row-slider .col-inner,
    .related-products-wrapper .col-inner,
    .related .products .col-inner,
    .products.has-box-vertical .col-inner,
    .products.list-view .col-inner,
    .box-list-view .col-inner,
    .box-vertical {
        background: var(--smt-color-surface, #162033) !important;
        background-color: var(--smt-color-surface, #162033) !important;
        border-color: var(--smt-color-border, #334155) !important;
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }

    .sre-product-card:hover,
    .smtbox-product-card:hover,
    .products:not(.has-box-vertical) .col-inner:hover,
    .products.grid-view .col-inner:hover,
    .products.has-box-vertical .col-inner:hover,
    .products.list-view .col-inner:hover,
    .box-vertical:hover {
        border-color: #3b82f6 !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45) !important;
    }

    /* White-background SMT hardware photo frames stay clean light plates */
    .product-small .box-image,
    .category-page-row .box-image,
    .sre-product-card__thumb-link,
    .smtbox-product-card__thumb-link,
    .sre-frequently-sourced-card img,
    .smtbox-frequently-sourced-card img,
    .single-product .product-gallery :is(.product-gallery-slider, .catalog-product-gallery__wrapper, .woocommerce-product-gallery__wrapper),
    .single-product .product-gallery :is(.catalog-product-gallery__image, .woocommerce-product-gallery__image, .slide) {
        background-color: var(--smt-color-media-plate, #f8fafc) !important;
        border-radius: 6px;
        border-color: var(--smt-color-border, #334155);
    }

    .product-small .box-image img,
    .sre-product-card__image,
    .smtbox-product-card__image,
    .single-product .product-gallery img {
        filter: brightness(0.95);
    }

    .product-small .title-wrapper,
    .product-small .title-wrapper a,
    .product-small .name a,
    html body #main .products a.catalog-LoopProduct-link,
    html body #main .products a.catalog-loop-product__link,
    html body #main a.catalog-LoopProduct-link,
    html body #main a.catalog-loop-product__link,
    .sre-product-card__title,
    .smtbox-product-card__title,
    .sre-product-card__title a,
    .smtbox-product-card__title a,
    .products.has-box-vertical .product-title a,
    .products.list-view .product-title a {
        color: #93c5fd !important;
    }

    .product-small .title-wrapper a:hover,
    .product-small .name a:hover,
    html body #main .products a.catalog-LoopProduct-link:hover,
    html body #main .products a.catalog-loop-product__link:hover,
    html body #main a.catalog-LoopProduct-link:hover,
    html body #main a.catalog-loop-product__link:hover,
    .sre-product-card__title a:hover,
    .smtbox-product-card__title a:hover,
    .products.has-box-vertical .product-title a:hover,
    .products.list-view .product-title a:hover {
        color: #f8fafc !important;
    }

    .product-small .box-excerpt,
    .box-excerpt.is-small,
    .products.has-box-vertical .box-excerpt,
    .products.list-view .box-excerpt,
    .sre-product-card__sku,
    .smtbox-product-card__sku {
        color: var(--smt-color-text-subtle, #cbd5e1) !important;
    }

    /* List-view secondary / primary action buttons in product-card.css */
    .products.has-box-vertical .sre-details-btn,
    .products.has-box-vertical .smtbox-details-btn,
    .products.list-view .sre-details-btn,
    .products.list-view .smtbox-details-btn,
    .products.has-box-vertical .sre-add-to-quote-btn,
    .products.list-view .sre-add-to-quote-btn {
        background: #1e293b !important;
        color: #93c5fd !important;
        border-color: #3b82f6 !important;
    }
    .products.has-box-vertical .sre-details-btn:hover,
    .products.list-view .sre-details-btn:hover,
    .products.has-box-vertical .sre-add-to-quote-btn:hover,
    .products.list-view .sre-add-to-quote-btn:hover {
        background: #1d4ed8 !important;
        color: #ffffff !important;
        border-color: #60a5fa !important;
    }

    /* ----------------------------------------------------------------------
       8. Single Product Page (Summary, Specs, Recommendations, Trust Badges)
       ---------------------------------------------------------------------- */
    :is(#wrapper, body).single-product .sre-product-summary-box,
    :is(#wrapper, body).single-product .smtbox-product-summary-box,
    html body #main .smtbox-aeo-specs-table,
    html body #main .sre-aeo-specs-table,
    .sre-tech-specs-card,
    .smtbox-tech-specs-card,
    .sre-specs-container,
    .smtbox-specs-container,
    .sre-also-bought-section,
    .smtbox-also-bought-section {
        background: var(--smt-color-surface, #162033) !important;
        background-color: var(--smt-color-surface, #162033) !important;
        border-color: var(--smt-color-border, #334155) !important;
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }

    html body #main .smtbox-aeo-specs-header,
    html body #main .sre-aeo-specs-header {
        background: var(--smt-color-bg-light, #111827) !important;
        border-bottom-color: var(--smt-color-border, #334155) !important;
    }

    html body #main .smtbox-aeo-specs-header h3,
    html body #main .sre-aeo-specs-header h3 {
        color: var(--smt-color-heading, #f8fafc) !important;
    }

    html body #main .smtbox-aeo-specs-item,
    html body #main .sre-aeo-specs-item {
        border-bottom-color: var(--smt-color-border-light, #1e293b) !important;
    }

    html body #main .smtbox-aeo-specs-item [style*="color: #047857" i],
    html body #main .smtbox-aeo-specs-item [style*="color:#047857" i],
    html body #main .smtbox-aeo-specs-item [style*="color: #059669" i],
    html body #main .smtbox-aeo-specs-item [style*="color:#059669" i],
    html body #main .smtbox-aeo-specs-item [style*="color: #16a34a" i] {
        color: #34d399 !important;
    }

    html body #main .smtbox-aeo-faq-section,
    html body #main .sre-aeo-faq-section {
        border-top-color: var(--smt-color-border, #334155) !important;
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }

    html body #main .smtbox-aeo-faq-section summary,
    html body #main .sre-aeo-faq-section summary,
    html body #main .smtbox-aeo-faq-section p,
    html body #main .sre-aeo-faq-section p,
    html body #main .smtbox-product-segmentation,
    html body #main .smtbox-product-segmentation p,
    html body #wrapper .product-short-description,
    html body #wrapper .product-short-description p,
    html body #wrapper .woocommerce-product-details__short-description,
    html body #wrapper .woocommerce-product-details__short-description p {
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }

    html body #main .smtbox-aeo-faq-section h3,
    html body #main .sre-aeo-faq-section h3,
    html body #main h3.product-section-title,
    html body #main .product-section-title {
        color: var(--smt-color-heading, #f8fafc) !important;
    }

    html body #main ul.product-tabs > li > a,
    html body #main ul.wc-tabs > li > a {
        background-color: var(--smt-color-bg-light, #111827) !important;
        color: var(--smt-color-text-subtle, #cbd5e1) !important;
        border-color: var(--smt-color-border, #334155) !important;
    }

    html body #main ul.product-tabs > li.active > a,
    html body #main ul.wc-tabs > li.active > a {
        background-color: var(--smt-color-surface, #162033) !important;
        color: #60a5fa !important;
        border-color: #3b82f6 !important;
    }

    :is(#wrapper, body).single-product .product-title,
    :is(#wrapper, body).single-product .sre-single-title,
    :is(#wrapper, body).single-product .smtbox-single-title {
        color: var(--smt-color-heading, #f8fafc);
    }

    :is(#wrapper, body).single-product .product_meta {
        border-top-color: var(--smt-color-border, #334155);
        color: var(--smt-color-text-muted, #94a3b8);
    }

    .sre-also-bought-section__title,
    .smtbox-also-bought-section__title,
    .sre-also-bought-title,
    .smtbox-also-bought-title,
    .sre-trust-heading,
    .smtbox-trust-heading,
    .sre-trust-heading svg,
    .smtbox-trust-heading svg {
        color: #60a5fa;
        border-bottom-color: #3b82f6;
    }

    .sre-frequently-sourced-card,
    .smtbox-frequently-sourced-card,
    html body #main .sre-also-bought-section > div > div,
    html body #main .smtbox-also-bought-section > div > div {
        background: var(--smt-color-bg-light, #111827) !important;
        background-color: var(--smt-color-bg-light, #111827) !important;
        border-color: var(--smt-color-border, #334155) !important;
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }

    .sre-frequently-sourced-card:hover,
    .smtbox-frequently-sourced-card:hover,
    html body #main .sre-also-bought-section > div > div:hover,
    html body #main .smtbox-also-bought-section > div > div:hover {
        border-color: #3b82f6 !important;
    }

    html body #main .sre-also-bought-section > div > div h4,
    html body #main .smtbox-also-bought-section > div > div h4 {
        color: var(--smt-color-heading, #f8fafc) !important;
    }

    html body #main .sre-also-bought-section > div > div div,
    html body #main .smtbox-also-bought-section > div > div div {
        color: var(--smt-color-text-subtle, #cbd5e1) !important;
    }

    html body #main .sre-also-bought-section > div > div img,
    html body #main .smtbox-also-bought-section > div > div img {
        background-color: var(--smt-color-media-plate, #f8fafc) !important;
        padding: 4px;
    }

    html body #main .sre-also-bought-section > div > div > a:last-child,
    html body #main .smtbox-also-bought-section > div > div > a:last-child {
        color: #ffffff !important;
    }

    .sre-trust-badges-summary,
    .smtbox-trust-badges-summary {
        border-block-start-color: var(--smt-color-border, #334155);
    }
    .sre-trust-item,
    .smtbox-trust-item {
        color: var(--smt-color-text-subtle, #cbd5e1);
    }

    .single-product .product-thumbnails a {
        border-color: var(--smt-color-border, #334155);
        background-color: var(--smt-color-media-plate, #f8fafc);
    }

    .single-product .woocommerce-tabs .nav-vertical + .tab-panels {
        border-left-color: var(--smt-color-border, #334155);
        background-color: transparent;
    }

    /* ----------------------------------------------------------------------
       9. Single Post / Blog / Support Centre / Glossary / RFQ Cart / Search
       ---------------------------------------------------------------------- */
    html body #main .article-inner,
    html body #main article .article-inner,
    html body #main .article-inner.has-shadow,
    html body #main .article-inner.box-shadow-1,
    html body #main .smtbox-search-history-container,
    html body #main .sre-search-history-container,
    html body #main #smtbox-rfq-cart-wrapper > div,
    html body #main #sre-rfq-cart-wrapper > div,
    html body #main .smtbox-rfq-cart-wrapper > div,
    .smtbox-toc-wrapper,
    .sre-toc-wrapper,
    .sre-support-card,
    .smtbox-support-card,
    .sre-glossary-card,
    .smtbox-glossary-card,
    .sre-accordion-item,
    .smtbox-accordion-item,
    .smtbox-bulk-add-section,
    .smtbox-marketing-box,
    .smtbox-tab-content,
    .smtbox-search-history-container,
    .sre-search-history-container,
    .smtbox-no-products-box,
    .sre-no-products-box,
    .smtbox-404-card,
    .sre-404-card,
    .smtbox-comparison-card,
    .sre-comparison-card,
    .smtbox-crossref-card,
    .sre-crossref-card,
    .smtbox-blog-card,
    .sre-blog-card {
        background: var(--smt-color-surface, #162033) !important;
        background-color: var(--smt-color-surface, #162033) !important;
        border-color: var(--smt-color-border, #334155) !important;
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }

    html body #main .smtbox-search-history-header,
    html body #main .sre-search-history-header {
        border-bottom-color: var(--smt-color-border, #334155) !important;
    }

    html body #main .smtbox-search-history-title,
    html body #main .sre-search-history-title {
        color: var(--smt-color-heading, #f8fafc) !important;
    }

    html body #main .smtbox-search-history-clear-btn,
    html body #main .sre-search-history-clear-btn {
        background: #1e293b !important;
        border-color: #475569 !important;
        color: #cbd5e1 !important;
    }

    html body #main .smtbox-search-history-clear-btn:hover,
    html body #main .sre-search-history-clear-btn:hover {
        background: #334155 !important;
        color: #f8fafc !important;
    }

    html body #main .sre-glossary-wiki-link,
    html body #main .smtbox-glossary-wiki-link {
        color: #60a5fa !important;
    }

    html body #main .sre-glossary-wiki-link:hover,
    html body #main .smtbox-glossary-wiki-link:hover {
        color: #fb7185 !important;
    }

    /* Single Article Metadata & Share Bar */
    html body #main footer.entry-meta,
    html body #main .entry-meta,
    html body #main .cat-links,
    html body #main .tags-links,
    html body #main .posted-on,
    html body #main .byline {
        color: var(--smt-color-text-subtle, #cbd5e1) !important;
        border-color: var(--smt-color-border, #334155) !important;
    }

    /* Single Article Share Bar & Share Buttons */
    html body #main .smtbox-single-share-bar,
    html body #main .sre-single-share-bar {
        border-color: var(--smt-color-border, #334155) !important;
    }

    html body #main .smtbox-share-heading,
    html body #main .sre-share-heading {
        color: var(--smt-color-text-subtle, #cbd5e1) !important;
    }

    html body #main .smtbox-share-btn,
    html body #main .sre-share-btn {
        background: #1e293b !important;
        background-color: #1e293b !important;
        border-color: #475569 !important;
        color: #e2e8f0 !important;
    }

    html body #main .smtbox-share-btn span,
    html body #main .sre-share-btn span {
        color: #e2e8f0 !important;
    }

    html body #main .smtbox-share-btn:hover,
    html body #main .sre-share-btn:hover {
        background: #334155 !important;
        border-color: #60a5fa !important;
        color: #ffffff !important;
    }

    /* RFQ Empty Cart Message */
    html body #main #smtbox-rfq-cart-wrapper p,
    html body #main #sre-rfq-cart-wrapper p {
        color: var(--smt-color-text-subtle, #cbd5e1) !important;
    }

    .smtbox-toc-title,
    .sre-toc-title,
    .sre-support-card__title,
    .smtbox-support-card__title,
    .sre-glossary-term,
    .smtbox-glossary-term,
    .sre-section-subtitle,
    .smtbox-section-subtitle,
    .smtbox-support-title,
    .smtbox-rfq-title,
    .sre-glossary-title,
    .smtbox-glossary-title {
        color: #60a5fa !important;
        border-bottom-color: var(--smt-color-border, #334155);
    }

    .smtbox-toc-list li a,
    .sre-toc-list li a,
    .sre-glossary-def,
    .smtbox-glossary-def {
        color: var(--smt-color-text-subtle, #cbd5e1);
    }

    .entry-content h2 {
        border-bottom-color: var(--smt-color-border, #334155);
    }

    .category-smt-parts-list .entry-content > p,
    .category-panasonic-pht-smt-parts-list .entry-content > p {
        background: var(--smt-color-surface, #162033);
        border-left-color: #3b82f6;
        color: var(--smt-color-text-main, #e2e8f0);
    }
    .category-smt-parts-list .entry-content > p:nth-child(even),
    .category-panasonic-pht-smt-parts-list .entry-content > p:nth-child(even) {
        background: var(--smt-color-bg-light, #111827);
        border-left-color: #475569;
    }

    .sre-support-search-wrapper input,
    .smtbox-support-search-wrapper input,
    .sre-glossary-search-wrapper input,
    .smtbox-glossary-search-wrapper input {
        background: var(--smt-color-input-bg, #1e293b);
        color: var(--smt-color-input-text, #f8fafc);
        border-color: var(--smt-color-input-border, #475569);
    }

    .smtbox-bulk-tab-btn:not(.active):not(.is-active) {
        background-color: #1e293b !important;
        color: #cbd5e1 !important;
        border: 1px solid #334155 !important;
    }

    html body #main .smtbox-search-tag,
    html body #main .sre-search-tag,
    .smtbox-search-tag,
    .sre-search-tag {
        background: #1e293b !important;
        border-color: #475569 !important;
        color: #e2e8f0 !important;
    }

    html body #main .smtbox-search-tag-delete,
    html body #main .sre-search-tag-delete {
        color: #94a3b8 !important;
    }

    /* Search Autocomplete Dropdown */
    body > .sre-autocomplete-dropdown,
    body > .smtbox-autocomplete-dropdown,
    .sre-autocomplete-dropdown,
    .smtbox-autocomplete-dropdown,
    .sre-autocomplete-dropdown .sre-history-section,
    .smtbox-autocomplete-dropdown .smtbox-history-section {
        background: var(--smt-color-dropdown-bg, #111827);
        border-color: var(--smt-color-border, #334155);
        box-shadow: var(--smt-shadow-dropdown);
        color: var(--smt-color-text-main, #e2e8f0);
    }

    .sre-autocomplete-dropdown .sre-suggestion-item,
    .smtbox-autocomplete-dropdown .smtbox-suggestion-item {
        color: var(--smt-color-text-main, #e2e8f0);
        border-bottom-color: var(--smt-color-border-light, #1e293b);
    }

    .sre-autocomplete-dropdown .sre-suggestion-item:hover,
    .smtbox-autocomplete-dropdown .smtbox-suggestion-item:hover,
    .sre-autocomplete-dropdown .sre-suggestion-item.active,
    .smtbox-autocomplete-dropdown .smtbox-suggestion-item.active {
        background-color: var(--smt-color-surface-hover, #1e293b);
        color: #93c5fd;
    }

    .sre-autocomplete-dropdown .sre-suggestion-title,
    .smtbox-autocomplete-dropdown .smtbox-suggestion-title {
        color: #f8fafc;
    }

    .sre-autocomplete-dropdown .sre-suggestion-price,
    .smtbox-autocomplete-dropdown .smtbox-suggestion-price,
    .sre-autocomplete-dropdown .sre-history-title,
    .smtbox-autocomplete-dropdown .smtbox-history-title,
    .sre-autocomplete-dropdown .sre-history-clear-btn,
    .smtbox-autocomplete-dropdown .smtbox-history-clear-btn {
        color: var(--smt-color-text-muted, #94a3b8);
    }

    .sre-autocomplete-dropdown .sre-history-header,
    .smtbox-autocomplete-dropdown .smtbox-history-header {
        border-bottom-color: var(--smt-color-border, #334155);
    }

    .sre-autocomplete-dropdown .sre-history-chip,
    .smtbox-autocomplete-dropdown .smtbox-history-chip {
        background: #1e293b;
        border-color: #475569;
        color: #e2e8f0;
    }

    .sre-autocomplete-dropdown .sre-suggestion-img,
    .smtbox-autocomplete-dropdown .smtbox-suggestion-img {
        background-color: #f8fafc;
    }

    /* ----------------------------------------------------------------------
       10. Footer, Absolute Footer, Trust Badges Bar & reCAPTCHA Disclaimer
       ---------------------------------------------------------------------- */
    .footer-wrapper {
        background-color: var(--smt-color-footer-bg, #111827);
        color: var(--smt-color-text-main, #e2e8f0);
    }

    .footer-1,
    .footer-2,
    .footer-widgets {
        background-color: var(--smt-color-footer-bg, #111827) !important;
        border-top: 1px solid var(--smt-color-border, #334155);
        color: var(--smt-color-text-main, #e2e8f0);
    }

    .footer-1 p,
    .footer-1 li,
    .footer-1 .textwidget,
    .footer-2 p,
    .footer-2 li {
        color: var(--smt-color-text-subtle, #cbd5e1);
    }

    .footer-1 strong,
    .footer-1 h3,
    .footer-1 h4,
    .footer-1 .widget-title,
    .footer-2 .widget-title {
        color: var(--smt-color-heading, #f8fafc);
    }

    .footer-1 ul li,
    .footer-1 .menu li,
    .footer-1 .widget_recent_entries li {
        border-color: var(--smt-color-border-light, #1e293b);
    }

    .absolute-footer {
        background-color: #070c18 !important;
        color: #cbd5e1 !important;
        border-top: 1px solid var(--smt-color-border-light, #1e293b);
    }
    .absolute-footer a {
        color: #93c5fd !important;
    }
    .absolute-footer a:hover {
        color: #fb7185 !important;
    }

    /* Global Express Shipping / Secure B2B Payment Trust Bar */
    .smtbox-footer-trust-badges-bar,
    .sre-footer-trust-badges-bar {
        background: var(--smt-color-bg-light, #111827) !important;
        background-color: var(--smt-color-bg-light, #111827) !important;
        border-top: 1px solid var(--smt-color-border, #334155) !important;
        border-bottom: 1px solid var(--smt-color-border, #334155) !important;
        color: var(--smt-color-text-main, #e2e8f0) !important;
    }

    .smtbox-footer-trust-badges-bar div[style*="color: #002780" i],
    .smtbox-footer-trust-badges-bar div[style*="color:#002780" i],
    .smtbox-footer-trust-badges-bar strong,
    .smtbox-footer-trust-badges-bar h4,
    .smtbox-footer-trust-badges-bar [class*="title"],
    .sre-footer-trust-badges-bar [class*="title"] {
        color: #93c5fd !important;
    }

    .smtbox-footer-trust-badges-bar span,
    .smtbox-footer-trust-badges-bar p,
    .smtbox-footer-trust-badges-bar [class*="desc"],
    .smtbox-footer-trust-badges-bar [class*="sub"] {
        color: var(--smt-color-text-subtle, #cbd5e1) !important;
    }

    .smtbox-footer-trust-badges-bar div[style*="background: #e6ebf5" i],
    .smtbox-footer-trust-badges-bar div[style*="border-radius: 50%" i],
    .smtbox-footer-trust-badges-bar [class*="icon"],
    .sre-footer-trust-badges-bar [class*="icon"] {
        background: #1e293b !important;
        background-color: #1e293b !important;
        color: #60a5fa !important;
    }

    .smtbox-footer-trust-badges-bar svg,
    .sre-footer-trust-badges-bar svg {
        color: #60a5fa !important;
        stroke: #60a5fa !important;
    }

    /* Bottom reCAPTCHA Disclaimer Strip */
    .smtbox-recaptcha-disclaimer,
    .sre-recaptcha-disclaimer {
        background-color: var(--smt-color-bg-white, #0b1120) !important;
        color: var(--smt-color-text-muted, #94a3b8) !important;
        border-top: 1px solid var(--smt-color-border-light, #1e293b);
    }

    .smtbox-recaptcha-disclaimer a,
    .sre-recaptcha-disclaimer a {
        color: #60a5fa !important;
    }

    /* ----------------------------------------------------------------------
       11. Utility Classes Dark Mode Harmony
       ---------------------------------------------------------------------- */
    html body .u-color-navy,
    html body .u-text-navy,
    html body .u-color-primary {
        color: var(--smt-color-link, #60a5fa);
    }

    html body .u-text-accent {
        color: #f87171;
    }

    html body .u-bg-amber-50 {
        background-color: #451a03 !important;
    }
    html body .u-color-amber-dark {
        color: #fbbf24 !important;
    }

    /* ----------------------------------------------------------------------
       12. AI Chatbot & Brevo RFQ Mirror (guarantees non-Autoptimize parity)
       ---------------------------------------------------------------------- */
    #sre-chatbot-container,
    #smtbox-chatbot-container,
    .smtbox-assistant {
        --sre-chat-bg-surface: #0f172a;
        --sre-chat-bg-muted: #1e293b;
        --sre-chat-bg-chat: #0b1120;
        --sre-chat-bg-bot: #1e293b;
        --sre-chat-border: #334155;
        --sre-chat-text-main: #e2e8f0;
        --sre-chat-text-muted: #94a3b8;
        --sre-chat-text-sub: #cbd5e1;
    }

    #sre-chatbot-container #sre-chatbot-window,
    #smtbox-chatbot-container #sre-chatbot-window,
    #sre-chatbot-container #smtbox-chatbot-window {
        background-color: #0f172a !important;
        border-color: #334155 !important;
    }

    #sre-chatbot-container #sre-chatbot-messages,
    #smtbox-chatbot-container #sre-chatbot-messages {
        background-color: #0b1120 !important;
    }

    #sre-chatbot-container .bot-message,
    #smtbox-chatbot-container .bot-message {
        background: #1e293b !important;
        color: #e2e8f0 !important;
        border-color: #334155 !important;
    }

    #sre-chatbot-container #sre-chatbot-input-area,
    #smtbox-chatbot-container #sre-chatbot-input-area {
        background-color: #111827 !important;
        border-top-color: #334155 !important;
    }

    #sre-chatbot-container #sre-chatbot-input,
    #smtbox-chatbot-container #sre-chatbot-input {
        background-color: #1e293b !important;
        color: #f8fafc !important;
        border-color: #475569 !important;
    }

    #sre-chatbot-container #sre-chatbot-rfq-view,
    #smtbox-chatbot-container #sre-chatbot-rfq-view,
    #sre-chatbot-rfq-view #sib-container,
    #sre-chatbot-rfq-view .sib-form-container {
        background-color: #111827 !important;
        color: #e2e8f0 !important;
    }

    #sre-chatbot-rfq-view input.input,
    #sre-chatbot-rfq-view textarea.input,
    #sre-chatbot-rfq-view select {
        background-color: #1e293b !important;
        color: #f8fafc !important;
        border-color: #475569 !important;
    }

    #sre-chatbot-container .sre-chatbot-banner,
    #smtbox-chatbot-container .sre-chatbot-banner,
    #sre-chatbot-banner {
        background: rgba(15, 23, 42, 0.96) !important;
        border-color: #334155 !important;
        color: #f8fafc !important;
    }
    #sre-chatbot-banner .sre-banner-title,
    .sre-chatbot-banner .sre-banner-title {
        color: #f8fafc !important;
    }
    #sre-chatbot-banner .sre-banner-sub,
    .sre-chatbot-banner .sre-banner-sub {
        color: #cbd5e1 !important;
    }
}
