/* ========================================================
   SNB (Side Navigation Bar) - Google Workspace Minimal Design
   구글 스타일 심플 & 미니멀 사이드바 스타일
   ======================================================== */

.snb-area {
  width: 260px;
  min-width: 260px;
  height: 100vh;
  background: #ffffff;
  border-right: 1px solid #dadce0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  user-select: none;
  z-index: 50;
  transition: width 0.2s ease;
}

/* 부드러운 스크롤바 */
.snb-area::-webkit-scrollbar {
  width: 6px;
}
.snb-area::-webkit-scrollbar-track {
  background: transparent;
}
.snb-area::-webkit-scrollbar-thumb {
  background: #e8eaed;
  border-radius: 4px;
}
.snb-area::-webkit-scrollbar-thumb:hover {
  background: #dadce0;
}

/* 사이드바 상단 로고 브랜딩 (Google App Header Style) */
.snb-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #dadce0;
  height: 60px;
  min-height: 60px;
}

.snb-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.snb-logo-text {
  display: flex;
  flex-direction: column;
}

.snb-logo-title {
  font-size: 15px;
  font-weight: 600;
  color: #202124;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.snb-logo-badge {
  font-size: 10.5px;
  color: #1a73e8;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* 메뉴 리스트 기본 컨테이너 */
.snb-list {
  list-style: none;
  margin: 0;
  padding: 12px 10px 30px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* 1depth: snb-menu */
.snb-menu {
  display: flex;
  flex-direction: column;
}

.snb-tit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #3c4043;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

/* 구글 스타일 화살표 (심플 캐럿) */
.snb-tit.t1::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #5f6368;
  border-bottom: 1.5px solid #5f6368;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-left: auto;
}

.snb-menu.active > .snb-tit.t1::after,
.snb-menu.open > .snb-tit.t1::after {
  transform: rotate(-135deg);
}

.snb-tit:hover {
  color: #202124;
  background: #f1f3f4;
}

.snb-menu.active > .snb-tit,
.snb-tit.on {
  color: #1a73e8;
  background: #e8f0fe;
  font-weight: 500;
}

/* 2depth: lnb */
.lnb {
  list-style: none;
  margin: 2px 0 4px 6px;
  padding: 2px 0 2px 6px;
  display: none;
  flex-direction: column;
  gap: 1px;
}

.snb-menu.active > .lnb,
.snb-menu.open > .lnb {
  display: flex;
}

.lnb-menu {
  display: flex;
  flex-direction: column;
}

.lnb-tit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 400;
  color: #3c4043;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lnb-tit:hover {
  color: #202124;
  background: #f1f3f4;
}

.lnb-tit.on {
  color: #1a73e8;
  font-weight: 500;
  background: #e8f0fe;
}

/* 3depth: lnb_3dept */
.lnb_3dept {
  list-style: none;
  margin: 2px 0 4px 10px;
  padding: 2px 0 2px 6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.lnb3-menu a {
  display: block;
  padding: 7px 12px;
  font-size: 12.5px;
  color: #5f6368;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.lnb3-menu a:hover {
  color: #202124;
  background: #f1f3f4;
}

.lnb3-menu a.on {
  color: #1a73e8;
  background: #e8f0fe;
  font-weight: 500;
}
