/* Styles for the scrollbar track (part the thumb slides within) */
.div-scrollbar::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Light grey track background */
}

/* Styles for the scrollbar thumb (part that you drag) */
.div-scrollbar::-webkit-scrollbar-thumb {
    background-color: #888; /* Dark grey thumb */
}

/* Styles for the scrollbar itself (the total scrollbar width) */
.div-scrollbar::-webkit-scrollbar {
    width: 5px; /* Thinner scrollbar width */
    height: 5px; /* For horizontal scrollbars, if needed */
}
body {
  margin: 0px;
  padding: 0px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}
form {
  display: flex;
  padding: 0.5rem;
}
.highlight {
	background-color: yellow; /* Yellow background for highlighted text */
	font-weight: bold; /* Make highlighted text bold */
}
input, button {
  margin: 0.2rem;
}
.speech-bubble {
	
	padding: 23px 20px;
	margin: 1em 3em;
	
	
	
}

	
	
.speech-bubble {
	width: 75%;
	position: relative;
	background: #ccc;
	border-radius: .4em;
}
.recipient-speech-bubble {
	background: #ccc;
}
.recipient-speech-bubble:before {
	content: '';
	position: absolute;
	left: 3;
	
	width: 0;
	height: 0;
	border: 27px solid transparent;
	border-right-color: #ccc;
	border-left: 0;
	border-top: 0;
	
	margin-left: -37px;
}
.sender-speech-bubble {
	background: #0084FF;
	color: #fff;
}
.sender-speech-bubble:before {
	content: '';
	position: absolute;
	right: 0;
	top: 44px;
	width: 0;
	height: 0;
	border: 37px solid transparent;
	border-left-color: #0084FF;
	border-right: 0;
	border-top: 0;
	margin-top: -18.5px;
	margin-right: -17px;
}

/*Slide-right*/

#mainContent {
    padding: 20px;
}

#profilePanel {
    width: 250px;
    position: fixed;
    top: 0;
    
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
	z-index: 10000000000;
	
}
#mainContent .title {
    padding: 4px 13px;
}
#mainContent .content {
	 padding: 20px;
}
.profile-panel-hidden {
    right: -250px;
}

.profile-panel-visible {
    right: 0;
}
.view-user-info {
	cursor: pointer;
}
.profile-container {
	widh: 100%;
	list-style: none;
	padding: 0px;
	margin: 0px;
}
.profile-container .profile-item {
	display: inline-block;
}
.profile-container .profile {
	width: 34px;
	height: 34px;
}
.profile-container .profile img{
	width: 30px;
	height: 30px;
	border-radius: 4px;
}
.members-container {
	max-height: 450px;
	overflow-y: auto;
}
.members-list {
	list-style: none;
}
.members-list .member .profile{
	width: 100%;
	display: table;
	padding: 4px 13px;
}
.members-list .member {
	background: #fff;
}
.members-list .member:nth-child(2n+1) {
	background: #fafafa;
}
.members-list .member:hover {
	background: #fafafa;
}
.members-list .member .profile .photo {
	width: 55px;
  	height: 55px;
	display: table-cell;
}
.members-list .member .profile .photo img {
	width: 100%;
  	border-radius: 50%;
}

.members-list .member .profile .name {
	width: auto;
	display: table-cell;
	text-align: left;
	vertical-align: top;
	padding-top: 4px;
}
.members-list .member .profile .control {
	width: 55px;
	display: table-cell;
	vertical-align: top;
	text-align: right;
}
.members-list .status {
	
	

}
.messages_container li img {
	width: auto;
	max-width: 200px;
	height: auto;
}

#channel-members-modal .searched-members-container {
	min-height: 340px;
	overflow-x: none;
	overflow-y: auto;
}
.text-wrap {
	    word-wrap: break-word; /* This allows long words to break and wrap onto the next line */

	
}
#searched-people-container {
	
	max-height: 380px;
	overflow-x: none;
	overflow-y: auto;
}