:root {
  --theme-color: #00a884;
  --button-color: #008069;
}

body {
  color: #111b21;
}


/* Channel Add Edit Page */
.form-container {
  text-align: center;
}

.container {
  width: 300px;
  margin: 50px auto;
  padding: 20px;
  border: 1px solid #f0f2f5;
  border-radius: 5px;
}

.container label {
  display: block;
  margin-bottom: 5px;
}

.container input[type="text"],
.container input[type="password"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #f0f2f5;
  border-radius: 4px;
  box-sizing: border-box;
}

.container input[type="submit"] {
  width: 100%;
  background-color: #4CAF50;
  color: white;
  padding: 10px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.container input[type="submit"]:hover {
  background-color: #45a049;
}

.error {
  color: red;
  margin-top: 5px;
}
/* END Channel Add Edit Page */

/* Listing Page for Channel Details */
.listing-container {
  width: 80%;
  margin: 0 auto;
}

.listing-container h2 {
  margin-bottom: 20px;
  text-align: center;
}

.listing-container .channel-table {
  width: 100%;
  border-collapse: collapse;
}

.listing-container .channel-table th,
.listing-container .channel-table td {
  padding: 10px 15px;
  text-align: left;
}

.listing-container .channel-table td {
  word-break: break-word;
}

.listing-container .channel-table th {
  background-color: #f2f2f2;
}

.listing-container .edit-link,
.listing-container .delete-link {
  color: #007bff;
  text-decoration: none;
  margin-right: 10px;
}

.listing-container .edit-link:hover,
.listing-container .delete-link:hover {
  text-decoration: underline;
}

.listing-container .add-link {
  display: block;
  margin-top: 10px;
  color: #28a745;
  text-decoration: none;
}

.channel-table .channel-list-button {
  display: flex;
  align-items: center;
}

.channel-table .channel-list-button button {
  min-width: 80px;
  padding: 5px 10px;
}
/* END Listing Page for Channel Details */
:root {
  --black-color: #111b21;
  --white-color: #fff;
  --dark-gray: #979797;
  --light-gray: #cacaca;

  --primary-color: #1eafb3;
  --secondary-color: #b8292f;
  --ternary-color: #323232;

  --likely-teal: #1eafb3;
  --likely-red: #b8292f;

  --dark-gray: #979797;
  --light-gray: #cacaca;

  --bubble-color-light: #d9fdd3;

  --font-body: 14px;

  --h1-font: 32px;
  --h2-font: 28px;
  --h3-font: 24px;
  --h4-font: 20px;
  --h5-font: 17px;
  --h6-font: 14px;

  --sfcompact-font: "houschka-pro", sans-serif;
  /* font case */
  --text-capitalize: capitalize;
  --text-uppercase: uppercase;
  --text-lowercase: lowercase;
}

/* rest css / utility css */
*,
::after,
::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  font-family: "houschka-pro", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: var(--black-color);
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
  background: #e6e6e6;
}

a {
  text-decoration: none;
  display: inline-block;
  box-shadow: none !important;
  outline: none;
}

a:hover {
  text-decoration: underline;
  cursor: pointer;
}

button,
input[type="submit"] {
  cursor: pointer;
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}

button,
input,
textarea,
select,
a {
  box-shadow: none !important;
  outline: none !important;
}

a:hover {
  text-decoration: none;
}

img,
svg {
  border-style: none;
  max-width: 100%;
  vertical-align: middle;
  height: auto;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  outline: none;
  box-shadow: none;
}

[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
}

[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

ul li {
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  font-family: var(--sfcompact-font);
}

h1 {
  font-size: var(--h1-font);
}

h2 {
  font-size: var(--h2-font);
}

h3 {
  font-size: var(--h3-font);
}

h4 {
  font-size: var(--h4-font);
}

h5 {
  font-size: var(--h5-font);
}

h6 {
  font-size: var(--h6-font);
}

p {
  margin: 0 0 1rem 0;
}

.main-chat-section {
  display: flex;
  background: #E1E1E1;
  height: 100vh;
  overflow: auto;
  /* zoom: 80%; */
}

.chat-list {
  outline: 0;
  height: 100%;
  overflow: hidden;
  width: 100%;
  float: left;
  background: #03497A;
  max-width: 327px;
  position: relative;
}

.chat-header {
  padding: 15px;
}

.chatbox {
  width: 100%;
  overflow: hidden;
  height: 100%;
  border-right: 1px solid #f0f2f5;
  /* position: relative; */

}

.chat-head-message {
  border-bottom: 1px solid #f0f2f5;
  padding: 10px 24px;
  background: #fff;
}

.chat-person-info {
  outline: 0;
  height: 100%;
  overflow: hidden;
  width: 100%;
  float: left;
  background: #fff;
  max-width: 400px;
}

.all-channels {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

.all-channels select.form-control {
  border: 1px solid #0E7CC9;
  width: 100%;
  border-radius: 9px;
  background: transparent;
  color: #fff;
  font-size: 16px;
  background: url('../images/dropdonw_down_arrow_white.svg') 92%/6% no-repeat;
  padding: 10px;
  max-width: 235px;
}

select.form-control option {
  color: #000;
  background: transparent;
}

form.header-form {
  position: relative;
  padding: 12px 0;
  border-radius: 6px;
  margin-top: 8px;
}

form.header-form input.form-control {
  width: 100%;
  border-radius: 8px;
  background: transparent;
  padding: 6px 20px 6px 40px;
  font-weight: 400;
  appearance: none;
  -webkit-appearance: none;
}

.search-in-chat input#search_chat_box {
  appearance: none;
  -webkit-appearance: none;
}

.search-in-chat input[type="search"]::-webkit-search-decoration,
.search-in-chat input[type="search"]::-webkit-search-cancel-button,
.search-in-chat input[type="search"]::-webkit-search-results-button,
.search-in-chat input[type="search"]::-webkit-search-results-decoration {
  appearance: none;
  -webkit-appearance: none;
}

form.header-form input[type="search"]::-webkit-search-decoration,
form.header-form input[type="search"]::-webkit-search-cancel-button,
form.header-form input[type="search"]::-webkit-search-results-button,
form.header-form input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance:none;
  appearance: none;
}

