Your IP : 216.73.217.77


Current Path : /home/users/unlimited/www/admin.ondemand.codeskitter.site/public/backend/assets/css/
Upload File :
Current File : /home/users/unlimited/www/admin.ondemand.codeskitter.site/public/backend/assets/css/chat.css

:root {
  --body-bg-color: #e5ecef;
  --theme-bg-color: #fff;
  --settings-icon-hover: #9fa7ac;
  --developer-color: #f9fafb;
  --input-bg: #f8f8fa;
  --input-chat-color: #a2a2a2;
  --border-color: #eef2f4;
  --body-font: "Manrope", sans-serif;
  --body-color: #273346;
  --settings-icon-color: var(--primary-color);
  --msg-message: #969eaa;
  --chat-text-bg: #f1f2f6;
  --theme-color: #0086ff;
  --msg-date: #c0c7d2;
  --button-bg-color: #f0f7ff;
  --button-color: var(--theme-color);
  --detail-font-color: #919ca2;
  --msg-hover-bg: rgba(238, 242, 244, 0.4);
  --active-conversation-bg: linear-gradient(
    to right,
    rgba(238, 242, 244, 0.4) 0%,
    rgba(238, 242, 244, 0) 100%
  );
  --overlay-bg: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 65%,
    rgba(255, 255, 255, 1) 100%
  );
  --chat-header-bg: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 78%,
    rgba(255, 255, 255, 0) 100%
  );
}
[data-theme="purple"] {
  --theme-color: #9f7aea;
  --button-color: #9f7aea;
  --button-bg-color: rgba(159, 122, 234, 0.12);
}
[data-theme="green"] {
  --theme-color: #38b2ac;
  --button-color: #38b2ac;
  --button-bg-color: rgba(56, 178, 171, 0.15);
}
[data-theme="orange"] {
  --theme-color: #ed8936;
  --button-color: #ed8936;
  --button-bg-color: rgba(237, 137, 54, 0.12);
}
.dark-mode {
  --body-bg-color: #1d1d1d;
  --theme-bg-color: #27292d;
  --border-color: #323336;
  --body-color: #d1d1d2;
  --active-conversation-bg: linear-gradient(
    to right,
    rgba(47, 50, 56, 0.54),
    rgba(238, 242, 244, 0) 100%
  );
  --msg-hover-bg: rgba(47, 50, 56, 0.54);
  --chat-text-bg: #383b40;
  --chat-text-color: #b5b7ba;
  --msg-date: #626466;
  --msg-message: var(--msg-date);
  --overlay-bg: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    #27292d 65%,
    #27292d 100%
  );
  --input-bg: #2f3236;
  --chat-header-bg: linear-gradient(
    to bottom,
    #27292d 0%,
    #27292d 78%,
    rgba(255, 255, 255, 0) 100%
  );
  --settings-icon-color: var(--primary-color);
  --developer-color: var(--border-color);
  --button-bg-color: #393b40;
  --button-color: var(--body-color);
  --input-chat-color: #6f7073;
  --detail-font-color: var(--input-chat-color);
}
.blue {
  background-color: #0086ff;
}
.purple {
  background-color: #9f7aea;
}
.green {
  background-color: #38b2ac;
}
.orange {
  background-color: #ed8936;
}
* {
  outline: none;
  box-sizing: border-box;
}
/* img {
  max-width: 100%;
} */
.chat-app {
  display: flex;
  flex-direction: column;
  background-color: var(--theme-bg-color);
  max-width: auto;
  height: 75vh;
  margin: 0 auto;
  overflow: hidden;
}
.header {
  height: 80px;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 20px;
}
.wrapper {
  width: 100%;
  display: flex;
  flex-grow: 1;
  overflow: hidden;
}
.conversation-area,
.detail-area {
  width: 340px;
  flex-shrink: 0;
}
.detail-area {
  border-right: 1px solid var(--border-color);
  margin-right: auto;
  padding: 30px 30px 0 30px;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.chat-area {
  flex-grow: 1;
}
/* .search-bar {
  height: 40px;
  z-index: 3;
  position: relative;
  border-radius: 8px;
  background-color: #F6F8FA;
  padding:8px 4px 8px 6px;
  margin: 15px 10px 0 10px;
  border: 1px solid #DBDBDB;
  color:#212121A6;
} */
.search-bar input {
  height: 100%;
  width: 100%;
  display: block;
  background-color: transparent;
  border: none;
  color: var(--body-color);
  padding: 0 54px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56.966 56.966' fill='%23c1c7cd'%3e%3cpath d='M55.146 51.887L41.588 37.786A22.926 22.926 0 0046.984 23c0-12.682-10.318-23-23-23s-23 10.318-23 23 10.318 23 23 23c4.761 0 9.298-1.436 13.177-4.162l13.661 14.208c.571.593 1.339.92 2.162.92.779 0 1.518-.297 2.079-.837a3.004 3.004 0 00.083-4.242zM23.984 6c9.374 0 17 7.626 17 17s-7.626 17-17 17-17-7.626-17-17 7.626-17 17-17z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: right 25px top 48%;
  font-family: var(--body-font);
  font-size: 15px;
}
.search-bar input::placeholder {
  color: var(--input-chat-color);
}
.logo-chat {
  color: var(--theme-color);
  width: 38px;
  flex-shrink: 0;
}
.logo svg {
  width: 100%;
}
.user-settings {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-right: auto;
  flex-shrink: 0;
}
.user-settings > * + * {
  margin-right: 14px;
}
.dark-light {
  width: 22px;
  height: 22px;
  color: var(--settings-icon-color);
  flex-shrink: 0;
}
.dark-light svg {
  width: 100%;
  fill: transparent;
  transition: 0.5s;
}
.user-profile {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.settings {
  color: var(--settings-icon-color);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.conversation-area {
  border-left: 1px solid var(--border-color);
  /* overflow-y: auto;
  overflow-x: hidden; */
  display: flex;
  flex-direction: column;
  position: relative;
}
.msg-profile {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 15px;
  padding: 2px;
}
.msg-profile.group {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--border-color);
}
.msg-profile.group svg {
  width: 60%;
}
.msg {
  display: flex;
  align-items: center;
  padding: 16px 12px;
  cursor: pointer;
  transition: 0.2s;
  position: relative;
  border-bottom: 1px solid #dbdbdb;
}
.msg:hover {
  background-color: var(--msg-hover-bg);
}
.msg.active {
  /* background: var(--active-conversation-bg); */
  border-right: 4px solid var(--primary-color);
  background: linear-gradient(
    to left,
    rgba(2, 118, 250, 0.062),
    rgba(255, 255, 255, 0.8)
  );
}
.msg.online:before {
  content: "";
  position: absolute;
  background-color: #23be7e;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--theme-bg-color);
  right: 50px;
  bottom: 19px;
}
.msg-username {
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 16px;
  color: #181818;
  line-height: normal;
}

.msg-phone {
  overflow: hidden;
  color: var(--chat-text-color);
  text-overflow: ellipsis;
  /* font-family: "Plus Jakarta Sans"; */
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 14px;
}
.msg-detail {
  overflow: hidden;
}
.msg-content {
  font-weight: 500;
  font-size: 13px;
  display: flex;
}
.msg-message {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--msg-message);
}
.msg-date {
  font-size: 14px;
  color: var(--msg-date);
  margin-right: 3px;
}
.msg-date:before {
  content: "•";
  margin-left: 2px;
}
.add {
  position: sticky;
  bottom: 25px;
  background-color: var(--theme-color);
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-plus'%3e%3cpath d='M12 5v14M5 12h14'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 28px;
  box-shadow: 0 0 16px var(--theme-color);
  margin: auto auto -55px;
  flex-shrink: 0;
  z-index: 1;
  cursor: pointer;
}
.overlay {
  position: sticky;
  bottom: 0;
  right: 0;
  width: 340px;
  flex-shrink: 0;
  background: var(--overlay-bg);
  height: 80px;
}
.chat-area {
  display: flex;
  flex-direction: column;
  overflow: auto;
  background-color: #f6f8fa;
}
.chat-area-header {
  display: flex;
  position: sticky;
  top: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--chat-header-bg);
}
.chat-area-profile {
  width: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.chat-area-title {
  font-size: 18px;
  font-weight: 600;
}
.chat-area-main {
  flex-grow: 1;
}
.chat-msg-img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.chat-msg-profile {
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: -20px;
  position: relative;
}
.chat-msg-date {
  position: absolute;
  right: calc(100% + -193px);
  bottom: 0;
  /* top:57px; */
  /* top: 45px; */
  font-size: 12px;
  font-weight: 600;
  color: var(--msg-date);
  white-space: nowrap;
}
.chat-msg {
  display: flex;
  padding: 0 20px 45px;
}
.chat-msg-content {
  margin-right: 12px;
  max-width: 70%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.chat-msg-text {
  background-color: #f2f1f6;
  padding: 8px;
  white-space: pre-wrap;
  /* border-radius: 20px 20px 20px 0; */
  line-height: 17px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 5px 5px 0 5px;
}
.chat-msg-text + .chat-msg-text {
  margin-top: 10px;
}
.chat-msg-text {
  color: var(--chat-text-color);
}
.owner {
  flex-direction: row-reverse;
}
.owner .chat-msg-content {
  margin-right: 0;
  margin-left: 12px;
  align-items: flex-end;
}
.owner .chat-msg-text {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 5px 5px 5px 0px;
  white-space: pre-wrap;

}
.owner .chat-msg-date {
  right: auto;
  left: calc(100% + -50px);
}
.chat-msg-text img {
  max-width: 300px;
  width: 100%;
}
.chat-area-footer {
  display: flex;
  border-top: 1px solid var(--border-color);
  width: 100%;
  padding: 16px;
  align-items: center;
  background-color: var(--theme-bg-color);
  position: sticky;
  bottom: 0;
  right: 0;
}
.chat-area-footer svg {
  color: white;
  fill: var(--primary-color);
  width: 30px;
  flex-shrink: 0;
  cursor: pointer;
}
.chat-area-footer svg:hover {
  color: var(--settings-icon-hover);
}
.chat-area-footer svg + svg {
  margin-right: 12px;
}
.chat-area-footer input {
  border: none;
  color: var(--body-color);
  background-color: var(--input-bg);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
  /* margin: 0 12px; */
  width: 100%;
}

.chat-area-footer textarea{
  border: none;
  color: var(--body-color);
  background-color: var(--input-bg);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
  /* margin: 0 12px; */
  width: 100%;
}
.chat-area-footer input::placeholder {
  color: var(--input-chat-color);
}
.detail-area-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.detail-area-header .msg-profile {
  margin-left: 0;
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}
.detail-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.detail-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--msg-date);
}
.detail-button {
  border: 0;
  background-color: var(--button-bg-color);
  padding: 10px 14px;
  border-radius: 5px;
  color: var(--button-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
}
.detail-button svg {
  width: 18px;
  margin-left: 10px;
}
.detail-button:last-child {
  margin-right: 8px;
}
.detail-buttons {
  margin-top: 20px;
  display: flex;
  width: 100%;
}
.detail-area input {
  background-color: transparent;
  border: none;
  width: 100%;
  color: var(--body-color);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56.966 56.966' fill='%23c1c7cd'%3e%3cpath d='M55.146 51.887L41.588 37.786A22.926 22.926 0 0046.984 23c0-12.682-10.318-23-23-23s-23 10.318-23 23 10.318 23 23 23c4.761 0 9.298-1.436 13.177-4.162l13.661 14.208c.571.593 1.339.92 2.162.92.779 0 1.518-.297 2.079-.837a3.004 3.004 0 00.083-4.242zM23.984 6c9.374 0 17 7.626 17 17s-7.626 17-17 17-17-7.626-17-17 7.626-17 17-17z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: 0%;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}
.detail-area input::placeholder {
  color: var(--detail-font-color);
}
.detail-changes {
  margin-top: 40px;
}
.detail-change {
  color: var(--detail-font-color);
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  display: flex;
}
.detail-change svg {
  width: 16px;
  margin-right: auto;
}
.colors {
  display: flex;
  margin-right: auto;
}
.color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
}
.color.selected {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='%23fff' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round' class='css-i6dzq1' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.color:not(:last-child) {
  margin-left: 4px;
}
.detail-photo-title {
  display: flex;
  align-items: center;
}
.detail-photo-title svg {
  width: 16px;
}
.detail-photos {
  margin-top: 30px;
  text-align: center;
}
.detail-photo-title {
  color: var(--detail-font-color);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
}
.detail-photo-title svg {
  margin-left: 8px;
}
.detail-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  grid-template-rows: repeat(3, 60px);
}
.detail-photo-grid img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  object-position: center;
}
.view-more {
  color: var(--theme-color);
  font-weight: 600;
  font-size: 15px;
  margin: 25px 0;
}
.follow-me {
  text-decoration: none;
  font-size: 14px;
  width: calc(100% + 60px);
  margin-right: -30px;
  display: flex;
  align-items: center;
  margin-top: auto;
  overflow: hidden;
  color: #9c9cab;
  padding: 0 20px;
  height: 52px;
  flex-shrink: 0;
  position: relative;
  justify-content: center;
}
.follow-me svg {
  width: 16px;
  height: 16px;
  margin-left: 8px;
}
.follow-text {
  display: flex;
  align-items: center;
  transition: 0.3s;
}
.follow-me:hover .follow-text {
  transform: translateY(100%);
}
.follow-me:hover .developer {
  top: 0;
}
.developer {
  position: absolute;
  color: var(--detail-font-color);
  font-weight: 600;
  right: 0;
  top: -100%;
  display: flex;
  transition: 0.3s;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  background-color: var(--developer-color);
  width: 100%;
  height: 100%;
}
.developer img {
  border-radius: 50%;
  width: 26px;
  height: 26px;
  object-fit: cover;
  margin-left: 10px;
}
.dark-mode .search-bar input,
.dark-mode .detail-area input {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56.966 56.966' fill='%236f7073'%3e%3cpath d='M55.146 51.887L41.588 37.786A22.926 22.926 0 0046.984 23c0-12.682-10.318-23-23-23s-23 10.318-23 23 10.318 23 23 23c4.761 0 9.298-1.436 13.177-4.162l13.661 14.208c.571.593 1.339.92 2.162.92.779 0 1.518-.297 2.079-.837a3.004 3.004 0 00.083-4.242zM23.984 6c9.374 0 17 7.626 17 17s-7.626 17-17 17-17-7.626-17-17 7.626-17 17-17z'/%3e%3c/svg%3e");
}
.dark-mode .dark-light svg {
  fill: #ffce45;
  stroke: #ffce45;
}
.dark-mode .chat-area-group span {
  color: #d1d1d2;
}
.chat-area-group {
  flex-shrink: 0;
  display: flex;
}
.chat-area-group * {
  border: 2px solid var(--theme-bg-color);
}
.chat-area-group * + * {
  margin-right: -5px;
}
.chat-area-group span {
  width: 32px;
  height: 32px;
  background-color: var(--button-bg-color);
  color: var(--theme-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
/* @media (max-width: 1120px) {
	 .detail-area {
		 display: none;
	}
} */
@media (max-width: 1120px) {
  .detail-area {
    display: none;
  }
}
@media (min-width: 1120px) {
  .toggle-conversation-area {
    display: none;
  }
}
@media (min-width: 1120px) {
  .toggle-conversation-area {
    display: none;
  }
}
#conversation-area {
  position: fixed;
  top: 0;
  left: 0; /* Initially visible */
  width: 300px;
  height: 100%;
  background-color: #fff;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease; /* Transition for smooth animation */
}
/* Hide conversation area for small screens */
@media (max-width: 768px) {
  #conversation-area {
    left: -300px; /* Hide for small screens */
  }
}
@media (max-width: 780px) {
  .conversation-area {
    display: none;
  }
  .search-bar {
    margin-right: 0;
    flex-grow: 1;
  }
  .search-bar input {
    padding-left: 10px;
  }
}
.chat_divider div {
  text-align: center;
  margin-top: 10px; /* Adjust margin as needed */
}
.chat_divider div {
  margin: 10px auto;
  padding: 8px 15px;
  border-radius: 20px;
  width: fit-content;
  color: white;
  background-color: var(--primary-color);
}

