/* ==========================================================================
   Fluent Cart — purchase-history page, Astra Pro dark mode
   Plugin: Fluent Cart Account Portal by ICT Shift (v1.3.7)

   purchase-history.css remaps every palette-driven color through the
   --fcpa-* roles, which resolve to the Astra palette in both schemes.
   This file carries only the values that differ in the dark scheme:
   the input/select boxes (the portal background role IS the page
   background in dark, so the boxes need the surface role to stay
   separated) and the active page-number text (slot 5 is a dark surface
   in the dark palette, not white). Every rule is scoped to the dark
   color scheme (and to this page), so light mode stays untouched.
   ========================================================================== */

/* Search field and "10 / page" select: on the dark page the --fcpa-bg
   surface is identical to the page background, so give the boxes the
   dark-slate surface role (the slot-6 border from purchase-history.css
   stays). */
html.astra-color-scheme-dark .fcpa-active .fct-customer-purchase-history .el-pagination .el-select__wrapper,
html.astra-color-scheme-dark .fcpa-active .fct-customer-purchase-history .fct-collapsible-search-wrap .el-input__wrapper {
    background-color: var(--fcpa-surface, var(--ast-global-color-4)) !important;
}

/* Active page number: --fcpa-accent-text resolves to slot 5, which is a
   dark surface in the dark palette — use white (slot 2) on the blue
   chip instead. */
html.astra-color-scheme-dark .fcpa-active .fct-customer-purchase-history .el-pagination .el-pager li.is-active {
    color: var(--ast-global-color-2);
}