form.header-form button.btn-search-close {
  position: absolute;
  top: 23px;
  left: auto;
  right: 10px;
  border: none;
  background: transparent;
  line-height: 2;
}

form.header-form .btn-search {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #54656f;
}

.chat-person-list {
  padding: 22px 0;
  height: 100%;
  max-height: 450px;
  overflow: auto;
}

.chat-person-count {
  display: flex;
  justify-content: space-between;
  color: #fff;
  align-items: center;
  position: relative;
}

.user-info-image {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.user-info-image span.online-green{
  width: 12px;
    height: 12px;
    display: block;
    background: #11BE2C;
    border-radius: 50%;
    border: 2px solid #fff;
    position: absolute;
    bottom: 3px;
    left: auto;
    right: 2px;
}
.user-name {
  margin-left: 10px;
}

.chat-person-count .user-name p {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
}
.chat-person-count .user-time p {
  margin-bottom: 0;
  line-height: 1;
}

/* .user-name span {
  font-size: 14px;
  font-weight: 400;
} */
.chat-person-count .user-name {
  gap: 0 5px;
}
.chat-person-count .user-name > span {
  background: #34b51b;
  border-radius: 50%;
  height: 16px;
  min-width: 16px;
  display: block;
  vertical-align: middle;
  line-height: 17px;
  text-align: center;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  position: relative;
  top: 0;
}

.user-name{
  margin-left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.chat-user-list ul {
  margin-top: 0px;
  display: inline-block;
  width: 100%;
}

.chat-user-list ul li {
  position: relative;
  padding: 9px 15px 9px 15px;
  cursor: pointer;
}

.chat-user-list ul li.current {
  background: #033558;
}

.chat-user-list ul li:hover {
  background: #033558;
}

.chat-user-list ul li:after {
  content: '';
  width: 100%;
  position: absolute;
  height: 1px;
  background: #0E7CC9;
  bottom: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.chat-user-list ul li:last-child::after{
  content: none;
}

.chat-user-list {
  overflow: auto;
  height: calc(100vh - 149px);
}
.user-image img {
  width: 100%;
  max-width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
}
.send-user-img img{
  width: 100%;
  max-width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
}

.main-chat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-chat .user-image {
  position: relative;
}

.main-chat .user-image span img {
  position: absolute;
  bottom: 3px;
  left: auto;
  right: 0;
}

.main-chat .user-name p {
  font-size: 18px;
  line-height: 25px;
  font-weight: 600;
  color: var(--black-color);
  margin-bottom: 0;
}

.main-chat .user-name span {
  font-size: 14px;
  line-height: 20px;
  color: var(--black-color);
}

.chat-message-body ul li.send {
    display: block;
    width: 100%;
    position: relative;
    float: left;
}

.chat-message-body {
    float: left;
    width: 100%;
    overflow: auto;
    height: calc(100% - 93px);
    position: relative;
    background: url(../images/wtsapp-bg.png) no-repeat;
    background-size: cover;
}
.chat-message-body ul{
    padding: 33px 20px 20px 47px;
    display: inline-block;
    width: 100%;
}
.chat-message-body ul li .send-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.chat-message-body ul li {
  margin-bottom: 10px;
}

.chat-message-body ul li .send-message span {
  font-size: 12px;
  line-height: 28px;
  font-weight: 400;
  color: #667781;
}

.chat-message-body ul li .send-message .send-white-box {
  background: rgba(255, 255, 255, 1);
  padding: 6px 9px;
  border-radius: 0 6px 6px 6px;
  width: 100%;
  max-width: 256px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.chat-message-body ul li .send-message .send-white-box.media {
  padding: 3px;
}

.chat-message-body ul li .send-message .send-white-box img {
  border-radius: 8px;
  max-height: 440px;
}

.chat-message-body ul li .send-message .send-white-box p {
  color: var(--black-color);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.3;
  word-wrap: break-word;
}

.chat-message-body ul li.reply {
  float: right;
  display: block;
  width: 100%;
  position: relative;
}

.chat-message-body ul li.reply .send-message {
  flex-direction: row-reverse;
  text-align: right;
}

.chat-message-body ul li.reply .send-message .send-white-box {
  background: var(--bubble-color-light);
  border-radius: 6px 0px 6px 6px;
  text-align: left;
  width: 100%;
  max-width: 386px;
  position: relative;
}
.chat-message-body ul li.reply .send-message .send-white-box:hover .update-edit-msg{
  opacity: 1;
}
.chat-message-body ul li.reply .send-message .send-white-box:hover p{
  /* margin-bottom: 8px */
} 

.chat-message-body ul li.reply .send-message .send-white-box .update-edit-msg .fas{
  max-width: 14px;
  font-size: 14px;
}
.chat-message-body ul li.reply .send-message .send-white-box .update-edit-msg {
  position: absolute;
    left: auto;
    right: 5px;
    top: 0;
    width: 100%;
    cursor: pointer;
    opacity: 0;
    bottom: auto;
    text-align: right;
}
.chat-message-body ul li.reply .send-message .send-white-box textarea.edit-textbox {
  border: 1px solid #ddd;
    background: transparent;
    padding: 10px;
    border-radius: 8px;
}
.send-box {
  padding: 10px;
  float: left;
  width: 100%;
  position: relative;
  /* margin-bottom: 20px; */
}



.send-box input::placeholder {
  color: #B7B7B7;
}

/* .send-attach-button {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  position: absolute;
  left: auto;
  right: 43px;
  top: auto;
  bottom: 35px;
} */

.chat-person-info .info-head {
  border-bottom: 1px solid #f0f2f5;
  padding: 19px 24px;
  background: #fff;
  display:none;
}

.chat-person-info .info-head h4 {
  position: relative;
  font-weight: 600;
}

.chat-person-info .info-head h4:after {
  content: '';
  position: absolute;
  width: 130px;
  height: 5px;
  background: rgba(6, 67, 111, 1);
  top: auto;
  bottom: -30px;
  left: 0;
}

.chat-person-info .info-tell {
  border-bottom: none;
  padding: 9px 12px;
  background: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.2);
  border-radius: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.chat-person-info .user-phone {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-person-info .user-info-image p {
  font-size: 16px;
  line-height: 28px;
  font-weight: 600;
  color: var(--black-color);
  margin-bottom: 0;
}

.chat-person-info .user-info-image span {
  font-size: 16px;
  color: #7C7C7C;
  font-weight: 500;
  letter-spacing: 1px;
  display: flex;
}

.chat-person-info .info-contact {
  padding: 12px 0;
}

.chat-person-info .info-contact h5 {
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
}

.chat-person-info .info-contact .sub-info {
  margin-top: 0;
  padding: 8px 12px;
}

.chat-person-info .info-contact .sub-info ul li a {
  font-size: 14px;
  line-height: 1.2;
  color: var(--black-color);
  font-weight: 400;
}

.chat-person-info .info-contact .sub-info ul li {
 
  display: flex;
  align-items: center;
}
.chat-person-info .info-contact .sub-info ul li input, .chat-person-info .info-contact .sub-info ul li span, .chat-person-info .info-contact .sub-info ul li a {
  margin-bottom: 15px;
}

.chat-person-info .info-contact .sub-info ul li span {
  background: #F2F2F2;
  width: 40px;
  display: inline-block;
  padding: 8px;
  height: 40px;
  border-radius: 6px;
  text-align: center;
  margin-right: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #54656f;
}

.chat-person-info .info-contact .sub-info input {
  margin-bottom: 0;
}
/* .chat-person-info .info-contact .info-button {
  margin-top: 30px;
} */

/* .chat-person-info .info-contact .info-button a {
  background: #0D5C94;
  border-radius: 7px;
  color: #fff;
  padding: 13px 45px;
  border-color: #0E7CC9;
  margin-bottom: 15px;
} */

.info-button a {
  background: #0D5C94;
  border-radius: 7px;
  color: #fff !important;
  padding: 13px 45px;
  border-color: #0E7CC9;
  margin-bottom: 15px;
}
 .info-button a:hover {
  background: #0E7CC9;
}

div#info-button-lead {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 12px 0;
  padding: 12px 0;
}
div#info-button-lead > a {
  flex: 1;
}
/* .chat-person-info .info-contact .info-button a:hover {
  background: #0E7CC9;
} */

div#previewContainer img {
  width: auto;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  box-shadow: 0 0 9px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
}
div#previewContainer {
  position: absolute;
  top: auto;
  left: 0;
  z-index: 999;
  background: rgb(233, 237, 239);
  padding: 20px;
  bottom: 91%;
  width: 100%;
  max-width: 100%;
  box-shadow: none;
  border: none;
  text-align: center;
}

div#previewContainer > div {

}


