/* ============================================================================
   violetPage.css  -  the soft violet page background for the redesigned modules.

   The app's page background (style.css line 1) is a blue wash:
       radial-gradient(circle at 20% 0%, #dbeafe, #eef3f8 35%, #f8fafc)
   For the modules that have been redesigned in the violet theme it is swapped for the same
   shape tinted violet ("B - soft violet wash" in the Desktop prototype). Nothing else changes:
   cards, tables, buttons and the sidebar are untouched.

   WHICH MODULES: Supplier Products, Stock Backlog, Listings to turn on, ASN API, Vendor Fulfilment and Easy Ship, and only while that
   screen is the one showing (:has() asks whether its section is currently visible, so no
   script is involved and the other modules keep their blue). Dark mode is left alone.

   TO ADD A MODULE: add one more  body:has(#itsSectionId:not(.hidden))  line to the selector.
   TO REVERT: delete the <link> to this file in public/index.html.
   ========================================================================== */

html:not([data-theme="dark"]) body:not(.dark):has(#products:not(.hidden)),
html:not([data-theme="dark"]) body:not(.dark):has(#stockBacklog:not(.hidden)),
html:not([data-theme="dark"]) body:not(.dark):has(#listingsToTurnOn:not(.hidden)),
html:not([data-theme="dark"]) body:not(.dark):has(#amazonAsnApiTab:not(.hidden)),
html:not([data-theme="dark"]) body:not(.dark):has(#printLabels:not(.hidden)),
html:not([data-theme="dark"]) body:not(.dark):has(#dimensions:not(.hidden)),
html:not([data-theme="dark"]) body:not(.dark):has(#amazonSalePricing:not(.hidden)),
html:not([data-theme="dark"]) body:not(.dark):has(#listingBuilder:not(.hidden)),
html:not([data-theme="dark"]) body:not(.dark):has(#easyShip:not(.hidden)){
  background:radial-gradient(circle at 20% 0%,#ece6fd,#f4f1fc 35%,#faf9fe);
}
