/* OPP brand overrides for vanilla-cookieconsent (vendored v3.1.0).
   Loaded AFTER /vendor/cookieconsent/cookieconsent.css on both the
   marketing site and the docs site. Palette: docs/policies + brand guide
   (primary-600 #298a39, Inter, gray rail). Dark mode follows the site's
   `dark` class via `.cc--darkmode` (synced in cookie-consent.js). */

#cc-main {
    --cc-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --cc-modal-border-radius: 0.75rem;
    --cc-btn-border-radius: 0.5rem;

    --cc-btn-primary-bg: #298a39;
    --cc-btn-primary-border-color: #298a39;
    --cc-btn-primary-hover-bg: #227030;
    --cc-btn-primary-hover-border-color: #227030;

    --cc-toggle-on-bg: #298a39;

    --cc-link-color: #298a39;
}

.cc--darkmode #cc-main {
    --cc-btn-primary-bg: #59ad74;
    --cc-btn-primary-border-color: #59ad74;
    --cc-btn-primary-hover-bg: #8bc8a1;
    --cc-btn-primary-hover-border-color: #8bc8a1;
    --cc-btn-primary-color: #0a1f10;
    --cc-btn-primary-hover-color: #0a1f10;

    --cc-toggle-on-bg: #59ad74;

    --cc-link-color: #8bc8a1;
}
