/* Linux tree styles */
#category-tree {
  background-color: #000;
  color: #0f0;
  padding: 10px;
  border-radius: 5px;
  overflow: auto;
}

.folder-list { 
  list-style: none; 
  padding-left: 0; 
  margin: 0;
  position: relative;
}

.folder-list .folder { 
  margin: 0;
  display: block;
  position: relative;
}

.folder-list .toggle { 
  background: none; 
  border: none; 
  padding: 0; 
  cursor: pointer;
  color: #0f0;
  margin-right: 5px;
}

.tree-line {
  color: #0f0;
  margin-right: 5px;
}

.tree-node {
  color: #0f0;
  margin-right: 5px;
}

.folder-list ul { 
  display: none; 
  margin-left: 20px;
  padding-left: 0;
  position: relative;
}

.folder-list li.expanded > ul { 
  display: block; 
}

.folder-link { 
  text-decoration: none; 
  color: #00ff99; 
  font-weight: normal;
}

.folder-link:hover {
  text-decoration: underline;
}

.folder-name { 
  color: #0f0;
  cursor: pointer;
  transition: transform .2s ease-in-out;
}
.folder-name:hover { 
  transform: scale(1.05);
}

.folder.not-clickable .folder-name { 
  color: #0f0;
  font-weight: bold;
}

.toggle:focus { 
  outline: 1px dashed #0f0; 
}

/* Add special styling for the last item in a branch */
li[data-is-last="true"] > .tree-line {
  color: #0f0;
}

li[data-is-last="true"] > ul::before {
  height: 15px;
}