/* ===========================================================
   Kvikkredit theme for the AXO / LendMe loan-application widget.

   Text styling (fonts, sizes, weights) is deliberately LendMe's own —
   only colours are re-mapped to Kvikkredit's green, plus a few spacing
   fixes. AXO themes everything through CSS custom properties on its
   [data-theme] element inside @layer axo; these rules are unlayered,
   so the tokens below win and every step of the flow picks them up.
   AXO's class names are hashed: match only the stable prefixes.
   The price example under the button stays fully visible (legal
   requirement for credit marketing).
   =========================================================== */

#axo-embed-target [data-theme]{
  /* AXO "green" (primary) -> Kvikkredit green (#1f6f58 = 500) */
  --color-green-50:#eef7f3;  --color-green-100:#d6ece3; --color-green-200:#b3dccb;
  --color-green-300:#86c3ab; --color-green-400:#3f8e75; --color-green-500:#1f6f58;
  --color-green-600:#195c49; --color-green-700:#144b3c; --color-green-800:#0f3b30;
  --color-green-900:#0a2921;

  --action-color-background-primary:#1f6f58;
  --action-color-background-primary-hover:#195c49;
  --action-color-border-primary:#1f6f58;
  --action-color-border-primary-hover:#195c49;
  --input-color-background-rail-fill:#1f6f58;
  --input-color-foreground-selector:#1f6f58;
}

/* Card: same as LendMe, but no extra outer margin inside our hero card. */
#axo-embed-target [class*="_sectionLayout__content_"]{ margin:0; }

/* "Advarsel! Det koster penge at låne penge." above the main button:
   a few px higher and some air below (same as /lendme/). */
#axo-embed-target form > [class*="_stack_"] > [class*="_creditWarningNotice_"]:has(+ button[class*="_button_"]){
  margin-top:-8px; margin-bottom:12px;
}

/* Modstrøm/TELMORE permission injected by vl-extras.js above AXO's
   marketing checkbox (same text as kredit24.dk's consent-2). Text size
   and colour follow AXO's consent text. */
#axo-embed-target .vl-partner{ margin-top:14px; color:#5b6b66; font-size:14px; line-height:1.5; }
#axo-embed-target .vl-partner + [class*="_consent_"]{ margin-top:8px; }
#axo-embed-target .vl-partner a{ color:inherit; text-decoration:underline; }
#axo-embed-target .vl-partner__info{ margin:8px 0 0 32px; padding:10px 12px; border:1px solid #b3dccb; border-radius:10px; background:#eef7f3; font-size:13px; line-height:1.45; color:#144b3c; }
#axo-embed-target .vl-partner__info p + p{ margin-top:8px; }
#axo-embed-target .vl-partner__info a{ color:#144b3c; }
