/* CP Cookie Banner — coolplugins.net brand theme.
   Cyan focus + dark-cyan secondary, navy text.

   NOTE: CLAUDE.md lists both --cppb-bg-soft and --cppb-text-dark as #0d1031,
   which would make the Reject-button hover background and the "Always on"
   badge unreadable (dark text on identical dark background). Substituted a
   pale cyan tint (#eaf6fd) for bg-soft to preserve contrast. Adjust if a
   different visual is preferred for the host brand. */

.cppb-banner,
.cppb-modal,
.cppb-fab {
    --cppb-focus: #27c2f3;
    --cppb-secondary: #0086b1;
    --cppb-bg-soft: #eaf6fd;
    --cppb-text-dark: #0d1031;
    --cppb-text-muted: #5a6b80;
    /* Text that sits ON --cppb-focus. White fails WCAG AA on six of
       the seven accents, so this is per theme, not global. */
    --cppb-on-focus: #0d1031;
    /* The accent darkened to pass AA as text or an icon on white.
       Same hue; used for links and the FAB glyph. */
    --cppb-link: #1a80a0;
    --cppb-bg: #ffffff;
    --cppb-border: rgba(0, 0, 0, 0.08);
}


/* ---------- Dark scheme ---------------------------------------------------
   Every value here was derived and checked against WCAG rather than picked by
   eye (scratchpad/dark-palettes.php). Targets: body text >= 7:1 on the
   surface, muted text and links >= 4.5:1, text on the accent pill >= 4.5:1,
   and the pill itself >= 3:1 against the surface so it reads as a control
   (1.4.11) and not as part of the background.

   The surface carries ~6% of the brand hue. Pure neutral greys make all seven
   themes look like the same plugin; a trace of hue keeps the banner recognisably
   part of the site without muddying any text pair.

   Measured for this theme: text 15.37:1, muted 7.99:1,
   link 8.14:1, on-pill 8.89:1, pill-vs-surface 8.14:1. */
.cppb-banner--dark,
.cppb-modal--dark,
.cppb-fab--dark {
    --cppb-bg: #131e25;
    --cppb-bg-soft: #1e2d36;
    --cppb-text-dark: #f2f4f7;
    --cppb-text-muted: #aab3bf;
    --cppb-border: rgba(255, 255, 255, 0.14);
    --cppb-focus: #27c2f3;
    --cppb-on-focus: #0d1031;
    --cppb-link: #27c2f3;
}
