/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
/*===== VARIABLES CSS =====*/
:root {
    --header-height: 3rem;
  
    /*========== Colors ==========*/
    --first-color: #228B22;
    --first-color-alt: #228B22;
    --title-color: #393939;
    --text-color: #707070;
    --text-color-light: #A6A6A6;
    --body-color: #FBFEFD;
    --container-color: #FFFFFF;
  
    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
  
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
  
    /*========== Margenes ==========*/
    --mb-1: .5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --mb-5: 2.5rem;
    --mb-6: 3rem;
  
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
  }
  
  @media screen and (min-width: 768px){
    :root{
      --biggest-font-size: 4rem;
      --h1-font-size: 2.25rem;
      --h2-font-size: 1.5rem;
      --h3-font-size: 1.25rem;
      --normal-font-size: 1rem;
      --small-font-size: .875rem;
      --smaller-font-size: .813rem;
    }
  }
*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}
*,::before,::after{
    box-sizing: border-box;
  }
  
  html{
    scroll-behavior: smooth;
  }
  body{
    margin: 3rem 0 0 0;
    font-family:'Poppins', sans-serif;
    font-size: .935rem;
    background-color: var(--body-color);
    color: #707070;
    line-height: 1.6;
  }

  /*========== NAV ==========*/
.nav{
    max-width: 1024px;
    height: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
  }
  
  @media screen and (max-width: 768px){
    .nav__menu{
      position: fixed;
      top: -100%;
      left: 0;
      width: 100%;
      padding: 1.5rem 0 1rem;
      text-align: center;
      background-color:  #FBFEFD;
      transition: .4s;
      box-shadow: 0 4px 4px rgba(0,0,0,.1);
      border-radius: 0 0 1rem 1rem;
      z-index: var(--z-fixed);
    }
  }
  .nav__item{
    margin-bottom: var(--mb-2);
  }
  
  .nav__link, .nav__logo, .nav__toggle{
    color: var(--text-color);
    font-weight: var(--font-medium);
  }
  
  .nav__logo:hover{
    color: var(--first-color);
  }
  
  .nav__link{
    transition: .3s;
  }
  
  .nav__link:hover{
    color: var(--first-color);
    text-decoration: none;
  }
  
  .nav__toggle{
    font-size: 1.3rem;
    cursor: pointer;
  }
  /* NEW NAVIGATION */
  nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 70px;
    background: var(--body-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 99;
  }
  nav .navbar{
    height: 100%;
    max-width: 1250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    /* background: red; */
    padding: 0 50px;
  }
  .navbar .logo a{
    font-size: 20px;
    color: var(--text-color);
    text-decoration: none;
    /*font-weight: 600;*/
  }
  nav .navbar .nav-links{
    line-height: 70px;
    height: 100%;
  }
  nav .navbar .links{
    display: flex;
  }
  nav .navbar .links li{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    padding: 0 14px;
  }
  nav .navbar .links li a{
    height: 100%;
    text-decoration: none;
    white-space: nowrap;
    color: var(--text-color);
    font-size: 15px;
    /*font-weight: 500;*/
  }
  .links li:hover .htmlcss-arrow,
  .links li:hover .more-arrow,
  .links li:hover .js-arrow,
  .links li:hover .report-arrow{
    transform: rotate(180deg);
    }
  
  nav .navbar .links li .arrow{
    /* background: red; */
    height: 100%;
    width: 22px;
    line-height: 70px;
    text-align: center;
    display: inline-block;
    color: var(--text-color);
    transition: all 0.3s ease;
  }
  nav .navbar .links li .sub-menu{
    position: absolute;
    top: 70px;
    left: 0;
    line-height: 40px;
    background: var(--body-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
  }
  nav .navbar .links li:hover .htmlCss-sub-menu,
  nav .navbar .links li:hover .more-sub-menu,
  nav .navbar .links li:hover .js-sub-menu,
  nav .navbar .links li:hover .report-sub-menu{
    display: block;
  }
  .navbar .links li .sub-menu li{
    padding: 0 22px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .navbar .links li .sub-menu a{
    color: var(--text-color);
    font-size: 15px;
    /*font-weight: 500;*/
  }
  .navbar .links li .sub-menu .more-arrow{
    line-height: 40px;
  }
  .navbar .links li .htmlCss-more-sub-menu{
    /* line-height: 40px; */
  }
  .navbar .links li .sub-menu .more-sub-menu{
    position: absolute;
    top: 0;
    left: 100%;
    border-radius: 0 4px 4px 4px;
    z-index: 1;
    display: none;
  }
  .links li .sub-menu .more:hover .more-sub-menu{
    display: block;
  }
  .navbar .nav-links .sidebar-logo{
    display: none;
  }
  .navbar .bx-menu{
    display: none;
  }
  @media (max-width:920px) {
    nav .navbar{
      max-width: 100%;
      padding: 0 25px;
    }
  
    nav .navbar .logo a{
      font-size: 27px;
    }
    nav .navbar .links li{
      padding: 0 10px;
      white-space: nowrap;
    }
    nav .navbar .links li a{
      font-size: 15px;
    }
  }
  @media (max-width:800px){
      nav{
        /* position: relative; */
      }
      .navbar .bx-menu{
        display: block;
      }
      nav .navbar .nav-links{
        position: fixed;
        top: 0;
        left: -100%;
        display: block;
        max-width: 270px;
        width: 100%;
        background: var(--body-color);
        line-height: 40px;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        transition: all 0.5s ease;
        z-index: 1000;
      }
      .navbar .nav-links .sidebar-logo{
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .sidebar-logo .logo-name{
        font-size: 15px;
        color: var(--text-color);
      }
        .sidebar-logo  i,
        .navbar .bx-menu{
          font-size: 20px;
          color: var(--text-color);
        }
      nav .navbar .links{
        display: block;
        margin-top: 20px;
      }
      nav .navbar .links li .arrow{
        line-height: 40px;
      }
      nav .navbar .links li{
        display: block;
      }
      nav .navbar .links li .sub-menu{
        position: relative;
        top: 0;
        box-shadow: none;
        display: none;
      }
      nav .navbar .links li .sub-menu li{
        border-bottom: none;
      }
      .links li:hover .htmlcss-arrow,
      .links li:hover .more-arrow,
      .links li:hover .js-arrow,
      .links li:hover .report-arrow{
        transform: rotate(0deg);
      }
      /*.navbar .links li .sub-menu .more-sub-menu{*/
      /*  display: none;*/
      /*}*/
      .navbar .links li .sub-menu .more span{
        /* background: red; */
        display: flex;
        align-items: center;
        /* justify-content: space-between; */
      }
      /*.links li .sub-menu .more:hover .more-sub-menu{*/
      /*  display: none;*/
      /*}*/
      nav .navbar .links li:hover .htmlCss-sub-menu,
      nav .navbar .links li:hover .more-sub-menu,
      nav .navbar .links li:hover .js-sub-menu,
      nav .navbar .links li:hover .report-sub-menu{
        display: none;
      }
      .navbar .nav-links.show1 .links .htmlCss-sub-menu,
      .navbar .nav-links.show3 .links .js-sub-menu,
      .navbar .nav-links.show2 .links .more-sub-menu
      .navbar .nav-links.show4 .links .report-sub-menu{
        display: block;
      }
      .navbar .nav-links.show1 .links .htmlcss-arrow,
      .navbar .nav-links.show3 .links .js-arrow,
      .navbar .nav-links.show2 .links .more-arrow,
      .navbar .nav-links.show4 .links .report-arrow{
          transform: rotate(180deg);
      }
  }
  @media (max-width:370px){
    nav .navbar .nav-links{
    max-width: 100%;
  } 
  }
  .notification{
      overflow: hidden;
      overflow-y: auto;
  }
  .notification:hover{
      cursor: pointer;
  }
  .active-link{
      color: blue;
  }
  /*========== LAYOUT ==========*/
.bd-container{
    max-width: 960px;
    width: calc(100% - 2rem);
    margin-left: var(--mb-2);
    margin-right: var(--mb-2);
  }
  
  .bd-grid{
    display: grid;
    gap: 1.5rem;
  }
  
  .l-header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: var(--body-color);
  }
  
  
  /* Show menu */
  .show-menu{
    top: var(--header-height);
  }
  
  /* Active menu */
  .active-link{
    color: var(--first-color);
  }
  
  /* Change background header */
  .scroll-header{
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
  }
  
  /* Scroll top */
  .scrolltop{
    position: fixed;
    right: 1rem;
    bottom: -20%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .3rem;
    background: rgba(6,156,84,.5);
    border-radius: .4rem;
    z-index: var(--z-tooltip);
    transition: .4s;
    visibility: hidden;
  }
  
  .scrolltop:hover{
    background-color: var(--first-color-alt);
  }
  
  .scrolltop__icon{
    font-size: 1.8rem;
    color: var(--body-color);
  }
  
  /* Show scrolltop */
  .show-scroll{
    visibility: visible;
    bottom: 1.5rem;
  }

 /*========== ISSUE ==========*/
.issue__container{
    height: calc(120vh - var(--header-height));
    align-content: center;
}
.pallet__data, .transfer__data{
  position: relative;
  margin-top: 0;
}

  #button,
  #buttonDetails,
  #update1 a,
  #updateDetails,
  #update2 a,
  #update3 a,
  #update4 a, 
  .verifyButton a,
  .allowButton a{
    display: inline-block;
    background-color: var(--first-color);
    color: #FFF;
    padding: .65rem 1rem;
    border-radius: .5rem;
    transition: .3s;
    outline: none;
    border: 0;
    cursor: pointer;
    text-decoration: none;
  }
  #button:hover,
  #buttonDetails:hover,
  #update1 a:hover,
  #updateDetails:hover,
  #update2 a:hover,
  #update3 a:hover,
  #update4 a:hover 
  {
    background-color: var(--first-color-alt);
  }
  #delbutton a{
    display: inline-block;
    background-color: #A52A2A;
    background-repeat:no-repeat;
    color: #FFF;
    padding: .65rem 1rem;
    border-radius: .5rem;
    transition: .3s;
    outline: none;
    border: 0;
    cursor: pointer; 
    text-decoration: none; 
  }
  #theme-button{
    cursor: pointer;
  }
   /*logout Button*/
   .custom-btn {
    position: relative;
    width: 130px;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    padding: 10px 25px;
    font-family: var(--body-font);
    font-size: 1.8rem;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
                     7px 7px 20px 0px rgba(0,0,0,.1),
                     4px 4px 5px 0px rgba(0,0,0,.1);
    outline: none;
}
/* verify container */
.Verify{
position: relative;
background: var(--text-color-light);
width: 300px;
height: 120px;
border-radius: 20px;
opacity: .8;
}
.userType{
 font-size: 15px;
 color: black;
}
#input{
position: relative;
left: 10px;
outline: none;
border: 0;
border-radius: 20px;
width: 100px;
height: 25px;
font-weight: 500;
letter-spacing: 2px;
text-align: center;
}
.allowButton2 a{
 background: #CD5C5C;
}
/* Pop up buttons for the tables*/
.navigation{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.menuToggle{
  position: relative;
  width: 50px;
  height: 50px;
  background-color: #CCC;
  border-radius: 70px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}
.menuToggle::before{
  content: '+';
  position: absolute;
  font-size: 3em;
  font-weight: 200;
  color: #ff216d;
  transition: 1.5s;
}
.menuToggle.active::before{
  transform: rotate(225deg);
}
.menu{
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: #CCC;
  border-radius: 70px;
  z-index: -1;
  transition: transform 0.5s, width 0.5s, height 0.5s;
  transition-delay: 1s, 0.5s, 0.5s;
}
.menuToggle.active ~ .menu{
  position: absolute;
  width: 400px;
  height: 70px;
  z-index: 1;
  transform: translate(-180px, -80px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}
.menu::before{
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: #CCC;
  left: calc(50% - 8px);
  bottom: 4px;
  transform: rotate(45deg);
  border-radius: 2px;
  transition: 0.5s;
}
.menuToggle.active ~ .menu::before{
  transition-delay: 0.5s;
  bottom: -6px;
}
.menu ul{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  gap: 40px;
}
.menu ul button{
  list-style: none;
  border: 0;
  outline: none;
  text-decoration: none;
  visibility: hidden;
  transition: 0.25s;
  transform: translateY(-30px);
  transition-delay: calc(0s + 0.1s);
}
.menuToggle.active ~ .menu ul button{
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
  transition-delay: calc(0.75s + 0.1s);
}
.btn a:hover{
  text-decoration: none;
}
.empty-bin{
  font-size: 1.85rem;
}
  @media screen and (min-width: 768px){
  
    .section{
      padding-top: 8rem;
    }
   
    .nav{
      height: calc(var(--header-height) + 1.5rem);
    }
    .nav__list{
      display: flex;
    }
    .nav__item{
      margin-left: var(--mb-5);
      margin-bottom: 0;
    }
    .nav__toggle{
      display: none;
    }
  
    .change-theme{
      position: initial;
      margin-left: var(--mb-2);
    }
    .issue__container{
      height: 100vh;
      justify-items: center;
    }
  
    .delivery__container,
    .transfer__container{
      margin-top: var(--mb-6);
    }
  
    .menu__container{
      grid-template-columns: repeat(3, 210px);
      column-gap: 4rem;
    }
  }
  @media screen and (min-width: 960px){
    .bd-container{
      margin-left: auto;
      margin-right: auto;
    }
    .delivery__container,
    .app__container{
      column-gap: 7rem;
    }
  }
  
  /* For tall screens on mobiles y desktop*/
  @media screen and (min-height: 721px) {
      .home__container {
          height: 640px;
      }
  }

  
  /*Table style*/
.content-table{
    position: relative;
    border-collapse: collapse;
    margin: 100px 0;
    font-size: 0.9em;
    min-width: 400px;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    box-shadow: 00 20px rgba(0, 0, 0, 0.15);
    }
    .content-table thead{
    background-color: #228B22;
    color: #FFF;
    text-align: left;
    font-weight: bold;
    }
    .content-table th,
    .content-table td{
    padding: 12px 15px;
    }
    .content-table tbody tr{
    border-bottom: 1px solid #dddddd;
    }
    .content-table tbody tr:nth-of-type{
    border-bottom: 2px solid #228B22;
    }
    .content-table tbody tr:last-of-type{
    border-bottom: 2px solid #228B22;
    }
    .content-table tr td{
      font-weight: 700;
    }
    
      /*modal for oder details button*/
      .surveymodal
      {
        display: none;
        position: fixed;
        z-index: 2;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.5);
      }
      .reply-content
      {
        background-color: #f4f4f4;
        margin: 10% auto;
        padding: 20px;
        width: 600px;
        border-radius: 10px;
        box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0.17);
        animation-name: animate-survey;
        animation-duration: 1s;
      }
      .update1, .update2
      {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
      }
      /* popup modal for reverse*/
      .popup{
        background-color: #f4f4f4;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        width: 600px;
        border-radius: 8px;
        box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0.17);
        animation-name: animate-survey;
        animation-duration: 1s;
    }
    .popup #close{
       display: block;
       margin: 0 0 20px auto;
       background-color: transparent;
       font-size: 40px;
       font-weight: 900;
       color: #c5c5c5;
       border: none;
       outline: none;
       cursor: pointer;
    }
    .popup .title{
        position: relative;
        margin-top: -50px;
    }
    .reverse-modal{
        position: relative;
        height: 300px;
    }

      .reply-closeBtn,
      .add1-closeBtn, 
      .add2-closeBtn, 
      .add3-closeBtn, 
      .add4-closeBtn,
      .querybtn,
      .querybtn2,
      .relationshipCloseBtn,
      .notificationCloseBtn,
      .update1-closeBtn,
      .update2-closeBtn,
      .update3-closeBtn,
      .update4-closeBtn,
      .addDetails-closeBtn,
      .returnPending,
      .pcnBal-closeBtn,
      .pcnOutPen-closeBtn,
      .pcnOutBal-closeBtn,
      .transInSys-closeBtn,
      .transInPend-closeBtn,
      .transInBal-closeBtn,
      .querybtnOutSysQ,
      .querybtnSysIn,
      .queryOutBalbtn
      {
        margin-top: -16px;
        color: #ccc;
        float: right;
        font-size: 50px;
      }
      .reply-closeBtn:hover,
      .add1-closeBtn:hover,
      .add2-closeBtn:hover,
      .add3-closeBtn:hover,
      .add4-closeBtn:hover,
      .querybtn:hover,
      .querybtn2:hover,
      .relationshipCloseBtn:hover,
      .notificationCloseBtn:hover,
      .update1-closeBtn:hover,
      .update2-closeBtn:hover,
      .update3-closeBtn:hover,
      .update4-closeBtn:hover,
      .addDetails-closeBtn:hover,
      .returnPending:hover,
      .pcnBal-closeBtn:hover,
      .pcnOutPen-closeBtn:hover,
      .pcnOutBal-closeBtn:hover,
      .transInSys-closeBtn:hover,
      .transInPend-closeBtn:hover,
      .transInBal-closeBtn:hover,
      .querybtnOutSysQ:hover,
      .querybtnSysIn:hover,
      .queryOutBalbtn:hover,
      .querybtnOutSysQ:focus,
      .reply-closeBtn:focus,
      .add1-closeBtn:focus,
      .add2-closeBtn:focus,
      .add3-closeBtn:focus,
      .add4-closeBtn:focus,
      .addDetails-closeBtn:focus,
      .update1-closeBtn:focus,
      .update2-closeBtn:focus,
      .update3-closeBtn:focus,
      .update4-closeBtn:focus,
      .returnPending:focus,
      .pcnBal-closeBtn:focus,
      .pcnOutPen-closeBtn:focus,
      .pcnOutBal-closeBtn:focus,
      .transInSys-closeBtn:focus,
      .transInPend-closeBtn:focus,
      .transInBal-closeBtn:focus,
      .querybtnSysIn:focus,
      .queryOutBalbtn:focus
      {
        color: #000;
        text-decoration: none;
        cursor: pointer;
      }
      @keyframes animate-survey {
        from{ opacity: 0;}
        to{ opacity: 1;}
      }

      .modal-body{
        position: relative;
        background-color: var( --body-color) !important;
        width: 500px;
        height: 400px;
        border-radius: 20px;
    }

      /* search button*/
     
     .search-wrapper {
         position: absolute;
         transform: translate(-18%, -42%);
         top:18%;
         left:42%;
         background: #CCC;
         width: 450px;
         height: 100px;
         border-radius: 10px;
     }
     /*For the */
     .container{
      margin: 10% auto;
      max-width: 600px;
      display: flex;
      flex-direction: column;
      gap: 20px;
  }
  .container h1{
      color: #333;
  }
  .container .tab{
      position: relative;
      background: #fff;
      padding: 0 20px 20px;
      box-shadow: 0 15px 25px rgba(0,0,0,0.25);
      border-radius: 5px;
      overflow: hidden;
      opacity: .8;
  }
  .container .tab input{
      appearance: none;
  }
  .container .tab label{
      display: flex;
      align-items: center;
      cursor: pointer;
  }
  .container .tab label::after{
      content: '+';
      position: absolute;
      right: 20px;
      font-size: 2em;
      color: rgba(0,0,0,0.1);
      transition: transform 1s;
  }
  .container .tab:hover label::after{
      color: #333;
  }
  .container .tab input:checked ~ label::after{
      transform: rotate(135deg);
      color: #fff;
  }
  .container .tab label h2{
      width: 40px;
      height: 40px;
      background: #333;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #fff;
      font-size: 1.25em;
      border-radius: 5px;
      margin-right: 10px;
  }
  .container .tab input:checked ~ label h2{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      color: rgba(255,255,255,0.2);
      font-size: 8em;
      justify-content: flex-end;
      padding: 20px;
  }
  .container .tab:nth-child(1) label h2{
      background: linear-gradient(135deg, #A6A6A6, #CCC);
  }
  .container .tab:nth-child(2) label h2{
      background: linear-gradient(135deg, #A6A6A6, #CCC);  
  }
  .container .tab:nth-child(3) label h2{
      background: linear-gradient(135deg, #A6A6A6, #CCC);
  }
  .container .tab:nth-child(4) label h2{
      background: linear-gradient(135deg, #A6A6A6, #A6A6A6);
  }
  .container .tab label h3{
      position: relative;
      font-weight: 500;
      color: #333;
      z-index: 10;
  }
  .container .tab input:checked ~ label h3{
      background: #fff;
      padding: 2px 10px;
      color: #333;
      border-radius: 2px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }
  .container .tab .content{
      max-height: 0;
      transition: 1s;
      overflow: hidden;
  }
  .container .tab input:checked ~ .content{
      max-height: 100vh;
  }
  .container .tab .content table{
      position: relative;
      padding: 10px 0;
      color: #333;
      z-index: 10;
  }
  .container .tab input:checked ~ .content table, a{
      color: #fff;
  }
  
     .footer__copy{
      text-align: center;
      font-size: 1.8rem;
      color: var(--text-color-light);
      margin-top: 3.5rem;
    }
    #preloader{
      position: fixed;
      z-index: 100;
      background: #FFF;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    #preloader img{
      width: 300px;
    }
    .loader {
     scale: 3;
     height: 50px;
     width: 40px;
  }
  .box {
     position: relative;
     opacity: 0;
     left: 10px;
  }
  .side-left {
     position: absolute;
     background-color: #286cb5;
     width: 19px;
     height: 5px;
     transform: skew(0deg, -25deg);
     top: 14px;
     left: 10px;
  }
  .side-right {
     position: absolute;
     background-color: #2f85e0;
     width: 19px;
     height: 5px;
     transform: skew(0deg, 25deg);
     top: 14px;
     left: -9px;
  }
  .side-top {
     position: absolute;
     background-color: #5fa8f5;
     width: 20px;
     height: 20px;
     rotate: 45deg;
     transform: skew(-20deg, -20deg);
  }
  .box-1 {
     animation: from-left 4s infinite;
  }
  .box-2 {
     animation: from-right 4s infinite;
     animation-delay: 1s;
  }
  .box-3 {
     animation: from-left 4s infinite;
     animation-delay: 2s;
  }
  .box-4 {
     animation: from-right 4s infinite;
     animation-delay: 3s;
  }
  @keyframes from-left {
     0% {
       z-index: 20;
       opacity: 0;
       translate: -20px -6px;
     }

     20% {
       z-index: 10;
       opacity: 1;
       translate: 0px 0px;
     }

     40% {
       z-index: 9;
       translate: 0px 4px;
     }

     60% {
       z-index: 8;
       translate: 0px 8px;
     }

     80% {
       z-index: 7;
       opacity: 1;
       translate: 0px 12px;
     }

     100% {
       z-index: 5;
       translate: 0px 30px;
       opacity: 0;
     }
  }

  @keyframes from-right {
     0% {
       z-index: 20;
       opacity: 0;
       translate: 20px -6px;
     }

     20% {
       z-index: 10;
       opacity: 1;
       translate: 0px 0px;
     }

     40% {
       z-index: 9;
       translate: 0px 4px;
     }

     60% {
       z-index: 8;
       translate: 0px 8px;
     }

     80% {
       z-index: 7;
       opacity: 1;
       translate: 0px 12px;
     }

     100% {
       z-index: 5;
       translate: 0px 30px;
       opacity: 0;
     }
  }
  /* CHAT */
  .wrapper{
    background: #fff;
    max-width: 450px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 0 128px 0 rgba(0,0,0,0.1),
                0 32px 64px -48px rgba(0,0,0,0.5);
  }
  /* Users List CSS Start */
.users{
  padding: 25px 30px;
}
.users header,
.users-list a{
  display: flex;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
  justify-content: space-between;
}
.wrapper img{
  object-fit: cover;
  border-radius: 50%;
}
.users header img{
  height: 50px;
  width: 50px;
}
:is(.users, .users-list) .content{
  display: flex;
  align-items: center;
}
:is(.users, .users-list) .content .details{
  color: #000;
  margin-left: 20px;
}
:is(.users, .users-list) .details span{
  font-size: 18px;
  font-weight: 500;
}
.users header .logout{
  display: block;
  background: #333;
  color: #fff;
  outline: none;
  border: none;
  padding: 7px 15px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 17px;
}
.users .search{
  margin: 20px 0;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
}
.users .search .text{
  font-size: 18px;
}
.users .search input{
  position: absolute;
  height: 42px;
  width: calc(100% - 50px);
  font-size: 16px;
  padding: 0 13px;
  border: 1px solid #e6e6e6;
  outline: none;
  border-radius: 5px 0 0 5px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}
.users .search input.show{
  opacity: 1;
  pointer-events: auto;
}
.users .search button{
  position: relative;
  z-index: 1;
  width: 47px;
  height: 42px;
  font-size: 17px;
  cursor: pointer;
  border: none;
  background: #fff;
  color: #333;
  outline: none;
  border-radius: 0 5px 5px 0;
  transition: all 0.2s ease;
}
.users .search button.active{
  background: #333;
  color: #fff;
}
.search button.active i::before{
  content: '\f00d';
}
.users-list{
  max-height: 350px;
  overflow-y: auto;
}
:is(.users-list, .chat-box)::-webkit-scrollbar{
  width: 0px;
}
.users-list a{
  padding-bottom: 10px;
  margin-bottom: 15px;
  padding-right: 15px;
  border-bottom-color: #f1f1f1;
}
.users-list a:last-child{
  margin-bottom: 0px;
  border-bottom: none;
}
.users-list a img{
  height: 40px;
  width: 40px;
}
.users-list a .details p{
  color: #67676a;
}
.users-list a .status-dot{
  font-size: 12px;
  color: #468669;
  padding-left: 10px;
}
.users-list a .status-dot.offline{
  color: #ccc;
}

/* Chat Area CSS Start */
.chat-area header{
  display: flex;
  align-items: center;
  padding: 18px 30px;
}
.chat-area header .back-icon{
  color: #333;
  font-size: 18px;
}
.chat-area header .details span{
  font-size: 17px;
  font-weight: 500;
}
.chat-box{
  position: relative;
  min-height: 500px;
  max-height: 500px;
  overflow-y: auto;
  padding: 10px 30px 20px 30px;
  background: #f7f7f7;
  box-shadow: inset 0 32px 32px -32px rgb(0 0 0 / 5%),
              inset 0 -32px 32px -32px rgb(0 0 0 / 5%);
}
.chat-box .text{
  position: absolute;
  top: 45%;
  left: 50%;
  width: calc(100% - 50px);
  text-align: center;
  transform: translate(-50%, -50%);
}
.chat-box .chat{
  margin: 15px 0;
}
.chat-box .chat p{
  word-wrap: break-word;
  padding: 8px 16px;
  box-shadow: 0 0 32px rgb(0 0 0 / 8%),
              0rem 16px 16px -16px rgb(0 0 0 / 10%);
}
.chat-box .outgoing{
  display: flex;
}
.chat-box .outgoing .details{
  margin-left: auto;
  max-width: calc(100% - 130px);
}
.outgoing .details p{
  background: #333;
  color: #fff;
  border-radius: 18px 18px 0 18px;
}
.chat-box .incoming{
  display: flex;
  align-items: flex-end;
}
.chat-box .incoming img{
  height: 35px;
  width: 35px;
}
.chat-box .incoming .details{
  margin-right: auto;
  margin-left: 10px;
  max-width: calc(100% - 130px);
}
.incoming .details p{
  background: #fff;
  color: #333;
  border-radius: 18px 18px 18px 0;
}
.typing-area{
  padding: 18px 30px;
  display: flex;
  justify-content: space-between;
}
.typing-area input{
  height: 45px;
  width: calc(100% - 58px);
  font-size: 16px;
  padding: 0 13px;
  border: 1px solid #e6e6e6;
  outline: none;
  border-radius: 5px 0 0 5px;
}
.typing-area button{
  color: #fff;
  width: 55px;
  border: none;
  outline: none;
  background: #333;
  font-size: 19px;
  cursor: pointer;
  opacity: 0.7;
  pointer-events: none;
  border-radius: 0 5px 5px 0;
  transition: all 0.3s ease;
}
.typing-area button.active{
  opacity: 1;
  pointer-events: auto;
}

/* Responive media query */
@media screen and (max-width: 450px) {
  .form, .users{
    padding: 20px;
  }
  .form header{
    text-align: center;
  }
  .form form .name-details{
    flex-direction: column;
  }
  .form .name-details .field:first-child{
    margin-right: 0px;
  }
  .form .name-details .field:last-child{
    margin-left: 0px;
  }
  :is(.users, .users-list) .content .details{
    margin-left: 15px;
  }

  .users-list a{
    padding-right: 10px;
  }

  .chat-area header{
    padding: 15px 20px;
  }
  .chat-box{
    min-height: 400px;
    padding: 10px 15px 15px 20px;
  }
  .chat-box .chat p{
    font-size: 15px;
  }
  .chat-box .outogoing .details{
    max-width: 230px;
  }
  .chat-box .incoming .details{
    max-width: 265px;
  }
  .chat-area form{
    padding: 20px;
  }
  .chat-area form input{
    height: 40px;
    width: calc(100% - 48px);
  }
  .chat-area form button{
    width: 45px;
  }
}