/* Google Fonts Import Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  background-color: #E4E9F7;
  overflow: hidden;
}
.sidebar{
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 300px;
  background: #11101d;
  z-index: 100;
  transition: all 0.5s ease;
}
.sidebar.close{
  width: 78px;
}
.sidebar.close .text{
  opacity: 0;
  pointer-events: none;
}
.sidebar .text{
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  transition: all 0.4s ease;
  white-space: nowrap;
  opacity: 1;
}
.sidebar .image-text img{
  width: 60px;
  border-radius: 6px;
}
.sidebar .image-text{
  display: flex;
  align-items: center;
  margin-top: 10px;
  margin-left: 10px;
}
.sidebar .image-text .bx-x{
  color: #fff;
  font-size: 35px;
  display: none;
}
.image-text .header-text{
  display: flex;
  flex-direction: column;
}
.header-text .nameBodo{
  font-weight: 600;
}
.header-text .nameEnglish{
  margin-top: -2px;
}
.sidebar .nav-links{
  height: 100%;
  padding: 30px 0 150px 0;
  overflow: auto;
}
.sidebar.close .nav-links{
  overflow: visible;
}
.sidebar .nav-links::-webkit-scrollbar{
  display: none;
}
.sidebar .nav-links li{
  position: relative;
  list-style: none;
  transition: all 0.4s ease;
}
.sidebar .nav-links li:hover{
  background: #1d1b31;
}
.sidebar .nav-links li .iocn-link{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar.close .nav-links li .iocn-link{
  display: block
}
.sidebar .nav-links li i{
  height: 50px;
  min-width: 78px;
  text-align: center;
  line-height: 50px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.sidebar .nav-links li.showMenu i.arrow{
  transform: rotate(-180deg);
}
.sidebar.close .nav-links i.arrow{
  display: none;
}
.sidebar .nav-links li a{
  display: flex;
  align-items: center;
  text-decoration: none;
}
.sidebar .nav-links li a .link_name{
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  transition: all 0.4s ease;
}
.sidebar.close .nav-links li a .link_name{
  opacity: 0;
  pointer-events: none;
}
.sidebar .nav-links li .sub-menu{
  padding: 6px 6px 14px 80px;
  margin-top: -10px;
  background: #1d1b31;
  display: none;
}
.sidebar .nav-links li.showMenu .sub-menu{
  display: block;
}
.sidebar .nav-links li .sub-menu a{
  color: #fff;
  font-size: 15px;
  padding: 5px 0;
  white-space: nowrap;
  opacity: 0.6;
  transition: all 0.3s ease;
}
.sidebar .nav-links li .sub-menu a:hover{
  opacity: 1;
}
.sidebar.close .nav-links li .sub-menu{
  position: absolute;
  left: 100%;
  top: -10px;
  margin-top: 0;
  padding: 10px 20px;
  border-radius: 0 6px 6px 0;
  opacity: 0;
  display: block;
  pointer-events: none;
  transition: 0s;
}
.sidebar.close .nav-links li:hover .sub-menu{
  top: 0;
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
}
.sidebar .nav-links li .sub-menu .link_name{
  display: none;
}
.sidebar.close .nav-links li .sub-menu .link_name{
  font-size: 18px;
  opacity: 1;
  display: block;
}
.sidebar .nav-links li .sub-menu.blank{
  opacity: 1;
  pointer-events: auto;
  padding: 3px 20px 6px 16px;
  opacity: 0;
  pointer-events: none;
}
.sidebar .nav-links li:hover .sub-menu.blank{
  top: 50%;
  transform: translateY(-50%);
}
.sidebar .profile-details{
  position: fixed;
  bottom: 0;
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1d1b31;
  padding: 12px 0;
  transition: all 0.5s ease;
}
.sidebar.close .profile-details{
  background: none;
  width: 78px;
}
.sidebar .profile-details .login{
  display: block; /* LOG BUTTON */
}
.sidebar .profile-details a{
  position: relative;
  background: #fff;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1em;
  letter-spacing: 0.1em;
  font-weight: 400;
  padding: 10px 30px;
  transition: 0.5s;
}
.sidebar .profile-details a:hover{
  display: flex;
  align-items: center;
  background: #E4E9F7;
  color: #E4E9F7;
  letter-spacing: 0.25em;
  box-shadow: 0 0 35px #E4E9F7 ;
}
.sidebar .profile-details a::before{
  content: '';
  position: absolute;
  inset: 2px;
  background: #11101d;
}
.sidebar .profile-details a span{
  position: relative;
  z-index: 1;
}
.sidebar .profile-details a i{
  position: absolute;
  inset: 0;
  display: block;
}
.sidebar .profile-details a i::before{
  content: '';
  position: absolute;
  top: 0;
  left: 80%;
  width: 10px;
  height: 4px;
  background: #1d1b31;
  transform: translateX(-50%) skewX(325deg);
  transition: 0.5s;
}
.sidebar .profile-details a:hover i::before{
  width: 20px;
  left: 20%;
}
.sidebar .profile-details a i::after{
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  width: 10px;
  height: 4px;
  background: #1d1b31;
  transform: translateX(-50%) skewX(-325deg);
  transition: 0.5s;
}
.sidebar .profile-details a:hover i::after{
  width: 20px;
  left: 80%;
}
.sidebar .profile-details .profile-content{
  display: flex;
  align-items: center;
  display: none; /* PROFILE DP  */
}
.sidebar .profile-details img{
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 14px 0 12px;
  background: #1d1b31;
  transition: all 0.5s ease;
}
.sidebar.close .profile-details img{
  padding: 10px;
}
.sidebar .profile-details .profile_name,
.sidebar .profile-details .job{
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
  display: none; /* PROFILE Name and Job  */
}
.sidebar .profile-details i{
  display: none; /* LOG ICONS  */
}
.sidebar.close .profile-details .bx-log-in{
  display: block;
}
.sidebar.close .profile-details .bx-log-out,
.sidebar.close .profile-details .login,
.sidebar.close .profile-details .profile_name,
.sidebar.close .profile-details .job{
  display: none;
}
.sidebar .profile-details .job{
  font-size: 12px;
}
.main-section{
  position: relative;
  background: #E4E9F7;
  height: 100vh;
  /* left: 300px;
  width: calc(100% - 300px); */
  transition: all 0.5s ease;
  padding: 12px;
}
/* .sidebar.close ~ .main-section{
  left: 78px;
  width: calc(100% - 78px);
} */
.main-content{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.main-section .main-content .bx-menu,
.main-section .main-content .text{
  color: #11101d;
  font-size: 35px;
}
.main-section .main-content .bx-menu{
  cursor: pointer;
  margin-right: 10px;
}
.main-section .main-content .text{
  font-size: 26px;
  font-weight: 600;
}
.container{
  height: 100svh;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 55px;
  overflow-x: hidden;
  overflow-y: scroll;
}
.container .card{
  position: relative;
  height: 300px;
  width: 300px;
  padding: 20px;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  background: #1d1b31;
}
.container .card::before{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border: 20px solid transparent;
  border-top: 20px solid #E4E9F7;
  border-right: 20px solid #E4E9F7;
}
.container .card .icon{
  margin-bottom: 10px;
}
.container .card .icon i{
  font-size: 90px;
  color: #E4E9F7;
}
.container .card .content{
  position: relative;
  height: 100px;
}
.container .card .content h3{
  color: #E4E9F7;
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 10px;
}
.container .card .clickHere{
  position: relative;
  padding: 10px 15px;
  background: #E4E9F7;
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  color: #1d1b31;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 14px;
  cursor: pointer;
}
.container::-webkit-scrollbar {
  width: 0; /* Hide scrollbar for Chrome, Safari, and newer Edge */
}

/* UPDATE: NOTIFICATION */
.notifications{
  position: fixed;
  top: 30px;
  right: 20px;
}
.notifications :where(.toast, .column){
  display: flex;
  align-items: center;
}
.notifications .toast{
  width: 400px;
  position: relative;
  overflow: hidden;
  list-style: none;
  border-radius: 4px;
  padding: 16px 17px;
  margin-bottom: 10px;
  background: #fff;
  justify-content: space-between;
  animation: show_toast 0.3s ease forwards;
}
@keyframes show_toast {
  0% {
    transform: translateX(100%);
  }
  40% {
    transform: translateX(-5%);
  }
  80% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-10px);
  }
}
.notifications .toast.hide {
  animation: hide_toast 0.3s ease forwards;
}
@keyframes hide_toast {
  0% {
    transform: translateX(-10px);
  }
  40% {
    transform: translateX(0%);
  }
  80% {
    transform: translateX(-5%);
  }
  100% {
    transform: translateX(calc(100% + 20px));
  }
}
.toast::before{
  position: absolute;
  content: '';
  height: 3px;
  width: 100%;
  bottom: 0px;
  left: 0px;
  animation: progress 5s linear forwards;
}
@keyframes progress {
  100% {
    width: 0%;
  }
}
.toast.update::before{
  background: #E9BD0C;
}
.toast .column i{
  font-size: 1.75rem;
}
.toast.update .column i{
  color: #E9BD0C;
}
.toast .column span{
  font-size: 1.07rem;
  margin-left: 12px;
}
.toast i:last-child{
  color: #aeb0d7;
  cursor: pointer;
}
.toast i:last-child:hover{
  color: #11101d
}

/* MOBILE DEVICE  */
@media screen and (max-width: 820px){
  /* MOB NOTIFICATION */
  .notifications {
    width: 95%;
  }
  .notifications .toast {
    width: 100%;
    font-size: 1rem;
    margin-left: 20px;
  }
  .buttons .btn {
    margin: 0 1px;
    font-size: 1.1rem;
    padding: 8px 15px;
  }

  /* MOB SIDEBAR */
  .sidebar{
    width: 100%;
    opacity: 1;
    pointer-events: auto;
  }
  .sidebar.close{
    pointer-events: none;
    opacity: 0;
  }
  .sidebar .image-text{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .image-text .header-text{
    display: flex;
    flex-direction: column;
    width: 70%;
  }
  .sidebar .profile-details{
    width: 100%;
  }
  .sidebar.close .profile-details{
    background: none;
  }
  .sidebar .image-text .bx-x{
    color: #fff;
    font-size: 35px;
    display: block;
  }
  .main-section{
    left: 100%;
    width: 100%;
    transition: all 0.5s ease;
  }
  .main-section.hidden{
    display: none;
  }
  .sidebar.close ~ .main-section{
    left: 0px;
    width: 100%
  }
}