/* It's supposed to look like a tree diagram */
.treeAdmin .treeAdmin ul, .treeAdmin li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.treeAdmin {
    margin: 0 0 1em;
    text-align: center;
}
.treeAdmin .treeAdmin ul {
    display: table;
}
.treeAdmin ul {
  width: 100%;
  padding-left: 0px !important;
}
    .treeAdmin li {
        display: table-cell;
        padding: 3.5em 0; /* sua */
        vertical-align: top;
    }
        /* _________ */
        .treeAdmin li:before {
            outline: solid 1px #666;
            content: "";
            left: 0;
            position: absolute;
            right: 0;
            top: 0;
        }
        .treeAdmin li:first-child:before {left: 50%;}
        .treeAdmin li:last-child:before {right: 50%;}

        .treeAdmin code, .treeAdmin span {
            border: solid .1em #666;
            border-radius: 20px;
            display: inline-block;
            margin: 0 .2em 3.5em;  /* sua  3.5em*/
            /* padding: .2em .5em; */
            position: relative;
        }
        /* If the tree represents DOM structure */
        .treeAdmin code {
            font-family: monaco, Consolas, 'Lucida Console', monospace;
        }

            /* | */
            .treeAdmin ul:before,
            .treeAdmin code:before,
            .treeAdmin span:before {
                outline: solid 1px #666;
                content: "";
                height: 3.5em; /* sua */
                left: 50%;
                position: absolute;
            }
            .treeAdmin ul:before {
                top: 14.2em; /* sua */
                
            }
            .treeAdmin code:before,
            .treeAdmin span:before {
                top: -3.55em; /* sua */
            }

/* The root node doesn't connect upwards */
.treeAdmin > li {margin-top: 0;}
    .treeAdmin > li:before,
    .treeAdmin > li:after,
    .treeAdmin > li > code:before,
    .treeAdmin > li > span:before {
      outline: none;
    }

.tree-node {
    position: relative;
    min-width: 142px;
    width: 220px;
    padding: 10px;
}
.span-tree-node {
    background-color: #1E405A;
}
.span-tree-node img{
   height: 52px !important;
   width: 52px !important;
   border: 2px solid #fff;
  
}
.tree-node-name {
    color: #FFF;
    font-weight: bold;
        overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.tree-node-coupon , .tree-node-type{
    color: #fff;
    margin: 10px !important;
}
.tree-node-text {
    margin-left: 10px;
}

.tree-node-type {
    background-color: #05233A;
    border-radius:  20px;
    margin: 0px 20px;
    padding: 2px 3px;
}
.border-blue-radius {
    border-radius: 30px;
    border: 1px solid #05233A;
    overflow-x: scroll;
}
.content-tree-center {
    overflow-x: scroll;

}

/* Toàn bộ node */
.node {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
  }
  
  /* Nền node qua SVG <rect> nên cần chỉnh qua stroke & fill trong JS hoặc override bằng SVG defs */
  /* Nếu node có thẻ <rect>, bạn dùng thêm đoạn này nếu không chỉnh được trong JS */
  .node rect {
     stroke-width: 1.5 !important;
    fill: #05295d !important;
    rx: 10;
    ry: 10;
  }
  
  /* Tên (name) */
  .olivia-f0 {
    fill: #ffffff !important;
    font-weight: 600 !important;
    font-size: 16px !important;
  }

  /* ID hoặc thông tin phụ (title) */
  .olivia-f1 {
    fill: #C0C0C0 !important;
    font-size: 13px !important;
  }
  
  /* Avatar hình tròn - chỉnh border nếu SVG hỗ trợ */
  .node image {
    stroke: #999 !important;
    stroke-width: 1.5;
    border-radius: 50%;
  }
  
  /* 3 dấu chấm menu */
  .node circle {
    fill: #CCCCCC !important;
  }
  