* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    scrollbar-width: thin;
    scrollbar-color: #888 #fff;
}

body {
    background-color: #f6f9fc;
}
body::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
body::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 50px;
}
body::-webkit-scrollbar-track {
  background-color: #fff;
  border-radius: 50px;
}
p {
    margin-bottom: unset;
}
.main_content {
    display: flex;
}
p.Follow_up {
    display: flex;
    align-items: center;
    margin: 15px 0px;
    gap: 10px;
}
p.month_date {
    color: #0b2c4c;
    font-size: 13px;
    align-items: center;
}
.sidebar {
    width: 55px;
    background-color: #0b2c4c;
    color: #fff;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    display: none;
}
.sidebar svg {
    margin: 20px 0;
    cursor: pointer;
    width: 24px;
    height: 24px;
    fill: #fff;
}
      .main {
        flex: 1;
        display: flex;
        flex-direction: column;
      }
      .topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 30px 8px 20px;
        background-color: #ffffff;
        border-bottom: 0.5px solid #00000080
      }
     .search-box input {
      padding: 16px 12px;
      max-width: 330px;
      width:100%;
      height: 40px;
      color: #1B4965;
      border: 1px solid #ccc;
      border-radius: 50px;
      background: #1B49651A;
      font-family: Poppins;
      font-weight: 600;
      font-size: 14px;
      line-height: 100%;
      letter-spacing: 0%;
    }
    .title {
      font-family: Poppins;
      font-weight: 400;
      font-size: 16px;
      line-height: 100%;
      letter-spacing: 0%;
      color: #2D2D2D;
    }
    .add-button {
      background-color: #1a4964;
      color: white;
      padding: 8px 14px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }
    .content {
      display: flex;
      height: 100%;
      justify-content: space-between;
      align-items: stretch;
    }
    .left-panel {
      max-width: 24%;
      width: 100%;
      background-color: #fff;
      padding: 20px 0;
      border-right: 0.5px solid #00000080;
      overflow-y: auto;
    }
    .contact-item {
      padding: 10px 20px;
      border-bottom: 1px solid #f0f0f0;
      cursor: pointer;
      display: flex;
      gap: 15px;
      align-items: start;
      background-color: #fff;
      transition: background-color 0.3s ease, border-left 0.3s ease;
    }
    .contact-item.active {
      /*background-color: #D9D9D980;*/
      background-color: #d9edf7;
      border-left: 4px solid #31708f;
      font-weight: bold;
    }
    .contact-item:hover {
      background-color: #f5f5f5;
    }
    .contact-item h4 {
      font-family: Poppins;
      font-weight: 400;
      font-size: 16px;
      line-height: 100%;
      letter-spacing: 0%;
      margin-bottom: 10px;
      color: #1B4965;
      max-width: 194px;
    }
    input{
      border: none !important;
    }
    input[type="text"] {
        margin-top: 10px;
    }
    .contact-item p {
      font-family: Poppins;
      font-weight: 400;
      font-size: 12px;
      line-height: 100%;
      letter-spacing: 0;
      color: #666666;      
    }
  
    .middle-panel {
      flex: 1;
      background-color: #fff;
      padding: 20px;
      /*overflow-y: auto;*/
      position: relative;
      /*min-height: 79vh;*/
      /*max-height: 80vh;*/
      max-width: 52%;
    }

    .middle-panel h2 {
      font-family: Poppins;
      font-weight: 400;
      font-size: 13px;
      line-height: 1.4;
      letter-spacing: 0%;
      color: #000;
      margin-bottom: 0;
    }
    strong.timiki_sub_heading {
      color: #1B4965;
      font-family: Poppins;
      font-weight: 400;
      font-size: 14px;
      line-height: 100%;
      letter-spacing: 0;
    }
    .tabs {
      margin: 10px 0;
    }
    .tabs button {
        padding: 6px 14px;
        margin-right: 6px;
        background-color: #e6e6e6;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        width: 100%;
        max-width: 250px;
        border-radius: 30px;
    }
      .tabs.tabs_btn {
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
      }
      .tabs .tab-btn{
        background-color: transparent;
        color: #1B4965;
        font-family: Poppins;
        font-weight: 600;
        font-size: 14px;
        line-height: 1.2;
        letter-spacing: 0%;
        width: 100%;
        padding: 5px 30px;
        margin: 0;
      }
      .tabs .active {
        background-color: #1a4964;
        color: #fff;
      }

      .message-block {        
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 13px;
      }

      .message-block p {
        font-size: 14px;
        margin-top: 2px;
      }

      .message-block strong {
        color: #1a4964;
      }

      .note-box {
        margin-top: 6px;
        display: flex;
        flex-direction: column;
        position: relative;
      }

      .note-box textarea {
        padding: 10px;
        min-height: 36px;
        border: 1px solid #ccc;
        border-radius: 6px;
        resize: none;
      }

      .note-box button {
        align-self: flex-end;
        margin-top: 8px;
        padding: 6px 16px;
        background-color: #1a4964;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
      }

      .right-panel {
        width: 24%;
        background-color: #ffffff;
        padding: 20px;        
        border-left: 0.5px solid #00000080
      }
