/* 네비게이션 메뉴 스타일 */
.navigation-menu {
  position: relative;
  z-index: 1000;
}

/* 모바일 햄버거 버튼 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 3px;
  background: #4a5568;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* 메뉴 오버레이 (모바일) */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* 사이드바 */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: transform 0.3s ease;
}

/* 사이드바 헤더 */
.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 28px;
}

.logo-text h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.logo-text span {
  font-size: 12px;
  opacity: 0.9;
}

/* 메뉴 섹션 */
.menu-section {
  flex: 1;
  padding: 20px 0;
  overflow-y: auto;
}

.menu-section-title {
  padding: 0 20px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  margin: 0;
}

.menu-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  color: #4a5568;
  font-size: 14px;
}

.menu-button:hover {
  background: #f7fafc;
  color: #2d3748;
}

.menu-button.active {
  background: #edf2f7;
  color: #667eea;
  font-weight: 600;
}

.menu-button.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #667eea;
}

.menu-icon {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.menu-title {
  flex: 1;
}

.active-indicator {
  width: 6px;
  height: 6px;
  background: #667eea;
  border-radius: 50%;
}

/* 사이드바 푸터 */
.sidebar-footer {
  padding: 20px;
  border-top: 1px solid #e2e8f0;
  background: #f7fafc;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.user-details {
  flex: 1;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 2px;
}

.user-role {
  font-size: 12px;
  color: #718096;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .menu-overlay {
    display: block;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }
}

/* 데스크톱에서 사이드바가 있을 때 메인 콘텐츠 여백 */
@media (min-width: 769px) {
  .main-content-with-sidebar {
    margin-left: 280px;
  }
}

/* 스크롤바 스타일링 */
.menu-section::-webkit-scrollbar {
  width: 6px;
}

.menu-section::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.menu-section::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.menu-section::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}






