.nav-tabs .nav-item .nav-link.active {
  margin-bottom: -1px !important;
  color: white !important;
  background-color: var(--primary-color) !important;
  border-radius: 5px; /* Top border radius */
  text-align: center;
}
.nav-tabs .nav-item .nav-link {
  color: var(--primary-color);
  text-align: center !important;
}

.nav-link.test {
  padding: 0.2rem 0.5rem !important;
}

.nav-tabs {
  border-bottom: none !important;
}
.medium-image {
  width: 45px;
  height: 45px;
  margin-left: 5px;
  /* border: 1px solid rgba(0, 0, 0, 0.1); */
  border-radius: 50%;
  padding: 2px;
}
.conversation-area.nav.nav-tabs {
  position: sticky;
  top: 0;
  z-index: 1000; /* adjust z-index as needed */
  background-color: var(--theme-bg-color);
}
.chat_header {
  position: sticky;
  top: 0px; /* adjust top value based on the height of your header */
  z-index: 999; /* make sure this value is lower than the z-index of the nav-tabs */
  background-color: var(--theme-bg-color);
  padding-right: 1%;
  padding-bottom: 1%;
  display: flex;
  border-bottom: 1px solid #dee2e6;
  align-items: center;
}
.provider_chat_header {
  position: sticky;
  top: 0px; /* adjust top value based on the height of your header */
  z-index: 999; /* make sure this value is lower than the z-index of the nav-tabs */
  background-color: var(--theme-bg-color);
  padding-right: 1%;
  padding-bottom: 1%;
  border-bottom: 1px solid #dee2e6;
  align-items: center;
  /* display: flex; */
}
.featured_tag {
  padding-left: 8px;
  padding-right: 8px;
  margin-top: 8px;
  width: max-content;
  height: 100%;
  background: var(--primary-color);
  border-radius: 2px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: inline-flex;
}
.featured_lable {
  color: white;
  font-size: 12px;
  font-weight: 300;
  line-height: 26px;
  word-wrap: break-word;
}
.fg-emoji-container {
  right: 703px !important;
  top: 459px !important;
  position: absolute !important;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.62) !important;
}
.fg-emoji-picker-search {
  display: none !important;
}
.fg-emoji-picker-move {
  display: none !important;
}
.fg-emoji-nav {
  background-color: white !important;
}
.fg-emoji-nav li a svg {
  transition: all 0.2s ease;
  fill: var(--primary-color) !important;
}
.fg-picker-special-buttons a {
  background-color: white !important;
}
.emoji-picker {
  position: absolute;
  bottom: 60px; /* Adjust this value based on your chat area footer height */
  left: 10px;
  z-index: 1;
}
.scrollbar-auto {
  scrollbar-color: auto;
  height: 150px;
  width: 200px;
  overflow-y: scroll;
  background-color: lightgreen !important;
}
#toggleConversationAreaBtn {
  display: none;
}
@media (max-width: 780px) {
  #toggleConversationAreaBtn {
    z-index: 1;
    display: block; /* Show the button on small screens */
    position: fixed;
    bottom: 20px;
    left: 20px; /* Moved to left side */
    background-color: var(--primary-color); /* Set background color */
    color: #fff; /* Set text color */
    border: none;
    border-radius: 50%; /* Make it a circle */
    width: 50px; /* Adjust size */
    height: 50px;
    font-size: 12px; /* Increase font size */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    cursor: pointer; /* Change cursor on hover */
    padding: 5px;
    border: 3px solid white;
  }
  #toggleConversationAreaBtn:before {
    font-weight: 900;
  }
}
.conversation-area.show {
  display: block; /* Show the conversation area when the "show" class is applied */
  width: 200px !important;
  height: 100%;
}
.file-preview {
  display: inline-block;
  margin-left: 10px;
  margin-bottom: 10px;
  position: relative;
}