.agent-dashboard .main-card .left-section ul li.active, .agent-dashboard .main-card .left-section ul li:hover a {
    color: #fff !important;
}
      .profile-img {
        width: 100%;
        height: auto;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 10px;
        max-width: 100%;
      }

      .right-panel h3 {
        margin-bottom: 4px;
        font-size: 16px;
        color: #1a4964;
      }

      .right-panel p strong {
        color: #1a4964;
      }

      .right-panel input {
        width: 100%;
        margin-bottom: 10px;
        padding: 6px 10px;
        border-radius: 5px;
        border: 1px solid #ccc;
      }

      .task-item svg {
        width: 16px;
        height: 16px;
        fill: #1a4964;
        margin-right: 5px;
        vertical-align: middle;
      }

      .task-item strong {
        color: #1a4964;
      }
      .contect_itms_open {
        border-radius: 15px;
        background-color: #e8edef;
        font-size: 10px;
        padding: 8px;
        margin-left: 5px;
      }
      .total_task {
        display: flex;
        gap: 10px;
        margin: 20px;
        align-items: center;
      }
      .svg_icon_total {
        margin-top: 6px;
      }
      .filter_btnn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        margin-bottom: 20px;
      }

      .filter_text h2 {
        margin: 0;
        font-family: Poppins;
        font-weight: 400;
        font-size: 20px;
        line-height: 100%;
        letter-spacing: 0%;
        color: #000;
      }

      .filter_button {
        background-color: #1B49651A;
        border: none;
        padding: 7px 6px 4px 13px;
        border-radius: 100px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        color: #1B4965;
        font-family: Poppins;
        font-weight: 600;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0;
        justify-content: center;
        text-align: center;
    }

      .filter_button:hover {
        background-color: #e0e0e0;
      }

      .filter_button svg {
        vertical-align: middle;
      }
      .tabs_btn {
        background: #E8EDF0;
        padding: 5px 6.5px;
        border-radius: 100px;
      }
      .note-box {
        display: flex;
        justify-content: space-between;        
        border: 0.2px solid #000000;
        border-radius: 10px;
        padding: 6px;
        margin-bottom: 0px;        
      }

      .note-box textarea {
        flex: 1;
        border: none;
        background: transparent;
        resize: none;
        /*font-size: 16px;*/
        padding: 8px;
        min-height: 36px;
        outline: none;
      }

      .save-note {
        color: white;
        border: none;
        padding: 10px 14px;
        margin-left: 10px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 14px;
        transition: background 0.3s;
      }
      p.savenote {
        color: #1a4964;
      }
      p.savenote span {
        color: #000;
      }
      .button_textarea {
        display: flex;
      }
      button.save-note.save_btn {
          align-self: flex-end;          
          padding: 12px 23px;
          background: #1b4965;
          color: #ffffff;
          border: none;
          border-radius: 100px;
          cursor: pointer;
          font-family: Poppins;
          font-weight: 600;
          font-size: 14px;
          line-height: 100%;
          letter-spacing: 0%;
          margin: 0;
          height: 36px;
          position: absolute;
            top: 50%;
            right: 10px;
            transform: translateY(-50%);
      }
      .tab-content {
    padding: 20px !important;
}
.notes_save_btn {
    position: sticky;
    bottom: 10px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
}
svg {
    height: 24px;
    width: 24px;
}
.fenmore-section{
  display: flex;
  justify-content: space-between;
}
.icon_fenmor{
  display: flex;
}
span.jh_contect {
    background: #fff;
    border-radius: 100px;
    font-family: Poppins;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    letter-spacing: 0;
    color: #2D2D2D;
    padding: 6px 5px;
}
h3.contect_made {
    background: #1a4964;
    padding: 11px;
    border-radius: 44px;
    color: #fff;
    font-size: 12px;
}
.contect_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    margin-top: 4px;
}
.contect_btn_button {
    background-color: #1B49651A;
    border-radius: 100px;
    font-family: Poppins;
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #1B4965;
    padding: 4px 4px 1px 12px;
    border: none;
    display: flex;
    align-items: center;
}
.message-block.sent_massage {
    text-align: end;
    background: #bacd96;
    max-width: 50%;
    position: absolute;
    right: 16px;
    line-height: 25px;
    clear: both;
}