#previewContainer .close-icon {
  position: absolute;
  top: 30px;
  left: 28px;
  right: auto;
  font-size: 20px;
  color: #54656f;
  cursor: pointer;
  font-size: 20px;
}

.info-contact select {
  border: 1px solid #f0f2f5;
  padding: 10px 20px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 250px;
  border-radius: 9px;
  background: transparent;
}
.form-changes {
  padding: 0;
  margin-bottom: 20px;
}
/* .form-changes select{
 border: 1px solid #f0f2f5;
  padding: 10px 20px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 250px;
  border-radius: 9px;
  background: transparent;
} */

/* div#submitContainer button {
  background: #0D5C94;
  border-radius: 7px;
  color: #fff;
  padding: 13px 54px;
  border-color: #0E7CC9;
  box-shadow: none;
  border: none;
} */
.chat-person-info .info-contact button{
  background: #0D5C94;
  border-radius: 7px;
  color: #fff;
  padding: 13px 54px;
  border-color: #0E7CC9;
  box-shadow: none;
  border: none;
}
/* .form-changes button{
  background: #0D5C94;
  border-radius: 7px;
  color: #fff;
  padding: 13px 54px;
  border-color: #0E7CC9;
  box-shadow: none;
  border: none;
} */
/* .form-changes button a:hover {
    background: #0E7CC9;
} */

.info-contact input {
border: 1px solid #f0f2f5;
padding: 10px 20px;
margin-bottom: 20px;
width: 100%;
border-radius: 9px;
background: transparent;
font-size: 14px;
}

.form-changes input,
.form-changes select,
.info-contact input,
.info-contact select {
  border: 1px solid #f0f2f5;
  padding: 10px 12px;
  margin-bottom: 12px;
  width: 100%;
  border-radius: 9px;
  background: transparent;
  font-size: 14px;
  max-width: 100%;
}


.user-info-image input{
  border: 1px solid #f0f2f5;
padding: 10px 20px;
margin-bottom: 20px;
width: 100%;
}
.info-wrap{
  float: left;
  width: 100%;

}
.info-wrap .scroller{
  height: calc(100vh - 93px);
  overflow: auto;
  padding: 0 20px;
}


