﻿/* ------------------------------------------------------------------
   Dark-mode card background.

   style.bundle.css ends with `.card { background-color: #ffffff; }`
   (from the Metronic demo41 source), which comes after Bootstrap's
   theme-aware `.card` rule and so keeps every card white in dark mode.

   This selector is more specific (attribute + class beats class
   alone), so in dark mode it wins regardless of file order and
   restores the theme variable: --bs-card-bg resolves to #15171C in
   dark mode. Light mode is untouched and stays #ffffff.
   ------------------------------------------------------------------ */
[data-bs-theme=dark] .card {
    background-color: var(--bs-card-bg);
}