:root {
	--border-color: light-dark( oklch(92.2% 0 0), oklch(26.9% 0 0) );
	--default-color: #313131;
	--bg-color: #f2f5f9;
	--accent-1: #e2eaf3;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 14px;
	color: var(--default-color);
	background-color: var(--bg-color);
	overflow: hidden;
	height: 100vh;
}

.page-wrapper {
	display: flex;
	height: 100vh;
	width: 100%;
	overflow: hidden;
}

/* --- SIDEBAR (260px, collapses to 0px width) --- */
.sidebar {
	width: 260px;
	background: #ffffff;
	transition: width 0.2s ease;
	display: flex;
	flex-direction: column;
	height: 100vh;
	overflow-y: auto;
	overflow-x: hidden;
	flex-shrink: 0;
	border-right: 1px solid var(--border-color);
}

/* COLLAPSED → width 0, content hidden (toggle sits in header) */
.sidebar.collapsed {
	width: 0;
}

.sidebar-inner {
	padding: 1.8rem 1rem 1rem 1rem;
	min-width: 260px;
}

.sidebar-header {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 60px;
	font-weight: 500;
	font-size: 1.70rem;
	letter-spacing: -.25px;
	border-bottom: 1px solid var(--border-color);
	overflow: hidden;
}

ul.menu {
	list-style:none;
	padding:0;
	color: var(--default-color);
}

ul.menu li {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding:0.7rem 0.5rem;
	vertical-align: center;
}
ul.menu li .menu-icon-wrapper {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 24px;
	height: 24px;
	margin-right: 8px;
}
ul.menu li a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	color: var(--default-color);
}
ul.menu li a svg {
	opacity: .50;
}

/* --- MAIN CONTENT (flex, with header + scrollable area) --- */
.main-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	height: 100vh;
	overflow: hidden;
	background-color: #ffffff;
}

.content-header {
	height: 60px;
	background-color: white;
	border-bottom: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 0 1.5rem;
	flex-shrink: 0;
	gap: 1.2rem;
	box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.header-toggle-btn {
	background: transparent;
	border: 1px solid #cddbe9;
	color: #2d465e;
	border-radius: 8px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: 0.15s;
	font-size: 1.2rem;
}
.header-toggle-btn:hover {
	background-color: #eaf0f8;
	border-color: #8fa8c5;
}

/* placeholder title (barebone, but you can keep minimal) */
.page-title {
	font-weight: 500;
	color: #2f4057;
	font-size: 1rem;
}

/* PAGE CONTENT — scrollable independently */
.content {
	flex: 1;
	overflow-y: auto;              /* INDEPENDENT SCROLL */
	padding: 2rem 2rem;
}

/* (optional) very light placeholder cards — minimal, no text */
.placeholder-card {
	background: white;
	border-radius: 20px;
	height: 120px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.02);
	border: 1px solid #e9eef4;
}

/* small spacer row */
.grid-demo {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* footer empty 5px (only in sidebar as requested, but we keep it minimal) */
.sidebar-footer {
	height: 5px;
	background: transparent;
	flex-shrink: 0;
}