@import "/./src/assets/scss/variables.scss";

.ng-app-home {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
  
  // Layout moderne
  &:has(.modern-layout) {
    .ng-layout {
      position: relative;
      width: 100%;
      height: auto;
      box-shadow: none;
      background: transparent;
    }
    
    router-outlet {
      flex: 1;
      overflow: auto;
    }
  }
}

.ng-layout {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 277px;
  z-index: 100;
  transition: all 0.5s ease;
  -webkit-box-shadow: 2px 0px 3px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 2px 0px 3px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 2px 0px 3px 0px rgba(0, 0, 0, 0.1);
  background-color: #fff;

  // @media only screen and (min-width: $medium) {
  //     width: 284px;
  // }
}
.ng-layout.close {
  width: 78px;
}
.ng-layout .ng-menu {
    height: 100%;
    padding: 30px 0 150px 0;
    overflow: auto;
  }
  .ng-layout.close .ng-menu {
    overflow: visible;
  }
  .ng-layout .ng-menu::-webkit-scrollbar {
    display: none;
  }
  .ng-layout .ng-menu li {
    position: relative;
    list-style: none;
    transition: all 0.4s ease;
  }
  .ng-layout .ng-menu li .icon-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .ng-layout.close .ng-menu li .icon-link {
    display: block;
  }
  .ng-layout .ng-menu li i {
    height: 50px;
    min-width: 78px;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .ng-layout .ng-menu li.showMenu i.arrow {
    transform: rotate(-180deg);
  }

  .ng-layout.close .ng-menu i.arrow {
    display: none;
  }
  .ng-layout .ng-menu li a {
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  .ng-layout .ng-menu li a .link_name {
    font-size: 18px;
    font-weight: 400;
    transition: all 0.4s ease;
    text-transform: capitalize !important;
  }
  .ng-layout.close .ng-menu li a .link_name {
    opacity: 0;
    pointer-events: none;
  }

