.tree-menu {
  list-style: none;
  padding-left: 0;
}

.tree-menu li {
  position: relative;
  padding: 6px 15px;
  border-bottom: 1px solid #e9e9e9;
}

.tree-menu li:last-child {
  border-bottom: none;
}

.tree-menu ul {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.tree-menu li.active>ul {
  max-height: 1000px;
}

.node-content {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.node-content:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.toggle-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #c71d07;
  font-weight: bold;
  font-size: 16px;
  user-select: none;
}

.node-text {
  flex: 1;
  font-size: 16px;
  padding: 5px 0;
  font-weight: bold;
}

.node-text:hover {
  color: #c71d07;
}

.node-text.selected {
  color: #c71d07;
  font-weight: bold;
  background-color: rgba(52, 152, 219, 0.1);
  padding: 5px 10px;
  border-radius: 4px;
}