/**
 * Klim · Protostar · dark mode
 * 05:08 · 9.08.2026 · Olympia · Tallihan Khania
 */
html[data-theme="dark"] {
	color-scheme: dark;
}

html[data-theme="dark"] body.site {
	background-color: #1a1d21;
	color: #e6e8eb;
	border-top-color: #6b8cae;
}

html[data-theme="dark"] a {
	color: #8eb6d8;
}

html[data-theme="dark"] a:hover,
html[data-theme="dark"] a:focus {
	color: #b7d4ef;
}

html[data-theme="dark"] .body,
html[data-theme="dark"] #content,
html[data-theme="dark"] .container,
html[data-theme="dark"] .container-fluid {
	background-color: transparent;
	color: #e6e8eb;
}

html[data-theme="dark"] .header,
html[data-theme="dark"] .header-inner {
	background-color: #12151a;
	border-bottom: 1px solid #2c323a;
}

html[data-theme="dark"] .brand,
html[data-theme="dark"] .site-title,
html[data-theme="dark"] .site-description {
	color: #f0f2f5;
}

html[data-theme="dark"] .navigation,
html[data-theme="dark"] .nav-collapse,
html[data-theme="dark"] .navbar {
	background-color: #12151a;
}

html[data-theme="dark"] .nav > li > a,
html[data-theme="dark"] .navigation a,
html[data-theme="dark"] .maximenuck a,
html[data-theme="dark"] .titreck-title {
	color: #e6e8eb !important;
}

html[data-theme="dark"] .nav > li > a:hover,
html[data-theme="dark"] .navigation a:hover,
html[data-theme="dark"] .maximenuck a:hover {
	background-color: #2a3139;
	color: #fff !important;
}

html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] ul.maximenuck2 {
	background-color: #1e2329 !important;
	border-color: #2c323a !important;
}

html[data-theme="dark"] .dropdown-menu > li > a,
html[data-theme="dark"] ul.maximenuck2 a {
	color: #e6e8eb !important;
}

html[data-theme="dark"] .well,
html[data-theme="dark"] .sidebar-nav,
html[data-theme="dark"] #aside .well {
	background-color: #22272e;
	border-color: #2c323a;
	color: #e6e8eb;
}

html[data-theme="dark"] .item-page,
html[data-theme="dark"] .blog,
html[data-theme="dark"] article,
html[data-theme="dark"] .page-header,
html[data-theme="dark"] .page-header h1,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4 {
	color: #f0f2f5;
	border-color: #2c323a;
}

html[data-theme="dark"] hr {
	border-top-color: #2c323a;
}

html[data-theme="dark"] .footer {
	background-color: #12151a;
	color: #c5cad1;
	border-top: 1px solid #2c323a;
}

html[data-theme="dark"] .footer a {
	color: #8eb6d8;
}

html[data-theme="dark"] table,
html[data-theme="dark"] .table,
html[data-theme="dark"] .table th,
html[data-theme="dark"] .table td {
	background-color: #1e2329;
	color: #e6e8eb;
	border-color: #2c323a;
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select,
html[data-theme="dark"] .inputbox {
	background-color: #12151a;
	color: #e6e8eb;
	border-color: #3a424c;
}

html[data-theme="dark"] details,
html[data-theme="dark"] summary {
	color: #e6e8eb;
}

html[data-theme="dark"] .btn,
html[data-theme="dark"] .btn-navbar {
	background-color: #2a3139;
	color: #e6e8eb;
	border-color: #3a424c;
	text-shadow: none;
}

html[data-theme="dark"] .btn:hover,
html[data-theme="dark"] .btn-navbar:hover {
	background-color: #3a424c;
	color: #fff;
}

/* Theme toggle */
.kz-theme-toggle {
	display: inline-block;
	margin: 8px 0 0 12px;
	padding: 4px 10px;
	font-size: 12px;
	line-height: 1.4;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #f5f5f5;
	color: #333;
	cursor: pointer;
	vertical-align: middle;
	white-space: nowrap;
}

html[data-theme="dark"] .kz-theme-toggle {
	background: #2a3139;
	border-color: #3a424c;
	color: #e6e8eb;
}

.kz-theme-toggle:hover,
.kz-theme-toggle:focus {
	outline: none;
	opacity: 0.92;
}

.header-inner .header-search {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 4px;
}