.main-chat-section.no-conversation .chat-head-message {
  display: none;
}
.main-chat-section.no-conversation .send-box {
  display: none;
}
.main-chat-section.no-conversation .custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
}
.main-chat-section.no-access .custom p {
  font-size: 26px;
  font-weight: 600;
  opacity: 0.6;
  margin: 0;
}
.main-chat-section.no-access .chat-head-message {
  display: none;
}
.main-chat-section.no-access .send-box {
  display: none;
}
.main-chat-section.no-access .chat-list{
  display: none;
}
.main-chat-section.no-access .custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
}
.main-chat-section.no-access .custom p {
  font-size: 25px;
}
.chat-tabs {
  padding-top: 13px;
}
.chat-tabs ul {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.chat-tabs ul li {
  background: #979797;
  border-radius: 23px;
  color: #000;
  width: 100%;
  text-align: center;
  max-width: 100px;
  line-height: 33px;
  font-size: 17px;
  vertical-align: middle;
  cursor: pointer;
}
/* .chat-tabs ul li a {
  color: #000;
}
.chat-tabs ul li.active{
  background: #fff;
  color: #0D5C94;
}
.chat-tabs ul li:hover{
  background: #fff;
  color: #0D5C94;
} */
a#toggle-sidebar img {
  width: 100%;
  max-width: 20px;
  display: none;
}

.toggle-menu {
  display: none;
}
/* Popup background overlay */
.confirmation-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Confirmation popup styles */
.confirmation-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
  z-index: 1000;
  text-align: center;
  width: 300px;
  max-width: 80%;
}

.confirmation-popup p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
}

.confirmation-popup button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  margin: 0 10px;
}

.confirmation-popup .confirm-delete {
  background-color: #ff4b4b;
  color: #fff;
}

.confirmation-popup .cancel-delete {
  background-color: #f0f2f5;
  color: #333;
}

.confirmation-popup .confirm-delete:hover {
  background-color: #e63939;
}

.confirmation-popup .cancel-delete:hover {
  background-color: #b3b3b3;
}
.form-change-select{
width:100%
}
.change-button{
display:inline-block;
}
li.conversation-item span {
    text-align: center;
    color: #000;
    font-size: 13px;
    display: block;
}

li.conversation-item span.assigned-to {
  text-align: right;
  color: #fff;
  font-size: 13px;
  display: block;
}
/* .all-channels a#search_button {
    background: #0D5C94;
    border-radius: 7px;
    color: #fff !important;
    padding: 12px 15px;
    border-color: #0E7CC9;
} */
.main-chat-section.no-conversation .chat-message-body {
    height: 100%;
}
.user-logs {
    padding: 12px 0;
}
 .user-name.main-chat-person {
    display: block;
}
/* .chat-tabs ul a#filterAdmin {
    color: #fff;
    font-size: 20px;
    position: relative;
    top: 9px;
} */
.date-filter input {
    border: 1px solid #0E7CC9;
    width: 100%;
    border-radius: 9px;
    background: transparent;
    padding: 10px 13px 8px 17px;
    font-weight: 400;
    font-size: 14px;
    color: #000;
    width: 100%;
    display: inline-block;
    max-width: 48%;
}
.date-filter button#apply_date_filter {
    background: #0D5C94;
    border-radius: 7px;
    color: #fff !important;
    padding: 13px 18px;
    border-color: #0E7CC9;
    box-shadow: none;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    border: none;
}

.date-filter {
    text-align: center;
    display: flex;
    gap: 23px;
    margin-bottom: 20px;
}
.filter-options select#filter-dropdown {
    width: 100%;
    border-radius: 9px;
    background: transparent;
    color: #000;
    font-size: 16px;
    background: url(../images/dropdonw_down_arrow.svg) no-repeat;
    background-position: calc(100% - 10px) center;
    padding: 10px;
    max-width: 215px;
    display: inline-block;
}
.main-chat-section .modal{
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}
.filter-options button {
  border: none;
}
.modal-header .close-filter-modal{
  background: transparent;
  border: none;
  font-size: 20px;
}
.log-table {
  width: 100%;
  border-collapse: collapse;
  caption-side: top;
}
.log-table caption{
    font-size: 25px;
    line-height: 30px;
    color: #6c757d;
    text-align: center;
}
.log-table th, .log-table td {
  border: 1px solid #f0f2f5;
  padding: 8px;
  text-align: left;
  font-size: 14px;
}

.log-table th {
  background-color: #f0f2f5;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  color: #6c757d;
}

.user-logs {
  margin-top: 12px;
}
.shared-media-section {
  border: 1px solid #f0f2f5;
}
.user-shared-media-visibility ul {
  width: 100%;
  overflow: auto;
  max-width: 100%;
  height: auto;
  gap: 10px;
  padding-bottom: 15px;
  padding-left: 12px;
  display: flex;
  margin-top: 12px;
  
}

.user-shared-media-visibility ul li {
  display: inline-block;
  margin: 0 10px;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  min-width: 124px;
  max-width: 124px;
  text-align: center;
  margin: 0;
  position: relative;
}

.user-shared-media-visibility ul li.no-media,
.log-table td.no-log-found {
  padding: 10px 12px;
  opacity: 0.5;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 14px;
  text-align: center;
  border-radius: 0;
}
.user-shared-media-visibility ul li.no-media {
  border: none;
  padding: 0;
  max-width: 100%;
}

.user-shared-media-visibility .download-link {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  opacity: 0.9;
}

.user-shared-media-visibility .image-container.wp-image {
  width: 120px;
  height: 120px;
}

.image-container.wp-image img {
  width: 100%;
  max-width: 120px;
  height: 120px;
  object-fit: cover;
}

