/* Theme overrides for dark mode */
/* Load order: this file must be included AFTER assets/css/styles.css */

/* Override variables when html has the dark class (Metronic adds this) */
html.dark {
 --background: #353f53;
 --card: #2b3344;
 --popover: #2b3344;
 --border: #404a60;
 --input: #404a60;
}

/* Also support the attribute model some pages may use */
[data-kt-theme='dark'] {
 --background: #353f53;
 --card: #2b3344;
 --popover: #2b3344;
 --border: #404a60;
 --input: #404a60;
}

/* Force the base background as a safety net against hard-coded backgrounds */
html.dark, html.dark body,
[data-kt-theme='dark'], [data-kt-theme='dark'] body {
 background-color: #353f53 !important;
}
