/* ==========================================================================
   Fluent Cart — invoice (receipt) page, Astra Pro dark mode
   Plugin: Fluent Cart Account Portal by ICT Shift (v1.3.6)

   receipt.css re-frames the receipt as a single card and remaps every
   palette-driven color for both schemes. This file only carries values
   that differ in the dark scheme: button text (white is slot 2 here;
   slot 5 in light) and the VAT chips — FC's light amber/green
   chips would read as bright islands on the dark sheet. Every rule is
   scoped to the dark color scheme (and the receipt), so light mode stays
   structurally untouched.
   ========================================================================== */

/* White text on the filled blue: the primary "View Order" and the filled
   hover/focus state of the outlined "Download Receipt". (Light scheme
   uses slot 5; see receipt.css.) The footer sits outside the
   .fct-thank-you-page wrapper and Fluent Cart paints the same property
   later, hence the !important — same as in receipt.css. */
html.astra-color-scheme-dark .fct-thank-you-page-footer .fct-thank-you-page-view-order-button,
html.astra-color-scheme-dark .fct-thank-you-page-footer .fct-thank-you-page-download-receipt-button:hover,
html.astra-color-scheme-dark .fct-thank-you-page-footer .fct-thank-you-page-download-receipt-button:focus,
html.astra-color-scheme-dark .fct-thank-you-page-footer .fct-thank-you-page-download-receipt-button:focus-visible {
    color: var(--ast-global-color-2) !important;
}

/* VAT inclusive/exclusive chips: FC's light-green (#EAF3DE/#3B6D11) and
   light-amber (#FAEEDA/#854F0B) pairs are re-mapped to the dark field
   surface with muted text (same treatment as checkout-dark-mode.css);
   the inclusive/exclusive distinction stays in the chip label. */
html.astra-color-scheme-dark .fct-thank-you-page .fct-tax-pill--exclusive,
html.astra-color-scheme-dark .fct-thank-you-page .fct-tax-pill--inclusive {
    background-color: var(--ast-global-color-4);
    border: 1px solid var(--ast-global-color-6);
    color: var(--ast-global-color-3);
}

html.astra-color-scheme-dark .fct-thank-you-page .fct-item-tax-pill-amount.is-exclusive,
html.astra-color-scheme-dark .fct-thank-you-page .fct-item-tax-pill-amount.is-inclusive {
    color: var(--ast-global-color-3);
}

/* Order/invoice list (v1.3.8): text on the filled accent (the "View
   invoice" hover-fill and the no-orders CTA) — --fcpa-accent-text resolves
   to slot 5, which is the dark surface in the dark palette; use white
   (slot 2) instead, same as the receipt buttons above. */
html.astra-color-scheme-dark .fcpa-active .fcpa-invoice-fallback .fcpa-invoice-fallback-view:hover,
html.astra-color-scheme-dark .fcpa-active .fcpa-invoice-fallback .fcpa-invoice-fallback-view:focus,
html.astra-color-scheme-dark .fcpa-active .fcpa-invoice-fallback .fcpa-invoice-fallback-view:focus-visible,
html.astra-color-scheme-dark .fcpa-active .fcpa-invoice-fallback .fcpa-invoice-fallback-cta {
    color: var(--ast-global-color-2);
}
