/* =========================
   Base
========================= */
html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
	Roboto, Pretendard, Arial, sans-serif;
	background: #1e1f22; /* 덜 어두운 다크 */
	color: #e6e6e6;
}

* {
	box-sizing: border-box;
}

a {
	color: inherit;
	text-decoration: none;
}

/* =========================
   App Layout
========================= */
.app {
	display: flex;
	height: 100vh;
	width: 100vw;
	overflow: hidden;
}

/* =========================
   Sidebar
========================= */
.app-side {
	width: 240px;
	flex: 0 0 240px;
	background: #18191c;
	border-right: 1px solid #2a2b30;
	display: flex;
	flex-direction: column;
}

.app-side__brand {
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid #2a2b30;
	font-size: 20px;
	font-weight: bold;
}

.app-side__logo {
	height: 26px;
	opacity: 0.95;
}

/* menu */
.app-side__menu {
	flex: 1 1 auto;
	padding: 12px 0;
}

.app-side__item {
	display: flex;
	align-items: center;
	height: 42px;
	padding: 0 20px;
	font-size: 14px;
	color: #cfd1d6;
	position: relative;
}

.app-side__item:hover {
	background: #222328;
	color: #ffffff;
}

.app-side__item.is-active {
	background: #222328;
	color: #ffffff;
}

.app-side__item.is-active::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: #6aa9ff; /* 포인트 컬러 */
}

/* footer user (더미) */
.app-side__foot {
	flex: 0 0 auto;
	padding: 12px 16px;
	border-top: 1px solid #2a2b30;
}

.app-side__user {
	display: flex;
	align-items: center;
	gap: 10px;
}

.app-side__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #3a3b40;
}

.app-side__name {
	font-size: 13px;
}

.app-side__role {
	font-size: 11px;
	color: #9fa2a8;
}

/* =========================
   Main Area
========================= */
.app-main {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #1e1f22;
}

/* header 제거했으므로 content 바로 시작 */
.app-content {
	flex: 1 1 auto;
	padding: 15px 20px;
	overflow: auto;
}

/* =========================
   Scrollbar (optional)
========================= */
.app-content::-webkit-scrollbar {
	width: 10px;
}

.app-content::-webkit-scrollbar-thumb {
	background: #2f3035;
	border-radius: 5px;
}

.app-content::-webkit-scrollbar-track {
	background: transparent;
}

/* =========================
   Responsive (optional)
========================= */
@media (max-width: 900px) {
	.app-side {
		width: 200px;
		flex: 0 0 200px;
	}
}


/* ===== Sidebar menu look (스크샷 느낌) ===== */
.app-side__menu{
	padding: 14px 12px;
}

.app-side__item{
	display:flex;
	align-items:center;
	gap: 12px;

	height: 48px;
	padding: 0 14px;
	margin: 10px 0;

	border-radius: 12px;
	color: #cfd1d6;

	background: transparent;
	border: 1px solid transparent;

	font-size: 14px;
	font-weight: 600;
}

.app-side__item i{
	width: 18px;
	text-align: center;
	font-size: 14px;
	opacity: 0.9;
	color: #b7bac2;
}

.app-side__item:hover{
	background: #23242a;
	border-color: #2f3138;
	color: #ffffff;
}

.app-side__item:hover i{
	color:#ffffff;
}

.app-side__item.is-active{
	background: #2a2c33;
	border-color: #3a3d46;
	color: #ffffff;
	box-shadow: inset 3px 0 0 #6aa9ff; /* 좌측 포인트 바 */
}

.app-side__item.is-active i{
	color:#ffffff;
}

/* 기존 ::before 포인트바 쓰고 있으면 중복되니 끄기 */
.app-side__item.is-active::before{
	display:none;
}

/* ===== User avatar (성 1글자) ===== */
.app-side__avatar{
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #2a2c33;
	border: 1px solid #3a3d46;
	display:flex;
	align-items:center;
	justify-content:center;
}

.app-side__avatarText{
	font-size: 14px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.2px;
}
