@charset "utf-8";

/********************************************************
  sidebar-custom — 언더솔루션 프리미엄 다크 테마
********************************************************/

/* ─── 사이드바 박스 ────────────────────────────────── */
#nt_sidebar {
	top: 0;
	width: 280px;
	height: 100%;
	position: fixed;
	z-index: 500;
	background: #141323;
	box-shadow: 4px 0 30px rgba(0, 0, 0, 0.70);
	border-right: 1px solid rgba(97, 93, 250, 0.20);
}

#nt_sidebar_header {
	border-bottom: 2px solid rgba(97, 93, 250, 0.40);
	background: linear-gradient(135deg, #181727 0%, #1d1c34 100%);
	padding: 12px 14px;
}

#nt_sidebar .sidebar-content {
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	background: #141323;
}

/* ─── 아이콘 ────────────────────────────────────────── */
.sidebar-icon i { font-size: 22px; line-height: 22px; color: rgba(210, 208, 255, 0.70); }

/* ─── 메뉴 리스트 ──────────────────────────────────── */
.sidebar-list h5 {
	padding: 0.55rem 1.0rem;
	margin: 0;
	font-weight: 700 !important;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(97, 93, 250, 0.90);
	border-top: 1px solid rgba(97, 93, 250, 0.15);
	margin-top: -1px;
	background: rgba(97, 93, 250, 0.06);
}
.sidebar-list ul.off { display: none; }
.sidebar-list li     { position: relative; }
.sidebar-list li a {
	display: block;
	padding: 0.50rem 1.0rem;
	border-bottom: 1px solid rgba(97, 93, 250, 0.09);
	overflow: hidden;
	color: rgba(210, 208, 255, 0.80);
	font-size: 14px;
	transition: background .18s, color .18s;
}
.sidebar-list li a:hover {
	background: rgba(97, 93, 250, 0.12);
	color: #fff;
}
.sidebar-list li .me-a { padding-right: 2.5rem; }
.sidebar-list .tree-toggle {
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	width: 2.5rem;
	padding: 0.75rem 0;
	margin-top: 0.15rem;
	text-align: center;
	cursor: pointer;
	color: rgba(165, 162, 240, 0.45);
}
.sidebar-list .tree-toggle:hover { color: #615dfa; }

.sidebar-list .me-ul  { background: #141323; }
.sidebar-list .me-ul1 { background: #181727; }
.sidebar-list .me-ul2 {}

.sidebar-list .me-li1 .me-a1,
.sidebar-list .me-li2 .me-a2 { padding-left: 2.0rem; }

.sidebar-list .me-li.active .me-a,
.sidebar-list .me-li1.active .me-a1,
.sidebar-list .me-li2.active .me-a2 {
	font-weight: 700;
	color: #fff;
	background: rgba(97, 93, 250, 0.14);
}

.sidebar-list .me-line1 .me-a1,
.sidebar-list .me-line2 .me-a2 {
	background: rgba(97, 93, 250, 0.10);
	font-weight: 700;
	color: rgba(210, 208, 255, 0.90);
}

/* ─── 반응형 위치 ──────────────────────────────────── */
@media (min-width: 768px) {
	#nt_sidebar { right: -300px; }
}
@media (max-width: 767px) {
	#nt_sidebar { left: -300px; }
}

/* ─── 마스크 ────────────────────────────────────────── */
#nt_sidebar_mask {
	display: none;
	position: fixed;
	z-index: 499;
	background: rgba(0, 0, 0, 0.80);
	left: 0; top: 0;
	width: 100%; height: 100%;
	backdrop-filter: blur(3px);
}

/* ─── 알림 탭 ──────────────────────────────────────── */
#nt_sidebar_noti { position: fixed; z-index: 100; }
@media (min-width: 768px) {
	#nt_sidebar_noti {
		top: 40%; right: 0;
		border-top-left-radius: 50rem !important;
		border-bottom-left-radius: 50rem !important;
	}
}
@media (max-width: 767px) {
	#nt_sidebar_noti {
		left: 0; bottom: 25px;
		border-top-right-radius: 50rem !important;
		border-bottom-right-radius: 50rem !important;
	}
}

/* ─── 상단 이동 버튼 ────────────────────────────────── */
#nt_sidebar_move {
	display: none;
	position: fixed;
	width: 40px;
	bottom: 20px; right: 25px;
	z-index: 2;
}
#nt_sidebar_move span {
	display: block;
	color: #fff;
	background: rgba(97, 93, 250, 0.55);
	border: 1px solid rgba(97, 93, 250, 0.40);
	margin: 5px 0;
	text-align: center;
	border-radius: 50%;
	width: 42px; height: 42px;
	line-height: 42px !important;
	font-size: 19px;
	transition: background .18s;
}
#nt_sidebar_move span:hover {
	background: rgba(97, 93, 250, 0.85);
}
#nt_sidebar_move .sidebar-move-bottom { display: none; }

