@charset "utf-8";

/********************************************************
■ SideBar : 사이드바(모바일 메뉴) & Nariya Customization
********************************************************/

/* 전체 사이드바 컨테이너 */
#nt_sidebar {
    top: 0;
    width: 280px;
    height:100%;
    position: fixed;
    z-index:500;
    background-color: #f5f5f5 !important; /* 어두운 배경색 적용 */
    color: #555;
    border-left: 1px solid #2c3440;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: -5px 0 20px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: -5px 0 20px rgba(0, 0, 0, 0.25);
}
#nt_sidebar .sidebar-content { 
    height: 100%; 
    overflow-y:auto; 
    overflow-x:hidden; 
    -webkit-overflow-scrolling:touch; 
}

/* 사이드바 헤더 */
#nt_sidebar_header {
    background-color: #f5f5f5 !important; /* 헤더 배경색 통일 */
    border-bottom: 1px solid #34495e;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#nt_sidebar_header h3 a {
    font-weight: 600 !important;
}

/* 아이콘 메뉴 */
.sidebar-icon {
    background-color: #1f2937 !important; /* 아이콘 메뉴 배경 */
    margin-right: 0 !important; /* mr-n1 클래스 효과 제거 */
}
.sidebar-icon i { 
    font-size:22px; 
    line-height:22px; 
}
.sidebar-icon li.col {
    border-color: #2c3440 !important; /* 구분선 색상 */
    font-weight: 800;
}
.sidebar-icon a {
    color: #D9D9D9;
    padding: 10px 0;
    transition: all 0.2s ease-in-out;
}
.sidebar-icon a:hover {
    color: #ffffff;
    background-color: #313b4a;
}
.sidebar-icon a i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* 로그인/멤버십 버튼 그룹 */
.btn-group.w-100 .btn-primary {
    background-color: #f5f5f5;
    border-color: #34495e;
    border-radius: 6px !important; /* 둥근 모서리 적용 */
    margin: 5px;
    transition: background-color 0.2s, transform 0.2s;
    font-weight: 800;
}
.btn-group.w-100 .btn-primary:hover {
    background-color: #4a627a;
    transform: translateY(-2px);
}

/* 로그인 폼 (sidebar-login) */
#sidebar-login {
    padding: 15px;
}
#sidebar-login .form-group label {
    color: #a0a0a0;
}
#sidebar-login .form-control {
    background-color: #2c3440;
    border: 1px solid #4a5260;
    color: #e0e0e0;
    border-radius: 6px;
}
#sidebar-login .form-control::placeholder {
    color: #777;
}
#sidebar-login .btn-primary {
     width: 100%;
     padding: 10px;
     background-color: #e67e22;
     border: none;
}

/* 사이드바 메뉴 (아코디언) */
#sidebar-menu .na-menu .na-menu-item {
    border-bottom: 1px solid #2c3440;
}
#sidebar-menu .na-menu .na-menu-item a {
    color: #c0c0c0;
    padding: 12px 15px;
}
#sidebar-menu .na-menu .na-menu-item a:hover,
#sidebar-menu .na-menu .na-menu-item.active > a {
    color: #ffffff;
    background-color: #2c3440;
}
#sidebar-menu .na-menu .na-menu-sub .na-menu-item a {
    padding-left: 30px;
    background-color: rgba(0,0,0,0.1);
}

/* 기본 메뉴 리스트 스타일 (하위 호환성 유지) */
.sidebar-list h5 { padding:0.55rem 1.0rem; margin:0; font-weight:bold !important; border-top:1px solid #2c3440; margin-top:-1px; }
.sidebar-list ul.off { display:none; }
.sidebar-list li { position:relative; }
.sidebar-list li a {display:block;padding:0.45rem 1.0rem;border-bottom:1px solid #2c3440;overflow:hidden;font-weight: 800;color: #555;}
.sidebar-list li .me-a { padding-right:2.5rem; }
.sidebar-list .tree-toggle { position:absolute; z-index:1; top:0rem; right:0; width:2.5rem; padding:0.75rem 0; margin-top:0.15rem;	text-align:center; cursor:pointer; color:#aaa; }
.sidebar-list .me-ul { background: rgba(0,0,0,0.1); }
.sidebar-list .me-ul1 { background: rgba(0,0,0,0.2); }
.sidebar-list .me-li.active > .me-a { font-weight:bold; }

@media (min-width: 768px) {
	#nt_sidebar { right: -300px; }
}
@media (max-width: 767px) {
	#nt_sidebar { left: -300px; }
}

/* Mask */
#nt_sidebar_mask { display:none; position:fixed; z-index:499; background:rgba(0,0,0,0.75); left:0; top:0; width:100%; height:100%; }

/* Noti Tack */
#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;
    margin: 5px 0;
    background-color: #e67e22;
    color: white;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    line-height: 42px !important;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-size: 19px;
}
#nt_sidebar_move .sidebar-move-bottom { 
    display:none; 
}

