/* 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;
}
html, body{
  place-items: center;
  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 */
.container {
  position: relative;
  height: 100vh;
  width: 100%;
  transition: all 0.5s ease;
  padding: 10px;
  overflow: scroll;
  padding-bottom: 500px;
}
.container::-webkit-scrollbar {
  width: 0; /* Hide scrollbar for Chrome, Safari, and newer Edge */
}

/* SLIDER */
.slider-wrapper {
  position: relative;
  max-width: 371px;
  margin: 0 auto;
}
.slider {
  display: flex;
  aspect-ratio: 16 / 9;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
  border-radius: 25px;
  -ms-overflow-style: none; /* Hide scrollbar IE and Edge */
  scrollbar-width: none; /* Hide scrollbar Firefox */
}
/* Hide scrollbar for Chrome, Safari and Opera */
.slider::-webkit-scrollbar {
  display: none;
}
.slider img {
  flex: 1 0 100%;
  scroll-snap-align: start;
  object-fit: cover;
  max-width: 100%; /* Prevent image from exceeding its natural width */
  height: auto; /* Maintain aspect ratio */
}
.slider-nav {
  display: flex;
  column-gap: 1rem;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.slider-nav a {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.75;
  transition: opacity ease 250ms;
}
.slider-nav a:hover,
.slider-nav a.active {
  opacity: 1;
}

/* 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
}

/* CALENDAR */
.container-calendar{
  position: relative;
  display: flex;
  padding: 2% 0px 0px 0px;
  justify-content: center;
  width: 100%;
  height: 610px;
  margin-bottom: 10px;
}
.calendar{
  height: 610px;
  width: 371px;
  background-color: #fff;
  border-radius: 25px;
  overflow: hidden;
  padding: 30px 50px 0px 50px;
  box-shadow: var(--shadow);
}
.calendar-header {
  background: #1d1b31;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #fff;
  padding: 10px;
}
.calendar-body {
  pad: 10px;
}
.calendar-week-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-weight: 600;
  cursor: pointer;
  color:rgb(104, 104, 104);
}
.calendar-week-days div:hover {
color:black;
transform: scale(1.2);
transition: all .2s ease-in-out;
}
.calendar-week-days div {
  display: grid;
  place-items: center;
  color: var(--bg-second);
  height: 50px;
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  color: var(--color-txt);
}
.calendar-days div {
  width: 37px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  position: relative;
  cursor: pointer;
  animation: to-top 1s forwards;
}
.month-picker {
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
}
.month-picker:hover {
  background-color: var(--color-hover);
}
.month-picker:hover {
  color: var(--color-txt);
}
.year-picker {
  display: flex;
  align-items: center;
}
.year-change {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0px 10px;
  cursor: pointer;
}
.year-change:hover {
  background-color: #1d1b31;
  transition:all .2s ease-in-out ;
  transform: scale(1.12);
}
.year-change:hover pre {
  color: var(--bg-body);
}
.calendar-footer {
  padding: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
#year:hover{
  cursor: pointer;
  transform: scale(1.2);
  transition: all 0.2 ease-in-out;
}
.calendar-days div span {
  position: absolute;
}
 .calendar-days div:hover {
  transition: width 0.2s ease-in-out, height 0.2s ease-in-out;
  background-color: #1d1b31;
  border-radius: 20%;
  color: #fff;
}
.calendar-days div.current-date {
  color: #fff;
  background-color: #1d1b31;
  border-radius: 20%;
}
.month-list {
  position: relative;
  left: 0;
  top: -50px;
  background-color: #E4E9F7;
  color: #1d1b31;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 5px;
  border-radius: 20px;
}
.month-list > div {
  display: grid;
  place-content: center;
  margin: 5px 10px;
  transition: all 0.2s ease-in-out;
}
.month-list > div > div {
  border-radius: 15px;
  padding: 10px;
  cursor: pointer;
}
.month-list > div > div:hover {
  background-color: #1d1b31;
  color: #E4E9F7;
  transform: scale(0.9);
  transition: all 0.2s ease-in-out;
}
.month-list.show {
  visibility: visible;
  pointer-events: visible;
  transition: 0.6s ease-in-out;
  animation: to-left .71s forwards;
}
.month-list.hideonce{
  visibility: hidden;
}
.month-list.hide {
  animation: to-right 1s forwards;
  visibility: none;
  pointer-events: none;
}
.date-time-formate {
  width: 100%;
  height: max-content;
  position: relative;
  display: inline;
  top: 140px;
  justify-content: center;
}
.day-text-formate {
  font-size: 1.4rem;
  padding-right: 5%;
  border-right: 3px solid #1d1b31;
  position: absolute;
  left: -1rem;
}
.date-time-value {
  display: block;
  height: max-content;
  width: max-content;
  position: relative;
  left: 40%;
  top: -18px;
  text-align: center;
}
.time-formate {
  font-size: 1.5rem;
}
.time-formate.hideTime {
  animation: hidetime 1.5s forwards;
}
.day-text-formate.hidetime {
  animation: hidetime 1.5s forwards;
}
.date-formate.hideTime {
  animation: hidetime 1.5s forwards;
}
.day-text-formate.showtime{
  animation: showtime 1s forwards;
}
.time-formate.showtime {
  animation: showtime 1s forwards;
}
.date-formate.showtime {
  animation: showtime 1s forwards;
}
@keyframes to-top {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  100% {
    transform: translateY(100%);
    opacity: 1;
  }
}
@keyframes to-left {
  0% {
    transform: translatex(230%);
    opacity: 1;
  }
  100% {
    transform: translatex(0);
    opacity: 1;
  }
}
@keyframes to-right {
  10% {
    transform: translatex(0);
    opacity: 1;
  }
  100% {
    transform: translatex(-150%);
    opacity: 1;
  }
}
@keyframes showtime {
  0% {
    transform: translatex(250%);
    opacity: 1;
  }
  100% {
    transform: translatex(0%);
    opacity: 1;
  }
}
@keyframes hidetime {
  0% {
    transform: translatex(0%);
    opacity: 1;
  }
  100% {
    transform: translatex(-370%);
    opacity: 1;
  }
}
@media (max-width:375px) {
  .month-list>div{

    margin: 5px 0px;
  }
}

/* EVENTS */
.container-events{
  position: relative;
  display: flex;
  padding: 2% 0px 0px 0px;
  justify-content: center;
  width: 100%;
  margin-bottom: 10px;
}
.events{
  /* display: none; */
  width: 371px;
  background-color: #fff;
  border-radius: 25px;
  padding: 20px 40px 30px 40px;
  box-shadow: var(--shadow);
}
.events h2{
  text-align: right;
}
.no-events{
  height: 300px;
  width: 370.99px;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 25px;
  padding: 0px 50px 0px 50px;
  box-shadow: var(--shadow);
  display: none;
}

/* DASHBOARD */
.container-dashboard{
  width: max-content;
  height: max-content;
  position: relative;
  display: flex;
  padding: 2% 0px 0px 0px;
  justify-content: center;
  width: 100%;
  height: auto;
}
.dashboard{
  height: auto;
  width: 371px;
  background-color: #fff;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.dashboard img{
  width: 100%;
  height: 100%;
}

/* 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%;
    pointer-events: auto;
  }
  .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%
  }
  .slider-wrapper {
    max-width: 100%;
  }
  .calendar {
    width: 100%;
    padding: 30px 30px 0px 30px;
  }
  .events {
    width: 100%;
    padding: 20px;
  }
  .no-events{
    width: 100%;
  }
  .dashboard{
    width: 100%;
  }
}