.shared-media-section embed {
  width: 100%;
  max-width: 120px;
  height: 120px !important;
  object-fit: cover;
}
.shared-media-section h3 {
  font-size: 16px;
  line-height: normal;
  color: #6c757d;
  text-align: center;
  background: #f0f2f5;
  padding: 10px 12px;
  font-weight: 600;
  margin: 0;
}
.chat-user-list ul li.conversation-item .chat-person-count .user-name p{
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}
.chat-user-list ul li.conversation-item .chat-person-count .user-image img{
  max-width: 35px;
  height: 35px;
}
.chat-message-body ul li .send-time-message span.blue-tick img {
  width: 100%;
  max-width: 12px;
  text-align: left;
}
.chat-message-body ul li .send-time-message span.blue-tick {
  position: static;
  left: auto;
  right: 5px;
  bottom: 8px;
}
.chat-message-body ul li .send-time-message .send-white-box.media span.blue-tick{
  position: absolute;
}
.chat-message-body ul li .send-time-message span.blue-tick img.single-tick {
  width: 100%;
  max-width: 9px;
}
.conversation-item {
  position: relative;
  padding: 10px;
  border-bottom: 1px solid #f0f2f5;
}

.user-info-image {
  display: flex;
  align-items: center;
}

.user-image img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.user-name {
  margin-left: 10px;
}

.user-time {
  float: right;
}

.menu-wrapper {
  position: relative;
  display: inline-block;
}

.menu-dots {
  display: none;
  cursor: pointer;
  margin-left: 10px;
}

.menu-wrapper .menu-dropdown {
  display: none;
  position: absolute;
  top: 30px;
  right: -10px;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 0 5px 5px 5px;
}

.menu-dropdown button {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  min-width: 160px;
  border-radius: 0 5px 5px 5px;
}

.menu-dropdown button:hover {
  background-color: #f1f1f1;
}

.conversation-item.current .menu-dots,
.conversation-item.current .menu-dropdown {
  display: none;
}

.filter-options.other-options {
  border-top: 1px solid #dee2e6;
  padding: 10px 15px;
}
.other-options h5 {
  padding-bottom: 16px;
}

.alert.hour-expiration {
  background: rgba(255, 255, 255, 0.5);
  margin: 0;
  height: 70px;
  padding: 25px 25px;
  cursor: not-allowed;
  text-align: center;
  border-radius: 0;
  color: #00a88487;
  opacity: 0.6;
}

.alert.hour-expiration .alert-icon {
  display: none;
}

.main-chat-section div#filterModal {
  transform: none;
  top: 0;
  left: 0;
  margin: 0;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.2);
}
.main-chat-section div#filterModal .modal-dialog {
  border-radius: 0;
  margin: 0;
  height: 100%;
  max-width: 327px;
  transform: none;
}
.main-chat-section div#filterModal .modal-content {
  height: 100%;
  background: #fff;
  color: inherit;
  border-radius: 0;
  border: none;
}
.main-chat-section div#filterModal .modal-header {
  background: #f0f2f5;
  border-bottom-color: rgba(255, 255, 255, 0.2);
  border-radius: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.main-chat-section div#filterModal .modal-title {
  letter-spacing: 0.04em;
  font-weight: 600;
  opacity: 0.8;
}
.main-chat-section div#filterModal .modal-header  .close-filter-modal {
  background: transparent;
  border: none;
  font-size: 20px;
  color: inherit;
}
.main-chat-section div#filterModal .date-filter {
  margin-top: 10px;
  gap: 0 8px;
  margin-bottom: 8px;
}
.main-chat-section div#filterModal .date-filter input,
.main-chat-section div#filterModal select#filter-dropdown {
  border: 1px solid #f0f2f5;
  background-color: #f0f2f5;
  box-shadow: none !important;
  padding: 10px 13px 8px 17px;
  font-size: 14px;
}
.main-chat-section div#filterModal .filter-options select#filter-dropdown {
  background-size: auto 6px;
  max-width: 100%;
  padding-right: 30px;
}

.main-chat-section div#filterModal .filter-options.other-options {
  border-color: #f0f2f5;
  margin-top: 20px;
  padding: 20px 0;
}

.main-chat-section div#filterModal .form-check-input {
  margin-top: 1px;
  margin-right: 7px;
}
.main-chat-section div#filterModal .modal-footer {
  background: #00a884;
  height: 71px;
  padding: 10px 15px;
  border-radius: 0;
}
.modal-footer .filter-options.filter-options {
  display: flex;
  gap: 0 10px;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  align-items: center;
}
.filter-options button {
  background: rgb(8 183 145);
  padding: 7px 18px;
  color: rgba(255, 255, 255, 0.95) !important;
  flex: 1;
  margin: 0;
  box-shadow: 0 0 4px rgba(12, 151, 120, 0.2) !important;
  border-radius: 20px;
  border-color: rgb(8 183 145);
}
.filter-options .close-filter-modal {
  max-width: 35px;
  padding: 0;
  flex-shrink: 0;
  height: 35px;
}


.menu-wrapper .menu-dropdown {
  background: #ffffff;
  border-radius: 4px;
  right: -8px;
}
.menu-dropdown button.mark-as-unread {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  color: #54656f;
  font-size: 14px;
  justify-content: center;
}
.menu-dropdown button.mark-as-unread > i {
  margin-right: 6px;
}
.menu-wrapper .menu-dropdown:before, 
.menu-wrapper .menu-dropdown:after {
  content: "";
  border-top: none;
  border-bottom: 6px solid #fff;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  position: absolute;
  top: -6px;
  left: auto;
  right: 6px;
}

