/* ----------------------------
   Floating Chat Button
---------------------------- */
.floating-chat-btn {
  position: fixed;
  bottom: 35px;
  right: 6px;
  width: 55px;
  height: 55px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ff3e77, #d730d9);
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: floatIn 0.6s ease forwards;
}

.floating-chat-btn.show {
  display: flex;
}

.floating-chat-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
/* Notification badge */
.chat-notification-badge {
  position: absolute;
  bottom: 40px;
  right: 5px;
  background: #ff537b;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: bounce 0.6s ease;
}
/* Float-in animation */
@keyframes floatIn {
  0% {
    transform: translateY(50px) scale(0);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
/* Bounce animation for notification */
@keyframes bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

/* ----------------------------
   Chat Overlay Background
---------------------------- */
.chat-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 999;
}
.chat-overlay.show {
  display: block;
}

/* ----------------------------
   Chat Interface Container
---------------------------- */
.chat-interface {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: none;
  z-index: 1000;
  background-color: var(--bg-primary);
  transition: all 0.3s ease;
  flex-direction: row;
}
.chat-interface.show {
  display: flex;
}

/* Fullscreen Mode */
.chat-interface.fullscreen .chat-messages {
  /*
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding: 0 5rem;
  */
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-interface.fullscreen .w-btn {
  display: none;
}

/* Windowed mode */
.chat-interface.windowed {
  width: 400px;
  height: 580px;
  right: 20px;
  bottom: 20px;
  top: auto;
  left: auto;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
}

.chat-interface.windowed .w-btn-area {
  position: absolute;
  left: -6px; /* Distance from the left edge */
  top: 50px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column; /* Stack buttons vertically */
  z-index: 1000;
}

.chat-interface.windowed .chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
}

.chat-interface.windowed .chat-messages {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding: 1rem 1.6rem;
}

.chat-messages.no-padding {
  padding: 0 !important;
}

.chat-interface.windowed .sidebar {
  display: none;
  position: absolute;
  width: 73%;
  height: 100vh;
  padding-bottom: 2rem;
  z-index: 10;
  background-color: transparent;
  backdrop-filter: blur(10px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}

.chat-interface .sidebar.show {
  display: block;
}

#chatInterface {
  transition: all 0.3s ease, transform 0.3s ease;
  opacity: 1;
}

#chatInterface.fullscreen {
  transform: scale(1);
  opacity: 1;
}

#chatInterface.windowed {
  transform: scale(0.98);
  opacity: 0.98;
}

/* ----------------------------
   Sidebar Section
---------------------------- */
.sidebar {
  width: 295px;
  background-color: #2c3d3e;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.3s ease;
}

/* Scrollbar - vertical and horizontal base size */
.sidebar::-webkit-scrollbar {
  width: 12px; /* For vertical scrollbar */
  height: 12px; /* For horizontal scrollbar */
}

/* Scrollbar track (the background track of the scrollbar) */
.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

/* Scrollbar thumb (the draggable part) */
.sidebar::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  min-height: 30px; /* Minimum height of vertical thumb */
  min-width: 30px; /* Minimum width of horizontal thumb */
}

/* On hover over sidebar, show scrollbar with color */
.sidebar:hover {
  scrollbar-color: rgba(128, 128, 128, 0.6) transparent;
}

/* On hover over sidebar, thumb becomes visible */
.sidebar:hover::-webkit-scrollbar-thumb {
  background-color: rgba(128, 128, 128, 0.6);
}

/* On hover over the thumb itself */
.sidebar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(96, 96, 96, 0.8);
}