.message.received  {
    max-width: 100%;
    line-height: 25px;
    clear: both;
}
.search-box {
  max-width: 320px;
  max-height: 40px;
  width: 100%;
  height: 100%;
  position: relative;    
}
.search-box .seacrh-btn{
  position: absolute;
  top: 50%;
  right: 14px;
  background: #F6C002;
  border-radius: 100px;
  padding: 6px 8px;
  width: 31px;
  height: 29px;
  transform: translateY(-50%);
}
.search-box .seacrh-btn img{
  max-width: 15px;
  max-height: 15px;
}
.search-box input{
  margin-top: 0;
  padding: 4px 60px 6px 20px !important;
}
.header-nav{
  display: flex;
  align-items: center;
  gap: 30px;
}
.header-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-nav ul li a{
  background-color: #1B49651A;  
  border-radius: 100px;
  text-decoration: none;
  color: #1B4965;
  font-family: Poppins;
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0;
}
.header-nav ul li:nth-child(1) a{
  padding: 8px 8px 4px 8px;  
}
.header-nav ul li:nth-child(2) a{
  padding: 10px 8px 2px 8px;  
}
.header-nav ul li:nth-child(3) a{
  border-radius: 5px;
  padding: 6px 8px 6px 8px;
  max-width: 74px;
  width: 100%;
  height: 100%;
  max-height: 30px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.header-nav ul li:nth-child(3) a img{
  background: #1B496533;
  padding: 3px 6px;
  border-radius: 100px;
}
.header-nav .profile-log .user{
  max-width: 50px;
  max-height: 50px;
  width: 100%;
  height: 100%;  
}
.header-nav .add-button{
  font-family: Poppins;
  font-weight: 600;
  font-size: 16px;  
  letter-spacing: 0;
  color: #fff;  
  border-radius: 100px;
  padding: 6px 10px 8px 14px;
  max-width: 129px;
  max-height: 49px;
  text-align: center;
  display: flex;
  align-items: center;
}
.header-nav .add-button svg path{  
  fill: #fff !important;  
}
.header-nav ul li:nth-child(4) a{
  background-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tasklist .tasks {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}
.tasklist .tasks li{
  display: flex;
  align-items: center;  
}
.tasklist .tasks .heading-task{
  font-family: Poppins;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #2D2D2D;
}
.tasklist .tasks li .label-task{
  font-family: Poppins;
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #666666;
}
.top-sidebar {
  padding: 7px 46px 30px 18px;
}
.badges-chat {
  margin-bottom: 5px;
}
.badges-chat .open-status {
  color: #1B4965;
  font-family: Poppins;
  font-weight: 400;
  font-size: 10px;
  line-height: 100%;
  letter-spacing: 0%;
  background: #1B49651A;
  padding: 1px 7px;
  border-radius: 5px;
}
.badges-chat .newlead-status{
  color: #800000;
  font-family: Poppins;
  font-weight: 400;
  font-size: 10px;
  line-height: 100%;
  letter-spacing: 0%;
  background: #8000001A;
  padding: 1px 7px;
  border-radius: 5px;
}
  .left-panel .contact-item .chat-user .status{
      margin-bottom: 5px !important;
      margin-top: 5px !important;
      font-size: 12px;
    }
.contact-item{
      position: relative;
    }
    
.contact-item .notification-s{
  color: #B76F1E;  
  font-weight: 600;
  font-size: 10px;
  line-height: 100%;
  letter-spacing: 0%;
  background: #B76F1E1A;
  padding: 2px 6px;
  border-radius: 5px;
  text-transform: uppercase;
  position: absolute;
  top: 12px;
  right: 26px;
}
.contact-item .notification-b{
  color: #1B4965;  
  font-weight: 600;
  font-size: 10px;
  line-height: 100%;
  letter-spacing: 0%;
  background: #1B49651A;
  padding: 2px 6px;
  border-radius: 5px;
  text-transform: uppercase;
  position: absolute;
  top: 12px;
  right: 26px;
}

.type_textany::placeholder {
  color: #1B4965;
}

    .sidebar-deatiles {                
        width: 100%;
        position: relative;
        height: auto;
        padding-left: 13px;
        /* padding-right: 37px; */
      }
      .iamge-section img {
        width: 50px;
        height: auto;
        border-radius: 50px;
      }
      .name-title-section {
        max-width: 18px;
        height: auto;
        background-color: #b76f1e1a;
        width: 100%;
        margin: 0 auto;
        border-radius: 2px;
      }
      .name-title {
        font-weight: 600;
        font-size: 10px;
        line-height: 100%;
        letter-spacing: 0%;
        color: #b76f1e;
        text-align: center;
        border-radius: 15px;
      }
      .image-title-section {
        display: flex;
      }
      .image-title {
        margin: 0 auto;
        align-items: center;
        text-align: center;
      }
      .menu-bar {
        position: absolute;
        top: 0;
        left: 13px;
        display:none;
      }
      .iconss {
        width: 100%;        
        display: flex;
        justify-content: space-between;
        position: absolute;
        top: 46px;
        padding: 0 4px;
      }
      .coustmer-deatils {
        text-align: center;
      }
      .id-deatiles p {
        font-weight: 600;
        font-size: 14px;
        line-height: 100%;
        letter-spacing: 0px;
        text-align: center;
        color: #1b4965;
        padding: 6px;
        margin-top: 4px;
      }
      .coustmer-name p {
        color: #666666;
        font-weight: 400;
        font-size: 12px;
        line-height: 100%;
        text-align: center;
        padding-top: 5px;
        margin-top: 2px;
      }
      .coust-deati p {
        padding-top: 5px;
        margin-top: 0px;
      }
      .contets-us-section {
        margin-top: 15px;
      }
      .contect-task p {
        color: #1b4965;
        font-weight: 600;
        font-size: 14px;
        line-height: 100%;
      }
      .follow_up {
        margin-top: 30px;
        display: flex;
        gap: 15px;
      }
      .contect-us-follow {
        max-width: 40px;
        width: 100%;
        gap: 10px;
        border-radius: 30px;
        padding: 12px;
        background-color: #e8edf0;
        text-align: center;
      }
      .contect-us-follow p {
        color: #666666;
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
      }
      .follow-date-time {
        font-weight: 400;
        font-size: 12px;
        line-height: 100%;
        color: #1b4965;
      }
      span.follow-text {
        color: #2d2d2d;
        font-weight: 500;
        font-size: 16px;
        line-height: 100%;
      }
      .coustmer-name {
        color: #1b4965;
        font-weight: 400;
        font-size: 14px;
        line-height: 100%;
        margin-bottom: 4px;
    }
    .pinandarchive a{
      text-decoration: none;  
      width: fit-content;
      height: auto;  
    }
    .pinandarchive{
      display: flex;
      gap: 10px;
      margin-right: 10px;
    }
    .fenmore-section, .fenmore-section .icon_fenmor{
      display: flex;
      align-items: center;
    }
    .fenmore-section .contect_made  {
      background: #1B4965;
      color: #FFFFFF;
      font-family: Poppins;
      font-weight: 600;
      font-size: 12px;
      line-height: 100%;
      letter-spacing: 0;
      border-radius: 100px;
      padding: 6px;
      display: flex;
      gap: 10px;
      align-items: center;
    }
    .fenmore-section .contect_made svg path{
      fill: #fff;
    }
    .save_reply label{
      font-family: Poppins;
      font-weight: 400;
      font-size: 12px;
      line-height: 100%;
      letter-spacing: 0%;
      color: #1B4965;  
    }
    .save_reply input{
      margin-right: 5px
    }
    .save_reply .savechat{
      margin-right: 10px
    }
    .message-block .reciveduser{
      position: relative;
    }
    .message-block .reciveduser .name{
      background-color: #F8F0E8;
      padding: 6.5px 12px;
      border-radius: 100px;
    }
    .message-block .reciveduser .quote{
      position: absolute;
      bottom: -8px;
      right: 4px;
    }
    .message-block .time-chat{
      font-family: Poppins;
      font-weight: 400;
      font-size: 12px;
      line-height: 100%;
      letter-spacing: 0%;
      color: #666666;
    }
    .message-block .message-chat{
      border: 0.2px solid #ececec;
      border-radius: 10px;
      background: #ECECEC;
      padding: 10px;
      color: #000;
      font-family: Poppins;
      font-weight: 500;
      font-size: 14px;
      line-height: 1.4;
      letter-spacing: 0%;
      text-align: justify;
      width: fit-content;
    }
    .message-block .message-chat .mentioned{
      color: #1B4965;
      font-family: Poppins;
      font-weight: 400;
      font-size: 16px;
      line-height: 100%;
      letter-spacing: 0%;
    }
    .message.received {
      /*max-width: 80%;*/
      max-width: 100%;
    }
    .message.sent{
      margin-left: auto;
      justify-content: end;
        
    }
    .message-block.message.sent{
         max-width: 90%; 
        
    }
    .container{
        max-width: 1280px !important;
        margin: 0 auto;
    }
  .main-container {
    display: flex;
    height: 90vh;
    max-width: 1100px;
    margin: 30px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .contact-list {
    width: 300px;
    background-color: #f7f7f7;
    border-right: 1px solid #ddd;
    overflow-y: auto;
  }

  .contact {
    /*padding: 15px 20px;*/
    /*border-bottom: 1px solid #ddd;*/
    cursor: pointer;
  }
  
  
 div#chatMessages {
    overflow: auto;
    height: calc(100vh - 383px);
    margin-bottom: 0;
    padding: 8px 16px;
}
    
.all-contect {
    overflow-y: auto;
    min-height: 366px;
}
.search-box input:focus{
  background-color: #1B49651A;
}
.title{
  margin-bottom: 0;
}
.middle-panel{
  position: relative
}
.middle-panel .chat-toggle {
	position: absolute;
	top: 26%;
	padding: 10px 12px 7px 6px;	
	border-radius: 0 50% 50% 0;
	left: 0;
	display: none;
	background-color: transparent !important;
    animation-fill-mode: backwards;
    cursor: pointer;  
    transform: translateX(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.middle-panel .chat-toggle:after{  
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
  border-radius: 0 50px 50px 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all .4s;
  background-color: #1B4965;  
  opacity: 0;
  animation: moveInBottom 3s ease-out infinite;  
}
@keyframes moveInBottom {
    0% {
        opacity: .6;
        transform: scale(.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.middle-panel .chat-toggle .chat-toggler{
  max-width: 20px;
}
.content.active .left-panel{
  max-width: 100%;
  width: 100%;
  transition: .5s;
}
.content.active .chat-toggle {
    display: none;
    animation-name: glow;
    animation-duration: 1.5s;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.content.active .middle-panel{
    display: none;
}

.btn-close {
        display: none;
    }
    .save_reply {
    padding-top: 3px;
}
.save_reply .savechat, span.replychat {
    position: relative;
    min-width: 90px !important;
    display: inline-block;
}
.save_reply .savechat input, .save_reply .savechat label, span.replychat input, span.replychat label{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
 .save_reply .savechat label, span.replychat label {
    left: 14px;
    min-width: 80px;
    margin-left: 4px;
}
.iconss svg{
    height: 16px;
}
.save_reply {
    padding-left: 14px;
}
#chatInput{
        font-style: italic;
}




@media(max-width: 1367px){
    .topbar {    
    padding: 6px 18px;    
    }  
    .search-box input {
    padding: 14px 12px;    
    font-size: 14px;
    margin-bottom: 0;
    height: 100%;
    }
    .search-box{    
    max-width: 280px;
    max-height: 38px
    }
    .search-box .seacrh-btn{
    right: 10px
    }
    .header-nav .add-button {    
    font-size: 14px;    
    padding: 7px 14px;
    max-width: 94px;
    max-height: 49px;    
    }
    .header-nav .profile-log .user {
    max-width: 36px;    
    }  
    .left-panel {
    padding: 18px 0;
    }
    .top-sidebar {
    padding: 0 46px 30px 18px;
    }
    .filter_button {
    gap: 1px;	
    font-size: 14px;  
    }
    .filter_btnn {
    margin-bottom: 16px;
    }
    .middle-panel {
    padding: 18px;
    }
    .right-panel {
    padding: 18px;	
    }
    .fenmore-section .contect_made {	
    font-size: 12px;	
    padding: 6px;	
    gap: 4px;	
    }
    .middle-panel h2, strong.timiki_sub_heading, .filter_text h2 {	
    font-size: 12px;	
    }
    .contect_btn_button {	
    font-size: 12px;	
    }
    .tabs.tabs_btn {	
    margin-bottom: 6px;
    }
    .tabs .tab-btn {	
    font-size: 12px;	
    padding: 6px 0;
    width: 100%;
    transition: .5s;
    }
    .message-block .message-chat {
    font-size: 12px;
    }
    .message-block .time-chat{
        font-size: 12px;
    }
    button.save-note.save_btn {
        padding: 8px 16px;
        font-size: 12px;
        height: 34px;
    }
/*-- Chat Toggle and Close Button --*/    
.btn-close.contact-item {
   display: none;
}
.content.active .btn-close.contact-item {
   display: block;
}
}
    
@media (min-width: 992px) and (max-width: 1024px) {
    .top-sidebar {
        padding: 7px 41px 23px 5px;
    }
    .contact-item {
        padding: 10px 10px;
    }
    .contact-item h4 {
        font-size: 14px;
        max-width: 198px;
    }
    .middle-panel {
        padding: 10px;
    }
    .fenmore-section .contect_made {
        padding: 9px;
        gap: 6px;
    }
    span.jh_contect {
        font-size: 10px;
        padding: 6px 6px;
    }
    .coustmer-name p {
        font-size: 12px;
    }

    .fenmore-section, .fenmore-section .icon_fenmor {
        width: 100%;
        max-width: 523px;
        margin-right: -58px;
    }
    .pinandarchive {
        max-width: 71px;
    }
    
    button.save-note.save_btn {
        padding: 3px 12px;
        font-size: 14px;
        height: 50px;
    }
    .note-box {
        padding: 5px;
    }
    
/*-- Chat Toggle and Close Button --*/
.btn-close.contact-item {
    display: none;
}
.content.active .btn-close.contact-item {
    display: block;
}
}


@media(max-width: 900px){
  .right-panel{
    display: none;
  }
  .middle-panel{
   max-width: 70% ;
  }
  .left-panel{
    max-width: 30%;
  }
  
/*-- Chat Toggle and Close Button --*/
.btn-close.contact-item {
  display: none;
}
.content.active .btn-close.contact-item {
  display: block;
}
}
@media(max-width: 767px){
    div#chatMessages {
        overflow: auto;
        height: calc(100vh - 490px);
        margin-bottom: 0;
        padding: 8px 16px;
    }
    .note-box textarea {
        flex: 1;
        border: none;
        background: transparent;
        resize: none;
        /* font-size: 16px; */
        padding: 8px;
        min-height: 28px;
        outline: none;
    }
    /*div#chatMessages {*/
    /*	height: 220px;*/
    /*	margin-bottom: 0;*/
    /*}*/
    /*.notes_save_btn {*/
    /*	position: relative;*/
    /*	bottom: 0;*/
    /*	width: calc(100% - 40px);*/
    /*	margin: 0 auto;*/
    /*}*/
    /*.middle-panel {*/
    /*	min-height: auto;*/
    /*}*/
    .search-box .seacrh-btn {
    	right: 6px;
    }
    .btn-close {
    	position: absolute !important;
    	right: 20px !important;
    	padding: 0;
    	box-shadow: none;
    	background-color: transparent;
    	border: none;
    	display: inline-block;
    }
    .pinandarchive img{
        max-width: 30px;
    }
    .filter_btnn {
    	padding-right: 44px;
    }
    .con_med {
    	min-width: 68px;
    }
    .middle-panel h2{
    	font-size: 12px;
    	width: 120px;
    }
    .contect_made svg {
    	position: absolute !important;
    	right: 16px !important;
    	top: 24px !important;
    }
    .fenmore-section .contect_made {
    	padding-right: 18px;
    }
    span.jh_contect {
    	font-size: 10px;
    	padding: 5px 4px;
    }
    .fenmore-section .contect_made {
    	font-size: 10px;
    }
    .contect_btn_button {
    	font-size: 10px;
    }
    .note-box textarea {
    	width: 100%;
    	font-size: 12px;
    }
    button.save-note.save_btn {
    	padding: 4px 12px;
    	font-size: 12px;
    	height: 38px;
    }
    .middle-panel .chat-toggle{
        display: block;
    }
    .left-panel{
      width: 0;
    }
    .middle-panel{
      max-width: 100%
    }
    .header-nav, .header-nav ul {
    	gap: 4px;
    }
    .topbar {
    	flex-direction: column-reverse;
    }
    .title {
    	display: inline-block;
    }
    .header-nav {
    	width: fit-content;
    	float: right;
    }
    .search-box input {
    	font-size: 12px;
    }
    .search-box {
    	max-width: 260px;
    }
    .header-nav .add-button {
    	font-size: 12px;
    	padding: 3px 10px;
    }
    .title{
        font-size: 16px;
    }
    .top-sidebar {
    	padding: 0 18px 22px 18px;
    }
    .svg_icon_total {
    	margin-top: 4px;
    }
/*-- Chat Toggle and Close Button --*/
.btn-close.contact-item {
  display: none;
}
.content.active .btn-close.contact-item {
  display: block;
}
}
@media(max-width: 480px){
    .title, .search-box {
        margin-top: 10px;
    }
    .save_reply label {
    	font-size: 12px;
    }
    
/*-- Chat Toggle and Close Button --*/
.btn-close.contact-item {
  display: none;
}
.content.active .btn-close.contact-item {
  display: block;
}
}


@keyframes glow{
  from{
    opacity: .6;
    transform: scale(.95)
  }
  to{
    opacity: 1;
    transform: scale(.8)
  }  
  
  
}

/*-- Chat Toggle and Close Button --*/
.btn-close.contact-item {
  display: none;
}
.content.active .btn-close.contact-item {
  display: block;
}