@media (min-width: 768px) and (max-width: 1024px) {
.toggle-menu {
    display: block;
}
    .chat-list {
        max-width: 100%;
    }
    .chat-message-body ul {
      padding: 33px 15px 20px 15px;
    }
    .chatbox{
      display: none;
    }
    a#toggle-sidebar img {
      width: 100%;
      max-width: 20px;
      display: block;
  }
  .chat-info-back{
    display: block;
  }
  .chat-info-back i{
    color: #000;
    font-size: 16px;
    margin-right: 20px;
  }

  .all-channels select.form-control {
        background: url(../images/dropdonw_down_arrow.svg) 92% / 7% no-repeat;
    }
  .chat-person-info{
    max-width: 100%;
  }
  .info-button a{
    padding: 13px 25px;
  }
}
@media only screen and (max-width: 767px) {
 

  .toggle-menu {
    display: block;
}
    .chat-list {
        max-width: 100%;
    }
    .chat-message-body ul {
      padding: 33px 15px 20px 15px;
    }
    .chatbox{
      display: none;
    }
    a#toggle-sidebar img {
      width: 100%;
      max-width: 20px;
      display: block;
  }
  .chat-info-back{
    display: block;
  }
  .chat-info-back i {
    color: #54656f;
    font-size: 16px;
    margin-right: 0;
    width: 25px;
    justify-content: center;
    display: flex;
    height: 25px;
    align-items: center;
    border-radius: 50%;
}
  .chat-person-info{
    max-width: 100%;
  }
  .info-button a{
  padding: 13px 25px;
}
}



/*Chat Ui*/
.btn-primary,
.chat-person-info .info-button > a,
.form-changes button {
  background: rgb(8 183 145);
  padding: 7px 18px;
  color: rgba(255, 255, 255, 0.95) !important;
  text-align: center;
  margin: 0;
  box-shadow: 0 0 4px rgba(12, 151, 120, 0.2) !important;
  border-radius: 20px;
  border: 1px solid;
  border-color: rgb(8 183 145);
}
.btn-primary:hover,
.chat-person-info .info-button > a:hover,
.form-changes button:hover {
  background: #028f71;
}
.theme-ui .chat-list {
  background-color: #fff;
}
.theme-ui .chat-user-list ul li.current,
.theme-ui .chat-user-list ul li:hover{
  background-color: #f0f2f5;
  border-color: #f0f2f5;
}
.theme-ui .all-channels select.form-control,
.theme-ui .conversation-item {
  border-color: #e9edef;
}
.theme-ui .chat-user-list ul li:after {
  display: none;
}
.theme-ui  .chat-person-count {
  color: inherit;
}
.theme-ui .conversation-item span.assigned-to {
  color: #667781;
  font-style: italic;
}

.theme-ui .chat-list select#channel_main {
  background-color: #f0f2f5;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 4px 40px 4px 10px;
  border-radius: 8px;
  width: 100%;
  max-width: 100%;
  color: inherit;
  background-image: url('../images/dropdonw_down_arrow.svg');
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) center;
  background-size: auto 7px;

}
.theme-ui .chat-list .all-channels {
  position: relative;
  margin-bottom: 0;
  gap: 0 10px;
}
.theme-ui .chat-list .all-channels a#search_button {
  background-color: #f0f2f5;
  color: inherit;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #54656f;
  min-width: 40px;
}

.theme-ui .chat-tabs ul {
  justify-content: flex-start;
  align-items: center;
}

.theme-ui .chat-tabs ul li {
  background: #f0f2f5;
  font-size: 14px;
  color: #667781;
  width: auto;
  min-width: 80px;
}

.theme-ui .chat-tabs ul li.active {
  background: #e7fce3;
  color: #00a884;
}

 .chat-tabs ul li:not(.active):hover {
  background: #e3e3e3;
  color: inherit;
}

.theme-ui .chat-list .conversation-item .user-time {
  margin-left: auto;
  color: #667781;
  font-size: 12px;
}
/* .theme-ui .chat-list .conversation-item .menu-wrapper {
  display: none;
} */
.theme-ui .alert.hour-expiration {
  width: 100%;
  margin-top: auto;
}
.theme-ui .chat-tabs ul a#filterAdmin {
  margin-left: auto;
  color: #54656f;
}
a#edit-profile {
  color: #54656f;
}

.theme-ui .chat-tabs ul a#filterAdmin:hover {
  color: #738691;
}

.chat-wrapper{
  display: flex;
  flex-direction: column;
}

.chat-wrapper .chat-header {
  height: 60px;
  background-color: #f0f2f5;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.chat-wrapper .chat-body {
  flex: 1 1 0;
  background-size: contain;
  background-repeat: repeat;
  height: calc(100% - 153px);
}

.chat-wrapper .chat-footer {
  min-height: inherit;
  padding: 8px 24px;
  display: flex;
  background: #f0f2f5;
}