.file-preview img {
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  border-radius: 15px;
  padding: 5px;
  border: 1px solid var(--primary-color);
}

.file-preview .close-btn {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
}

#filePreviewContainer {
  border: 2px dashed var(--primary-color);
  padding: 20px;
  margin-left: 15px;
  margin-right: 15px;
  border-radius: 15px;
}

/* // new css0 */

.one_img_div {
  border-radius: 4px;
  width: 185px;
  height: 185px;
}

.two_img_div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px !important;
}

.two_img_div img {
  border-radius: 4px;
  width: 185px;
  height: 185px;
}

.three_img_div {
  display: flex;
  flex-direction: column;
  padding: 4px;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.down_div {
  display: flex !important;
  gap: 5px;
}

.three_img_div .first_img {
  width: 100%;
  height: 100px;
}

.three_img_div .first_img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.three_img_div .sec_img {
  width: 110px;
  height: 110px;
}

.three_img_div .sec_img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.three_img_div .thrd_img {
  width: 110px;
  height: 110px;
}

.three_img_div .thrd_img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.one_img_div img {
  border-radius: 4px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.four_img_div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.four_img_div .up_side {
  display: flex !important;
  align-items: center;
  gap: 5px;
}

.four_img_div .up_side .first_img,
.four_img_div .up_side .sec_img {
  width: 185px;
  height: 185px;
}

.four_img_div .up_side .first_img img,
.four_img_div .up_side .sec_img img {
  width: 100%;
  height: 100%;
}

.four_img_div .down_side .first_img,
.four_img_div .down_side .sec_img {
  width: 185px;
  height: 185px;
}

.four_img_div .down_side .first_img img,
.four_img_div .down_side .sec_img img {
  width: 100%;
  height: 100%;
}

.four_img_div .down_side {
  display: flex !important;
  align-items: center;
  gap: 5px;
}

.five_img_div {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  gap: 5px;
}

.five_img_div .up_side {
  display: flex !important;
  align-items: center;
  gap: 5px;
}

.five_img_div .up_side .first_img,
.five_img_div .up_side .sec_img {
  width: 140px;
  height: 160px;
}

.five_img_div .up_side .first_img img,
.five_img_div .up_side .sec_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.five_img_div .down_side {
  display: flex !important;
  align-items: center;
  gap: 5px;
}
.five_img_div .down_side .first_img img,
.five_img_div .down_side .sec_img img,
.five_img_div .down_side .thrd_img img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.five_plus_img_div {
  display: flex;
  flex-direction: column !important;
  align-items: center;
  gap: 5px;
  position: relative;
}

.five_plus_img_div .up_side {
  display: flex !important;
  align-items: center;
  gap: 5px;
}

.five_plus_img_div .up_side .first_img,
.five_plus_img_div .up_side .sec_img {
  width: 170px;
  height: 160px;
}

.five_plus_img_div .up_side .first_img img,
.five_plus_img_div .up_side .sec_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.five_plus_img_div .down_div {
  display: flex !important;
  align-items: center;
  gap: 5px;
}

.five_plus_img_div .down_div .first_img,
.five_plus_img_div .down_div .sec_img,
.five_plus_img_div .down_div .thrd_img {
  width: 110px;
  height: 110px;
}

.five_plus_img_div .down_div .thrd_img {
  position: relative;
}

.five_plus_img_div .down_div .first_img img,
.five_plus_img_div .down_div .sec_img img,
.five_plus_img_div .down_div .thrd_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.five_plus_img_div .img_count {
  position: absolute;
  bottom: 0;
  left: 0px;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.five_plus_img_div .img_count h2 {
  color: #fff !important;
  z-index: 99;
  filter: brightness(1) !important;
}

.customer_list_heading {
  color: var(--Black-Color, #181818);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding: 1.25rem;
}

#customer {
  position: relative;
}

#provider {
  position: relative;
}

/* Make the search bar sticky */
.search-bar {
  height: 40px;
  z-index: 3;
  position: sticky; /* Changed from relative to sticky */
  top: 0; /* Stick to the top of the parent container */
  border-radius: 8px;
  background-color: #f6f8fa;
  padding: 8px 6px 8px 4px;
  margin: 0 10px; /* Removed top margin to avoid gap when sticky */
  border: 1px solid #dbdbdb;
  color: #212121a6;
}

/* Container to enable scrolling */
#customer-list {
  max-height: calc(100vh - 100px); /* Adjust based on your layout */
  overflow-y: auto;
}

#provider-list {
  max-height: calc(100vh - 100px); /* Adjust based on your layout */
  overflow-y: auto;
}
/* Combined styling for both customer-list and provider-list */
#customer-list,
#provider-list {
  max-height: calc(100vh - 100px); /* Adjust as needed for layout */
  overflow-y: auto;
  scrollbar-width: thin; /* Firefox-specific */
  scrollbar-color: var(--primary-color) white; /* Firefox-specific */
}