.sidebar-header {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-header h2 {
  font-size: 20px;
  margin-bottom: 0;
  color: var(--color-text);
}

.sidebar-section {
  padding: 10px 15px;
}

.sidebar-section h3 {
  font-size: 13px;
  font-weight: 500;
  color: #9fb4c1;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.empty-state {
  font-size: 13px;
  color: var(--color-text-muted);
}

.sidebar-content {
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar-content::-webkit-scrollbar {
  display: none !important;
}

.sidebar-content.collapsed {
  max-height: 0;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  display: none;
}

.sidebar-toggle.collapsed i.fa-chevron-down {
  transform: rotate(-90deg);
  transition: transform 0.3s ease;
}

.request-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.agent-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.agent-name {
  font-size: 13.5px;
  font-weight: 500;
}

.agent-email {
  font-size: 11px;
  color: #9fb4c1;
}

.agent-text {
  font-size: 12px;
}

.agent-status {
  font-size: 11px;
}

.agent-item {
  padding: 8px 10px;
  border-radius: 8px;
}

.sidebar-section .agent-item:hover {
  box-shadow: inset 6px 6px 12px #334041, inset -6px -6px 12px #344749;
}

.agent-role {
  font-size: 12px;
  color: #70a8e0;
}

.notification-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  background-color: var(--color-danger);
  border-radius: 50%;
  text-align: center;
  line-height: 1;
}

.top-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
}

/* ----------------------------
   Chat Area Layout
---------------------------- */
.chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-dark);
}

.chat-ui-header {
  background-color: #14262d;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.chat-ui-header h3 {
  font-size: 16px;
  color: white;
}

.header-controls {
  display: flex;
  gap: 8px;
}

.btn-toggle-size,
.btn-close-chat {
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 12px;
  background: #1e1e1e; /* Dark base background */
  color: var(--color-text);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;

  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6),
    -4px -4px 8px rgba(255, 255, 255, 0.05);
}

/* Hover effect: raised look */
.btn-toggle-size:hover,
.btn-close-chat:hover {
  transform: scale(1.05);
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.5),
    -6px -6px 12px rgba(255, 255, 255, 0.06);
}

/* Pressed effect */
.btn-toggle-size:active,
.btn-close-chat:active {
  transform: scale(0.95);
  box-shadow: inset 4px 4px 6px rgba(0, 0, 0, 0.4),
    inset -4px -4px 6px rgba(255, 255, 255, 0.04);
}

.w-btn {
  width: 35px;
  height: 34px;
  border: none;
  border-radius: 0 12px 12px 0; /* Left side round */
  background: #1e1e1e; /* Dark base background for neumorphism */
  color: #fff;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5),
    -4px -4px 8px rgba(255, 255, 255, 0.05);
}

.w-btn:hover {
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.4),
    inset -2px -2px 4px rgba(255, 255, 255, 0.05);
  transform: scale(1.05);
}

.w-btn:active {
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.4),
    inset -4px -4px 8px rgba(255, 255, 255, 0.05);
  transform: scale(0.95);
}

.rotate-180 {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.request-box {
  background-color: #354c4d;
  width: 100%;
  padding: 15px;
  border-radius: 30px;
}

.group-box {
  width: 100%;
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
}

.request-box-btn {
  width: 100%;
}

.custom-btn {
  border: none;
  outline: none;
  padding: 6px 25px;
  border-radius: 15px;
  font-size: 11px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.3),
    inset -2px -2px 4px rgba(255, 255, 255, 0.1);
  transform: scale(1.03);
}

.custom-btn:active {
  box-shadow: inset 4px 4px 6px rgba(0, 0, 0, 0.35),
    inset -4px -4px 6px rgba(255, 255, 255, 0.1);
  transform: scale(0.97);
}

.success-btn {
  background-color: #008962; /* Neomorphic effect applies here */
  color: #FFF;
}

.normal-btn {
  background-color: #5e7680;
  color: #FFF;
}

.warn-btn {
  background-color: #de6355;
  color: var(--color-text);
}

.chat-name {
  background: linear-gradient(90deg, #ff3e77, #d730d9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* optional fallback for modern browsers */
  padding: 4px 8px;
  border-radius: 10px;
}

/* ----------------------------
   Chat Messages
---------------------------- */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  background-color: var(--bg-dark);
  scroll-behavior: smooth;
  padding: 2rem 4rem;
  max-height: 100vh;
}

.message {
  display: flex;
  margin-bottom: 20px;
}

.message.user {
  flex-direction: row-reverse;
}

.message-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 10px;
}

.message-content {
  max-width: 70%;
  display: flex;
  flex-direction: column;
}