.chat-wrapper .chat-footer .textbox {
  width: calc(100% - 130px);
}
.chat-wrapper .chat-footer .send-attach-button {
  display: flex;
  align-items: center;
  margin-left: auto;
  min-width: 100px;
  justify-content: space-between;
}
.send-attach-button i {
  font-size: 20px;
  color: #54656f;
}
.send-attach-button > a {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.send-attach-button > a:hover {
  background-color: transparent;
}
.send-attach-button svg path {
  fill: #54656f;
}

.chat-footer.send-box .form-control {
  border: none;
  width: 100%;
  border-radius: 8px;
  min-height: 60px;
  max-height: 60px;
  resize: none;
  padding-top: 18px;
}
.message-box {
  width: 100%;
}
.message-content-row{
  display: flex;
}

.chat-footer .alert.hour-expiration {
  width: 100%;
  align-items: center;
  justify-content: center;
}

.main-chat-container {
  max-width: 1700px;
  padding: 0;
  margin: 0 auto;
  display: flex;
  position: relative;
  z-index: 10;
  top: 20px;
  background-color: #f7f8fa;
  height: calc(100% - 40px);
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.main-chat-section:after{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 127px;
  content: "";
  background-color: var(--theme-color);
}
.chat-header .main-chat .user-name p{
  font-size: 16px;
  line-height: 1;
}
.chat-header .main-chat .user-name span{
  width: auto;
  height: auto;
  font-size: 13px;
  background-color: transparent;
}
.chat-header .main-chat {
  top: 0;
  position: relative;
}

.chat-wrapper .chat-body::-webkit-scrollbar-track,
.user-shared-media-visibility ul::-webkit-scrollbar-track,
.scroller::-webkit-scrollbar-track,
.chat-user-list::-webkit-scrollbar-track,
.predefined-text > ul::-webkit-scrollbar-track{
	border-radius: 0;
	background-color: #ececec;
}

.chat-wrapper .chat-body::-webkit-scrollbar,
.user-shared-media-visibility ul::-webkit-scrollbar,
.scroller::-webkit-scrollbar,
.chat-user-list::-webkit-scrollbar,
.predefined-text > ul::-webkit-scrollbar {
	width: 10px;
	background-color: #F5F5F5;
}
.chat-wrapper .chat-body::-webkit-scrollbar-thumb,
.user-shared-media-visibility ul::-webkit-scrollbar-thumb,
.scroller::-webkit-scrollbar-thumb,
.chat-user-list::-webkit-scrollbar-thumb,
.predefined-text > ul::-webkit-scrollbar-thumb{
	border-radius: 8px;
	background-color: #00a8845d;
}


.user-shared-media-visibility ul::-webkit-scrollbar {
  width: 0;
  height: 8px;
}
.user-shared-media-visibility ul::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .08);
}

.chat-body .send-time-message {
  position: relative;
}
.chat-body .media-download {
  font-size: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgb(181 181 181 / 62%);
  width: auto;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  min-width: 50px;
}

.chat-body .media-download > i {
  font-size: 22px;
}

.main-chat .head-menu > a {
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.5);
}

.chat-person-info .form-title,
.chat-person-info .info-contact h5 {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  background: #f0f2f5;
  padding: 12px;
  color: #6c757d;
  letter-spacing: 0.01em;
}
.chat-person-info form#create_lead_form,
.chat-person-info .form-change-drop,
.chat-person-info .info-contact {
  border: 1px solid #f0f2f5;
  padding: 0 0 12px 0;
}

.chat-person-info .info-contact {
  margin-top: 15px;
  margin-bottom: 15px;
}

.chat-person-info form#create_lead_form > div,
.chat-person-info .form-change-drop > div {
  padding: 0 12px;
}

.chat-person-info form#create_lead_form > div > label {
  display: none;
}
.chat-person-info .form-actions{
  text-align: center;
}
.custom.no-chat-found {
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.6;
}

.chat-user-list ul li.conversation-item.no-result {
  pointer-events: none;
  border: none;
  text-align: center;
  padding: 0;
}

.chat-user-list ul li.conversation-item.no-result > div .user-info-image {
  width: 100%;
  max-width: 100%;
  justify-content: center;
  background: #f0f2f55c;
  padding: 12px;
  opacity: 0.8;
}
.chat-user-list ul li.conversation-item .user-info-image {
  max-width: 160px;
  flex-wrap: nowrap;
}
#loader .spinner-border.text-primary {
  width: 30px;
  height: 30px;
  margin: 15px 0;
  color: #00a884 !important;
}

li.conversation-item .user-name {
  justify-content: flex-start;
}
li.conversation-item span.recent-message {
  text-overflow: ellipsis;
  overflow: hidden;
  width: 150px;
  text-align: left;
  padding-left: 11px;
  white-space: nowrap;
}

.conversation-item .user-image > span {
  width: 8px;
  height: 8px;
  background: #54656f;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 3px;
}

.conversation-item .user-image > span.chat-open{
  background-color: green;
}
.conversation-item .user-image > span.chat-about-to-close{
  background-color: Orange;
}
.conversation-item .user-image > span.chat-closed{
  background-color: red;
}

.chat-tabs .filter-action {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0 10px;
}

.chat-tabs .filter-action > a.clearfilter {
  color: #dc3545;
  top: 1px;
  position: relative;
}


.chat-head-message .no-chat-found {
  display: none;
  position: absolute;
  top: 50px;
  width: calc(100% + 50px);
  background: #0006;
  z-index: 1;
  color: #ffffffab;
  text-align: center;
  left: -25px;
  padding: 10px 15px;
}

.search-in-chat {
  position: absolute;
  left: auto;
  right: 50px;
  top: 0;
  width: 40px;
  height: 40px;
}

.search-in-chat button#search_chat {
  border: none;
  font-size: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: auto;
  right: 0;
  top: 0;
}
.search-in-chat input#search_chat_box:focus {
  border-color: #54656f;
}

.search-in-chat input#search_chat_box {
  position: absolute;
  left: auto;
  width: 400px;
  right: 45px;
  border-radius: 34px;
  font-size: 14px;
  height: 40px;
  background: #f0f2f5;
}

.image-preview.preview-toggle {
  cursor: pointer;
}
.image-preview-modal {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  height: calc(100% - 40px);
  background: rgba(0,0,0,.7);
  z-index: 10;
  max-width: 1700px;
  margin: 0 auto;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

.image-preview-modal img {
  max-height: 90% !important;
  max-width: 90%;
}
.media.active .image-preview-modal {
  opacity: 1;
  visibility: visible;
}
.modal-action {
  position: absolute;
  top: 20px;
  display: flex;
  align-items: center;
  width: 110px;
  justify-content: space-between;
  left: auto;
  right: 20px;
}

.chat-body .modal-action > a {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #212529;
  transform: none;
  font-size: 24px;
  font-size: 0;
  position: static;
}

.chat-body .modal-action > a i {
  font-size: 24px;
}

.load-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 10px;
  background: rgba(255,255,255,0.5);
}

