/* /frontend/css/theme.css - 20260930 - 21-15 */
/**
* A-FUCKING-DOCS: SSOT THEME MATRIX.
* All .night-mode overrides are strictly consolidated here.
* Header colors are now identical across themes, removing redundancy.
*/
.night-mode,
html.night-mode,
html.night-mode body,
body.night-mode,
html.night-mode .chart-container,
body.night-mode .chart-container,
.chart-container.night-mode {
	background-color: #000000 !important;
	color: #ececf1 !important;
}
/* --- THEME SWITCHER COMPONENT (NIGHT MODE) --- */
.night-mode .theme-switch {
	background-color: #333333;
	border-color: #555555;
}
.night-mode .theme-switch .switch-track {
	justify-content: flex-start;
}
.night-mode .theme-switch .icon-sun {
	display: block;
}
.night-mode .theme-switch .icon-moon {
	display: none;
}
.night-mode .theme-switch .switch-thumb {
	transform: translateX(32px);
	background-color: #FFFFFF !important;
}
/* --- LANGUAGE SWITCHER COMPONENT (NIGHT MODE) --- */
.night-mode .lang-switcher-component .lang-btn {
	background-color: transparent !important;
	color: #FFFFFF !important;
	border: none !important;
}
.night-mode .lang-switcher-component .lang-btn .arrow-down {
	border-top-color: #FFFFFF !important;
}
.night-mode .lang-switcher-component div[id*="-lang-list"],
.night-mode .lang-switcher-component #lang-list,
.night-mode .lang-list {
	background-color: #000000 !important;
	border-color: #555555 !important;
}
.night-mode .lang-switcher-component .lang-item {
	color: #FFFFFF !important;
}
.night-mode .lang-switcher-component .lang-item:hover {
	background-color: #333333 !important;
}
/* --- CORE UI ELEMENTS (NIGHT MODE) --- */
.night-mode .global-controls.pinned {
	background-color: #000000;
}
.night-mode #scale-bar-container {
	background-color: #000000;
}
.night-mode #scale-bar {
	background-color: #000000;
}
.night-mode .legend-scroll-container {
	background-color: #000000;
}
.night-mode .formula-bar {
	background-color: #000000;
}