* {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body {
	font-family: 'Segoe UI', sans-serif;
	margin: 0;
	background: #fff;
	color: #222;
	line-height: 1.6;
}

.page-header {
	padding: 1rem;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	background-color: #fff;
	border-bottom: 1px solid #ddd;
}

.logo-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.logo-icon {
	width: 20px;
}

.header-link {
	color: #1976f2;
	font-weight: 600;
	text-decoration: none;
	font-size: 1rem;
}

.container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
	gap: 2rem;
}

.content {
	flex: 3;
	min-width: 300px;
}

.sidebar {
	flex: 1;
	min-width: 200px;
	font-size: 0.9rem;
	color: #555;
	position: sticky;
	top: 1rem;
	height: fit-content;
}

.sidebar ol {
	list-style: decimal;
	padding-left: 1rem;
}

.sidebar ul {
	list-style: none;
	padding-left: 1rem;
}

.sidebar a {
	text-decoration: none;
	color: #1976f2;
}

h1 {
	font-size: 2rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

h2 {
	font-size: 1.5rem;
	margin-top: 2rem;
}

h3 {
	font-size: 1.2rem;
	margin-top: 1.5rem;
}

.subtitle {
	color: #666;
	max-width: 700px;
}

.icon {
	width: 28px;
}

.warning-box {
	background: #fff4f2;
	color: #3d3d3d;
	border-radius: 8px;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 1rem 0;
	font-size: 14px;
}

.warning-icon {
	width: 16px;
	color: #e53935;
    filter: invert(9%) sepia(97%) saturate(6658%) hue-rotate(359deg) brightness(99%) contrast(119%);
}

.blue-line {
	width: 100%;
	max-width: 600px;
	border: none;
	border-top: 6px solid #4ac6e9;
	border-radius: 3px;
	margin: 1.5rem auto;
}

/* 📱 Mobile Responsive */
@media screen and (max-width: 768px) {
	.container {
		flex-direction: column;
		padding: 1rem;
	}

	.sidebar {
		position: static;
		order: -1;
	}
}

/* 🔘 Button styles */
.dark-toggle {
	position: fixed;
	bottom: 20px;
	right: 20px;
	padding: 10px 16px;
	background-color: #222;
	color: #fff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	font-size: 14px;
	z-index: 1000;
	transition: background 0.3s ease;
}

.dark-toggle:hover {
	background-color: #333;
}

/* 🌙 Dark mode styles */
body.dark-mode {
	background-color: #121212;
	color: #e0e0e0;
}

body.dark-mode .page-header {
	background-color: #1e1e1e;
	border-bottom-color: #333;
}

body.dark-mode .header-link {
	color: #90caf9;
}

body.dark-mode .subtitle {
	color: #bbb;
}

body.dark-mode .sidebar a {
	color: #90caf9;
}

body.dark-mode .warning-box {
	background: #2a2a2a;
	color: #ffa9a9;
}

body.dark-mode .blue-line {
	border-top-color: #0098cc;
}