.message-bubble {
  padding: 10px 15px;
  border-radius: 20px;
  word-wrap: break-word;
  line-height: 1.4;
  font-size: 14px;
}

.message.bot .message-bubble {
  background-color: #324b4c;
  color: #FFF;
  border-bottom-left-radius: 20px;
}

.message.user .message-bubble {
  background: linear-gradient(135deg, #487db5, #1162c5);
  color: var(--color-text);
  border-bottom-right-radius: 20px;
}

.message-time {
  font-size: 12px;
  color: var(--color-text-muted);
  padding: 0 10px;
}

.message.user .message-time {
  text-align: right;
}

/* ----------------------------
   Typing Indicator
---------------------------- */
.typing-indicator {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  background-color: var(--message-bot);
  border-radius: 18px;
}

.typing-indicator span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #999;
  margin: 0 2px;
  animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

/* ----------------------------
   Chat Input Area
---------------------------- */

.chat-input-container {
  padding: 8px 16px;
  background-color: #14262d;
  border-top: 1px solid var(--border-color);
  height: 60px; /* Fixed height for consistent layout */
  display: flex;
  align-items: center;
}

.input-group-custom {
  display: flex;
  flex: 1;
  gap: 10px;
  align-items: center;
}

.chat-input {
  flex: 1 1 auto;
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: 10px 20px;
  color: var(--color-text);
  font-size: 14px;
  outline: none;
  min-width: 0;
  height: 100%; /* Fill the container height */
  box-sizing: border-box;
}
.chat-input::placeholder {
  color: var(--color-text-muted);
}

/* From Uiverse.io by marcelodolza */
.btn-talk {
  --primary: #ffffff;               /* White text */
  --neutral-1: #5b9bd5;             /* Light blue */
  --neutral-2: #417bb5;             /* Darker blue */
  --radius: 100px;

  background-color: var(--neutral-1); /* Solid blue background */
  color: var(--primary);
  cursor: pointer;
  border-radius: var(--radius);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  min-width: 100px;
  padding: 20px 30px;
  height: 50px;
  font-size: 15px;
  font-weight: 500;
}

.btn-talk:hover {
  background-color: var(--neutral-2);
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-talk:active {
  background-color: #355f93;
  transform: scale(0.98);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-talk::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2.5px solid transparent;
  background: linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
              linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.4)) border-box;
  z-index: 0;
  transition: all 0.4s ease;
}

.btn-talk:hover::after {
  transform: scale(1.05);
  box-shadow: inset 0 -1px 3px 0 rgba(255, 255, 255, 0.5);
}

.btn-talk::before {
  content: "";
  inset: 7px 6px 6px 6px;
  position: absolute;
  background: linear-gradient(to top, var(--neutral-1), var(--neutral-2));
  border-radius: 30px;
  filter: blur(0.5px);
  z-index: 2;
}

/* Outline */
.outline {
  position: absolute;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  inset: -2px -3.5px;
}
.outline::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(
    from 180deg,
    transparent 60%,
    white 80%,
    transparent 100%
  );
  animation: spin 2s linear infinite;
  animation-play-state: paused;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.btn-talk:hover .outline {
  opacity: 1;
}
.btn-talk:hover .outline::before {
  animation-play-state: running;
}

/* Letters */
.state p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.state p span {
  display: block;
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.03s);
}
.btn-talk:hover p span {
  opacity: 1;
  animation: wave 0.5s ease forwards calc(var(--i) * 0.02s);
}
.btn-talk:focus p span {
  opacity: 1;
  animation: disapear 0.6s ease forwards calc(var(--i) * 0.03s);
}
@keyframes wave {
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
    color: var(--primary);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px) translateX(5px) rotate(-90deg);
    color: var(--primary);
    filter: blur(5px);
  }
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
    filter: blur(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}
@keyframes disapear {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateX(5px) translateY(20px);
    color: var(--primary);
    filter: blur(5px);
  }
}

