/* General Body Chat */
.body-chat {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		sans-serif;
	background-color: #f8f9fa;


	height: 100dvh;
	max-height: 100dvh;
	/* height: 100svh;
	height: 100vh; */

/* 
	display: flex;
	flex-direction: column; */
}

/* Sidebar Styles */
.sidebar-message {
	/* border-right: 1px solid #e0e0e0; */
	height: 100%;
	background-color: white;
	overflow-y: auto;
	/* Enable vertical scrolling */

	width:100%
}

@media screen and (min-width: 768px) {
	.sidebar-message {
		min-width: 320px;
		max-width: 360px;
	}

}

/* Custom Scrollbar */
.sidebar-message::-webkit-scrollbar {
	width: 8px;
	/* Set the width of the scrollbar */
}

.sidebar-message::-webkit-scrollbar-track {
	background: transparent;
	/* Transparent track */
}

.sidebar-message::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.2);
	/* Semi-transparent handle */
	border-radius: 10px;
	/* Round corners of the scrollbar */
}

.sidebar-message::-webkit-scrollbar-thumb:hover {
	background-color: rgba(0, 0, 0, 0.4);
	/* Darker handle on hover */
}

/* Candidate Item */
.candidate-item {
	padding: 12px 16px;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
}

.candidate-item:hover {
	background-color: #f5f5f5;
	/* Hover background */
}

/* Active Candidate */
.active-candidate {
	background-color: #f0f0f0;
}

.candidate-item.active {
	background-color: #e2eaf7;
}

/* Chat Container */
.chat-container {
	display: flex;
	flex-direction: column;
	background-color: #f8f9fa;
}

/* Chat Header */
.chat-header {
	border-bottom: 1px solid #e0e0e0;
}

/* Chat Messages */
.chat-messages {
	/* padding: 16px; */

	/* background-color: #f8f9fa; */
}

/* Message Styling */
.message {
	/* margin-bottom: 12px; */
	max-width: 70%;
	padding: 10px 14px;
	border-radius: 18px;
	font-size: 0.9rem;
	line-height: 1.4;
}

/* Candidate Message */
.candidate-message {
	background-color: white;
	border: 1px solid #e0e0e0;
	border-radius: 4px 18px 18px 18px;
	margin-right: auto;
}

/* User Message */
.buble-my-message {
	background-color: #eff1f3;
	border-radius: 18px 4px 18px 18px;
	margin-left: auto;
	/* border: 1px solid #abafb4; */
}

/* Message Time */
.message-time {
	font-size: 0.7rem;
	color: #757575;
	margin-top: 4px;
	text-align: right;
}

/* Reply Box */
.reply-box {
	border-top: 1px solid #e0e0e0;
	padding: 12px 16px;
	background-color: white;
}

/* Time Divider */
.time-divider {
	color: #9e9e9e;
	font-size: 0.75rem;
	margin: 16px 0;
	text-align: center;
	position: relative;
}

.time-divider::before,
.time-divider::after {
	content: "";
	flex: 1;
	border-bottom: 1px solid #e0e0e0;
	margin: auto;
}

.time-divider::before {
	margin-right: 10px;
}

.time-divider::after {
	margin-left: 10px;
}

/* Hover Effect */
.hover-gray:hover {
	background-color: #6e6d6d;
}

/* Light Hover Effect */
.bg-lights {
	background-color: rgba(83, 113, 255, 0.1) !important;
	transition: background-color 0.3s ease;
}

.btn-see-cv {
	font-weight: normal !important;
}

/** 
 * new Styles by @riyan
 */

.message-container{
	padding-top: 4px;
	padding-bottom: 4px;
}

#chat-detail-container {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.chat-header {
	flex-shrink: 0;
}


form#chat-form {
	flex-shrink: 0;
}

/** 
 * End of new Styles by @riyan
 */