/* ─── 모바일 상단 메뉴 아이콘 그리드 ───────────────── */
.nt_sidebar_m_top_menu { padding: 10px 0; }
.nt_sidebar_m_top_menu_c {}
.nt_sidebar_m_top_menu_c ul { font-size: 0; }
.nt_sidebar_m_top_menu_c ul:after { content: ''; display: block; visibility: hidden; clear: both; }
.nt_sidebar_m_top_menu_c ul li { display: inline-block; width: 25%; text-align: center; }
.nt_sidebar_m_top_menu_c ul li a {
	position: relative;
	display: block;
	padding: 0 15px;
	text-align: center;
}
.nt_sidebar_m_top_menu_c ul li a .bg_circle {
	padding-top: 100%;
	background: #1e1d38;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.40);
	border: 1px solid rgba(97, 93, 250, 0.20);
}
.nt_sidebar_m_top_menu_c ul li a .img {
	position: absolute;
	width: 100%; top: 50%; left: 0;
	transform: translateY(-50%);
}
.nt_sidebar_m_top_menu_c ul li a .img img { max-width: 35%; vertical-align: middle; }
.nt_sidebar_m_top_menu_c ul li a .mb_memo_cnt {
	position: absolute;
	font-size: 10px;
	font-weight: bold;
	text-align: center;
	top: 50%; left: 58%;
	line-height: 1;
	min-width: 10px;
	padding: 3px 4px 2px;
	background: #615dfa;
	color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(97, 93, 250, 0.55);
	white-space: nowrap;
	vertical-align: baseline;
}
.nt_sidebar_m_top_menu_c ul li .text {
	font-size: 13px;
	color: rgba(210, 208, 255, 0.75);
	font-weight: bold;
	margin-top: 8px;
}

.nt_sidebar_m_top_menu_a {
	padding: 15px 9px 0;
	text-align: center;
	line-height: 1;
}
.nt_sidebar_m_top_menu_a .btn_toggle {
	margin: 0 6px;
	background: #1e1d38;
	border: 1px solid rgba(97, 93, 250, 0.18);
	border-radius: 5px;
	text-align: center;
	font-size: 12px;
	padding: 5px 0;
	cursor: pointer;
	color: rgba(210, 208, 255, 0.70);
}
.nt_sidebar_m_top_menu_a .btn_toggle:hover {
	background: rgba(97, 93, 250, 0.16);
	color: #fff;
}
.nt_sidebar_m_top_menu_a .btn_toggle span i { padding-left: 5px; font-size: 11px; }
.nt_sidebar_m_top_menu_a ul { display: inline-block; }
.nt_sidebar_m_top_menu_a ul:after { content: ''; display: block; visibility: hidden; clear: both; }
.nt_sidebar_m_top_menu_a ul li { float: left; padding: 10px 5px 0; font-size: 12px; color: rgba(210, 208, 255, 0.65); }

#nt_sidebar_m_top_menu_c { padding: 0 10px; }
#nt_sidebar_m_top_menu_c:after { display: block; content: ''; visibility: hidden; clear: both; }
#nt_sidebar_m_top_menu_c > div {
	display: flex;
	align-items: center;
	float: left;
	width: calc((100% - 10px) / 3);
	margin-left: 5px;
	text-align: center;
	height: 50px;
	cursor: pointer;
	border-radius: 8px;
	background: #1e1d38;
	border: 1px solid rgba(97, 93, 250, 0.15);
	transition: background .18s;
}
#nt_sidebar_m_top_menu_c > div:first-child { margin-left: 0; }
#nt_sidebar_m_top_menu_c > div:hover { background: rgba(97, 93, 250, 0.18); }
#nt_sidebar_m_top_menu_c .nt_sidebar_m_top_menu_c_div { width: 100%; margin-top: 3px; }
#nt_sidebar_m_top_menu_c .nt_sidebar_m_top_menu_c_title {
	position: relative;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: -0.08rem;
	color: rgba(210, 208, 255, 0.80);
}
#nt_sidebar_m_top_menu_c .nt_sidebar_m_top_menu_c_title img { width: 30px; }

/* ─── 텔레그램 섹션 ─────────────────────────────────── */
#nt_sidebar .side-telegram {
	padding: 10px 10px 15px 10px;
	background: rgba(97, 93, 250, 0.06);
	border-top: 1px solid rgba(97, 93, 250, 0.14);
}
#nt_sidebar .side-telegram img { border-radius: 6px; }
