/* Cookie consent (vanilla-cookieconsent v3) — SHARED brand theme.
 *
 * Single source of truth for the cookie banner LOOK across all LPs.
 * Byte-copied into each LP folder alongside consent-config.js so the
 * banner is identical on teorihuset.no and every niche LP, regardless
 * of each LP's own brand palette. Hardcoded colours on purpose — do
 * NOT reference per-LP CSS variables here.
 *
 * Sync one-liner from repo root:
 *
 *   for d in Bil Boat Drone Jeger/jeger_LP Statsborger Teorihuset; do
 *     cp frontend/websites/_shared/consent-styles.css \
 *        frontend/websites/$d/consent-styles.css
 *   done
 */

#cc-main {
  --cc-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --cc-bg: #FFFFFF;
  --cc-primary-color: #1A1D21;
  --cc-secondary-color: #43484E;

  --cc-btn-primary-bg: #1F4FD8;
  --cc-btn-primary-color: #FFFFFF;
  --cc-btn-primary-border-color: #1F4FD8;
  --cc-btn-primary-hover-bg: #163CA8;
  --cc-btn-primary-hover-color: #FFFFFF;
  --cc-btn-primary-hover-border-color: #163CA8;

  --cc-btn-secondary-bg: transparent;
  --cc-btn-secondary-color: #43484E;
  --cc-btn-secondary-border-color: #D3D5D0;
  --cc-btn-secondary-hover-bg: #F4F5F3;
  --cc-btn-secondary-hover-color: #1A1D21;
  --cc-btn-secondary-hover-border-color: #D3D5D0;

  --cc-cookie-category-block-bg: #F4F5F3;
  --cc-cookie-category-block-border: #E4E5E1;
  --cc-cookie-category-block-bg-hover: #F4F5F3;
  --cc-toggle-on-bg: #1F4FD8;

  --cc-link-color: #1F4FD8;
  --cc-modal-border-radius: 16px;
  --cc-btn-border-radius: 10px;
}

/* Lift the primary CTA + tighten the secondary so the visual hierarchy
   reads at a glance. Scoped to the consent modal so it does not bleed. */
#cc-main .cm__btn[data-role="all"] {
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(31,79,216,.28);
}
#cc-main .cm__btn[data-role="show"] {
  font-weight: 500;
}

/* Optional value-framing + trust-line styling.
   Paired with the <strong class="cc-pitch"> + <small class="cc-trust">
   spans in consent-config.js. Removing those spans from the config
   makes these rules dead but harmless. */
#cc-main .cm__desc .cc-pitch {
  display: block;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1A1D21;
  margin-bottom: 8px;
}
#cc-main .cm__desc .cc-trust {
  display: block;
  font-size: 12.5px;
  color: #6B7177;
  margin-top: 10px;
}