/* Plane */
.state--default .icon svg {
  animation: land 0.6s ease forwards;
}
.btn-talk:hover .state--default .icon {
  transform: rotate(45deg) scale(1.25);
}
.btn-talk:focus .state--default svg {
  animation: takeOff 0.8s linear forwards;
}
.btn-talk:focus .state--default .icon {
  transform: rotate(0) scale(1.25);
}
@keyframes takeOff {
  0% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translateX(70px) rotate(45deg) scale(2);
  }
  100% {
    opacity: 0;
    transform: translateX(160px) rotate(45deg) scale(0);
  }
}
@keyframes land {
  0% {
    transform: translateX(-60px) translateY(30px) rotate(-50deg) scale(2);
    opacity: 0;
    filter: blur(3px);
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0);
    opacity: 1;
    filter: blur(0);
  }
}

/* Contrail */
.state--default .icon:before {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  width: 0;
  left: -5px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.5));
}
.btn-talk:focus .state--default .icon:before {
  animation: contrail 0.8s linear forwards;
}
@keyframes contrail {
  0% {
    width: 0;
    opacity: 1;
  }
  8% {
    width: 15px;
  }
  60% {
    opacity: 0.7;
    width: 80px;
  }
  100% {
    opacity: 0;
    width: 160px;
  }
}

/* States */
.state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 2;
  position: relative;
  padding-left: 0;
}
.state--default span:nth-child(4) {
  margin-right: 5px;
}
.state--sent {
  display: none;
}
.state--sent svg {
  transform: scale(1.25);
  margin-right: 8px;
}
.btn-talk:focus .state--default {
  position: absolute;
}
.btn-talk:focus .state--sent {
  display: flex;
}
.btn-talk:focus .state--sent span {
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.2s);
}
.btn-talk:focus .state--sent .icon svg {
  opacity: 0;
  animation: appear 1.2s ease forwards 0.8s;
}
@keyframes appear {
  0% {
    opacity: 0;
    transform: scale(4) rotate(-40deg);
    color: var(--primary);
    filter: blur(4px);
  }
  30% {
    opacity: 1;
    transform: scale(0.6);
    filter: blur(1px);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Icon positioning fix */
.state .icon {
  position: relative;
  transform: scale(1.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.state .icon svg {
  overflow: visible;
}

/* ----------------------------
   Custom Scrollbar Styling
---------------------------- */
.chat-messages::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.1); /* Invisible by default */
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.chat-messages:hover::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3); /* Visible on hover */
}

.chat-messages {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent; /* Firefox */
}

.placeholder {
  background-color: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  color: var(--color-text);
  padding: 0 10rem;
  font-size: 1.5rem;
}

.top-div-area {
  box-shadow: inset 6px 6px 12px #384849, inset -6px -6px 12px #3d5052;
  border-radius: 1rem;
  height: 30px;
  width: 130px;
  cursor: pointer;
}

.top-div-area p {
  font-size: 13px;
  margin-bottom: 0;
}



/* ----------------------------
   Responsive Layout
---------------------------- */

@media (max-width: 992px) {
  .chat-interface {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: 40%;
    order: 2;
  }

  .chat-area {
    order: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .chat-messages {
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    max-height: 50vh; /* Limits height so scrolling happens inside */
    padding: 1rem 2rem; /* Adjust padding for small screens */
  }

  .chat-ui-header h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .agent-name {
    font-size: 0.9rem;
  }

  .chat-input-container {
    padding: 0.5rem;
  }

  .input-group-custom {
    flex-direction: column;
  }

  .chat-input {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .btn-talk {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .sidebar-section h3 {
    font-size: 1rem;
  }

  .agent-avatar {
    width: 32px;
    height: 32px;
  }

  .floating-chat-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}
.online{
  color:rgb(5, 232, 168);
}
.offline{
color: grey;
}
.msg {
      max-width: 70% !important;
      padding: 12px !important;
      border-radius: 22px !important;
      font-size: 13px !important;
      line-height: 1.4 !important;
      font-weight:300 !important;
 }
.chat-messages .sent{
    background: linear-gradient(135deg, #487db5, #1162c5) !important;
    color: #fff;
    margin-left: auto !important;
}

.chat-messages .received{
    background: #FFF;
    color: #000;
    align-self: flex-start !important;
}