/* WebKit browsers */
#customer-list::-webkit-scrollbar,
#provider-list::-webkit-scrollbar {
  width: 3px; /* Width of the scrollbar */
}

#customer-list::-webkit-scrollbar-track,
#provider-list::-webkit-scrollbar-track {
  background: white; /* Track color */
  border-radius: 10px; /* Rounded corners */
}

#customer-list::-webkit-scrollbar-thumb,
#provider-list::-webkit-scrollbar-thumb {
  background-color: var(--primary-color); /* Thumb color */
  border-radius: 10px; /* Rounded corners */
  border: 1px solid var(--primary-color); /* Thumb border */
}

#customer-list::-webkit-scrollbar-thumb:hover,
#provider-list::-webkit-scrollbar-thumb:hover {
  background: #555; /* Color when hovered */
}

.chat_divider {
  padding: 8px 10px;
  text-align: center;
  /* font-size: medium; */
  color: #dbdbdb;
  margin: 0 0px 20px 0;
  display: flex;
  align-items: center;
  text-align: center;
}
.chat_divider::before {
  margin-left: 0.25em;
}

.chat_divider::before,
.chat_divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #dbdbdb;
}

.chat_divider::after {
  margin-right: 0.25em;
}

.chat_divider::before,
.chat_divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #dbdbdb;
}


.welcome-card {
  text-align: center;
  background: white;
  padding: 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.welcome-card p {
  margin: 0;
}

.welcome-title {
  color: #2b2d42; /* Dark color */
  font-size: 2em; /* Adjust as needed */
  margin-top: 20px;
}

.welcome-subtitle {
  color: #2b2d42; /* Dark color */
  font-size: 1em; /* Adjust as needed */
  margin-top: 10px;
}

/* Optional: To adjust the padding and height on smaller screens */
@media (max-width: 768px) {
  .welcome-card {
      padding: 20px;
  }
}



.custom-path {
  fill: #0277FA; /* Default fill color */
  transition: fill 0.3s ease; /* Optional transition for hover effect */
}
.custom-path:hover {
  fill: red; /* Fill color on hover */
}