:focus-visible {
  outline: none;
}


.topNavigationToolbar {
 
  display: flex;
  flex-flow: row nowrap;
  height: 45px;
  width: auto;
  background-color: var(--colorWhite);
  font-weight: bold;
  font-size: 18px;
  padding: 0px 22px;
  align-items: center;
  position: inherit;
  color: black;
  border-block: 1px solid var(--colorBorder);
  
  > .navigetionPannel {
  
    display: flex;
    opacity: 0;
    visibility: hidden;
    
    .burger {
      
      display: flex;
      width:  36px;
      height: 36px;
      justify-content: center;
      align-items: center;
      border-radius: 50%;
      transition: 150ms;
    
      &:hover {
        
        background-color: rgba(0, 0, 0, .05);
      }
     }
  }
}

#pageBody {
  
  display: flex;
  height: calc(100vh - 90px);
  overflow: hidden;
}

#menuContainer {
  
  position: relative;
  z-index: 10;
  min-width: 270px;
  transition: 250ms;
 
  .menuList {
    
    position: absolute;
    inset: 10px;
    overflow: hidden;
    background: #18283b;
    color: #8392a5;
    border-inline-end: 1px solid #E0E0E0;
    border-radius: 10px;
    
    > ul {

      overflow: hidden;
      overflow-y: auto;
      max-height: 100%;
      padding-block: 10px;
      
      -ms-overflow-style: none;
      scrollbar-width: none;
      
      &::-webkit-scrollbar {
        
        display: none;
      }
    } 
  
  }

  ul {
      
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  li:has(.listContent.open) .listTitle:after {
    
    rotate: 180deg;
  }
  
  li:has(.listContent .selected) .listTitle:before {
    
    content: '';
    position: absolute;
    inset: 5px 12px;
    width: 36px;
    background: rgb(0 0 0 / .10);
    display: block;
    border-radius: 10px;
  }
  
  .listTitle {
    
    position: relative;
    padding: 10px 20px;
    display: flex;
    gap: 20px;
    white-space: nowrap;
    cursor: pointer;
    
    .icon {
      
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      min-width: 20px;
    }
    
    &:after {
      
      content: '\f078';
      position: absolute;
      inset-inline-end: 20px;
      translate: -50% 0;
      width: 20px;
      height: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 50%;
      font-size: 10px;
      transform-origin: center;
      transition: 150ms;
    }

  }
  
  .listContent {
    
    margin-inline-start: 30px;
    border-inline-start: 1px solid #24374d;
    overflow: hidden;
    max-height: 0;
    transition: 250ms;
    
    &.open {
    
      max-height: 1000px;
    }
  
    > li {
    
      position: relative;
      padding: 10px 30px 10px 20px;
      display: flex;
      gap: 10px;
      
      &.selected,
      &:hover {
        
        background-color: rgba(256, 256, 256, .05);
      }
      
      &.selected {
        
        font-weight: bold;
      }
      
      a {
        
        position: absolute;
        inset: 0;
        display: block;
      }
    }

  }
  
 .nav-content-highlight {
    
    position: absolute;
    inset-inline-start:  16px;
    top: -70px;
    width: calc(100% - 16px);
    height: 54px;
    background: #9c88ff;
    background-attachment: fixed;
    border-radius: 16px 0 0 16px;
    transition: top 0.2s;
  }
}

.cn-erorr-cnToast {

  color: red;
}

.cn-save-cnToast {
  
  color: #1a73e8; 
}

#listContainer {
    
  max-width: 100%;
  width: 400px;
  position: relative;
  background: var(--colorGrayBG);
  z-index: 1;
  display: flex;
  flex-flow: column;
  flex: 0 0 auto;
  box-sizing: border-box;
}

#detailsContainer {
    
  flex: 1;
  overflow: auto;
  position: relative;
  max-height: calc(100vh - 90px);
}

#detailsContent {
  
  padding: 10px;
  max-width: 940px;
  min-width: 350px;
  margin: auto;
}

.resizerX {
    
  width: 10px;
  height: 100%;
  background: transparent;
  position: absolute;
  inset-inline-end: -10px;
  user-select: none;
  bottom: 0;
  cursor: col-resize;
  z-index: 1;
}

@media (max-width: 767px) {
  
  ::-webkit-scrollbar {
    display:none;
    -webkit-appearance: none;
    width: 0px;
    background: transparent
  }
  
  body {
    
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .pageBodyWrapper {
    
    #menuContainer { 
      
      visibility: hidden;
      opacity: 0;
      min-width: 0;
    }
  
    &.menuExpandCollapse {
      
      #menuContainer {

        visibility: visible;
        opacity: 1;
        min-width: 100%;
      }
      
    }
  }
  
  .topNavigationToolbar {
    
    > .navigetionPannel {
      
      opacity: 1;
      visibility: visible;
    }
  }
}