body {
  font-family: 'Inter', sans-serif;
}

/* Custom scrollbar for better aesthetics */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Sidebar and chat window visibility classes */
#sidebar a {
  text-decoration: inherit !important;
}

.sidebar-visible {
  transform: translateX(0) !important;
}

.chat-visible {
  transform: translateX(0);
}

.ql-container.ql-snow {
  width: 100% !important;
  overflow: visible !important;
  border: none !important;
  position: relative;
}

.ql-editor {
  white-space: pre-wrap !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  overflow-y: auto !important;
}

.ql-mention-list-container {
  overflow-y: scroll;
  max-height: 200px;
}

.ql-editor blockquote {
  border-left: 4px solid #ccc;
  padding-left: 16px;
  color: #666;
  font-style: italic;
  background: #f9f9f9;
}

/* add number & bullet */
.emlBodyContent ul, ol {
    padding-left: 20px !important;
    margin: 5px 0 !important;
}

.emlBodyContent li[data-list="bullet"] {
    list-style-type: disc !important;
	padding-left: 10px;
    margin-left: 10px;	
}

.emlBodyContent li[data-list="ordered"] {
    list-style-type: decimal !important;
	padding-left: 10px;
	margin-left: 10px;
}

.ql-editor img {
  width: auto;
  height: revert-layer;
}

.ql-editor .ql-table-better {
  width: unset;
}

.ql-table-better td {
  border: 1px solid #000;
  padding: 2px 5px;
}

.floating-emoji {
  position: absolute;
  animation: floatUp 1s ease forwards;
  background: transparent;
  font-size: 20px;
}

@keyframes floatUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-80px) scale(1.5);
  }
}