 .menu-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1340px;
  height: 670px;
  background: white;
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
   .menu-header {
    display: flex; justify-content: space-between;
    align-items: center;
  }

  .menu-title {
    font-size: 24px; font-weight: bold;
  }

  .menu-close {
    font-size: 24px;
    border: none; background: none; cursor: pointer;
  }

  .menu-body {
    display: flex;
    gap: 10px;
    margin-top: -30px;
    flex-wrap: wrap;
  }

  .menu-section {
    min-width: 300px;
  }

  .menu-section h3 {
    font-size: 18px;
    color: maroon;
    border-left: 4px solid maroon;
    padding-left: 8px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .menu-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
	color: #000000;
  }

  .menu-section li {
    margin-bottom: 6px;
    padding-left: 8px;
    border-left: 2px solid #ddd;
  }
.divider {
  height: 1px;
  background-color: #ddd;
  margin: 20px 0;
}
.menu-section li:hover {
  background-color: #f5f5f5;
  border-left-color: maroon;
}

.menu-section ul a{
     color: #000000!important;
}
.has-submenu {
  position: relative;
  list-style: none;
}

.menu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.1s ease-in-out;
}
.menu-toggle svg {
  margin-left: 8px;
  flex-shrink: 0; 
}
.menu-toggle:hover {
  background-color: #f5f5f5;
  border-left-color: maroon;
}

/* 서브메뉴 초기 상태 숨김 */
.submenu {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  transition: all 0.2s ease-in-out;
  opacity: 0;
  pointer-events: none;
  display: none;
}
/* .submenu {
  position: absolute;
  top: 40px;
  left: 0;
  background-color: white;
  z-index: 999;
  display: none;
  min-width: 150px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
} */

/* 열릴 때 클래스 */
.has-submenu.open .submenu {
  max-height: 500px;
  padding-top: 6px;
  opacity: 1;
  pointer-events: auto;
  display: block;
}

/* 화살표 회전 애니메이션 */
.arrow-icon {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.has-submenu.open .arrow-icon {
  transform: rotate(180deg);
}

/* 서브메뉴 항목 */
.submenu li {
  padding: 6px 10px;
  border-left: 1px solid #eee;
  transition: background 0.2s;
  cursor: pointer;
  color: #000000;
}

.submenu li:hover {
  background: #fafafa;
}