.load-screen > i {
  font-size: 90px;
  color: #00a8845e;
}
.load-screen > i + i {
  transform: rotate(260deg);
}
.chat-footer.send-box .form-control {
  border-radius: 0 8px 8px 0;
}
.chat-wrapper .chat-footer .textbox button.text-pre-btn {width: 50px;border: none;background: #00a884;border-radius: 8px 0 0 8px;color: #fff;font-size: 20px;}
.chat-wrapper .chat-footer .textbox { position: relative; display: flex; }
.predefined-text {
  position: absolute;
  top: auto;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  padding: 0;
  bottom: calc(100% + 15px);
  border-radius: 7px;
  opacity: 0;
  visibility: hidden;
}
.predefined-text > ul {
  padding: 10px 5px;
  max-height: 320px;
  overflow: auto;
  position: relative;
  display: block;
  max-width: 400px;
}
.predefined-text ul li {
  padding: 7px 10px;
  display: block;
  line-height: 1.2;
  font-size: 14px;
  color: #0d5c94;
  cursor: pointer;
}

.active .predefined-text{
  opacity: 1;
  visibility: visible;
}

.predefined-text:after {
  content: "";
  border-top: 8px solid #00a8843d;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid transparent;
  position: absolute;
  top: auto;
  bottom: -16px;
  left: 16px;
}
@media (min-width: 768px) {
  .chat-info-back .back-to-chat{
    display: none;
  }
}

@media (min-width:1700px) {
  .main-chat-container {
      max-width: 1700px;
  }
}

@media (max-width:1699px) {
  .main-chat-container,
  .image-preview-modal {
      max-width: 94%;
  }
}

@media (max-width: 1366px) {
  .chat-person-info {
    max-width: 360px;
  }
  .chat-person-info .user-info-image p {
    font-size: 14px;
  }
  .chat-person-info .user-info-image span {
    font-size: 13px;
  }
  a#edit-profile {
      font-size: 14px;
  }
  div#previewContainer img {
    max-height: 150px;
  }
}

@media (max-width: 1300px) {
  .btn-primary, .chat-person-info .info-button > a, .form-changes button {
    padding: 7px 14px;
  }
  .chat-wrapper .chat-footer .textbox {
    width: calc(100% - 100px);
  }
  .chat-wrapper .chat-footer .send-attach-button{
      min-width: 80px;
  }
  .send-attach-button > a > svg {
      width: 20px;
      height: 20px;
  }
  .send-attach-button i {
    font-size: 18px;
  }
  .chat-list,
  .main-chat-section div#filterModal .modal-dialog {
    max-width: 300px;
  }
  .chat-person-info {
      max-width: 330px;
  }
  .chat-person-count .user-time p {
    font-size: 12px;
  }
  .chat-user-list ul li.conversation-item .chat-person-count .user-name p {
    font-size: 14px;
  }
  .chat-person-info .info-tell .user-image img {
      width: 30px;
      height: 30px;
  }
}

@media (max-width: 1100px) {
  .chat-message-body ul li .send-message .send-white-box img {
    max-height: 320px;
  }

  .alert.hour-expiration {
    padding: 19px 25px;
    line-height: 1;
  }
  .alert.hour-expiration span.hour-expire {
    max-width: 500px;
    margin: 0 auto;
  }
  .menu-dots {
    display: block;
  }
  #toggle-sidebar {
    font-size: 20px;
    
  }
  .main-chat .head-menu > a,
  .send-attach-button > a,
  #toggle-sidebar {
    color: #54656f;
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .chat-wrapper .chat-footer {
    padding: 8px 10px;
  }
  .alert.hour-expiration {
    padding: 15px 12px;
  }
  .alert.hour-expiration span.hour-expire {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .chat-wrapper .chat-header {
    padding: 10px 15px;
  }
  .chat-header .user-info-image {
    padding-left: 10px;
  }
  .chat-header .head-menu {
    margin-left: auto;
  }

  .chat-header .search-in-chat {
    right: 40px;
    top: 3px;
    width: 35px;
    height: 35px;
 }
 .search-in-chat button#search_chat {
    width: 35px;
    height: 35px;
    font-size: 13px;
 }
 .search-in-chat input#search_chat_box {
  right: -2px;
  top: -3px;
  width: 255px;
  background: #f7f8f9;
}
  .main-chat-section.theme-ui.no-access  .chat-wrapper {
      display: flex;
  }
  
  .chat-body .modal-action > a {
      min-width: 40px;
      width: 40px;
      height: 40px;
  }
  .modal-action {
    width: 90px;
  }

  .main-chat-section.no-access .custom {
      width: 100%;
      text-align: center;
  }
  .main-chat-container {
    flex-wrap: wrap;
  }
  .theme-ui .chat-list,
  .theme-ui .chat-person-info,
  .chat-list, .main-chat-section div#filterModal .modal-dialog {
    width: 100%;
    max-width: 100%;
  }
  .theme-ui .chat-wrapper {
    display: none;
  }

  .chat-person-info span.chat-info-back.mobile {
      display: flex;
      align-items: center;
  }
  .chat-person-info span.chat-info-back.mobile .user-name {
    gap: 10px;
  }
  .main-chat-section.no-access .custom p {
      font-size: 20px;
  }
  .image-preview-modal img {
      max-height: 90% !important;
      max-width: 85%;
  }
}
.chat-list.active_search .chat-user-list {
  height: calc(100vh - 225px);
}
.chat-list.active_search_u .chat-user-list{
  height: calc(100vh - 186px);
}
