.msg_cotainer table {
    border-collapse: separate;
    border-spacing: 0;
    background-color: #EFF5FF;
    width: auto;
    color: #2B2B2B;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.30);
    margin: 20px 0; /* Adds margin around the table within the chat bubble */
    border: 1px solid white; /* Border around the table  */
}

/* Style for the file upload label to match the input field */
.btn-info {
    height: 60px; /* Make it the same height as the text input */
    line-height: 60px; /* Center the text vertically */
    margin-bottom: 0; /* Align it with the bottom of the text input */
    border-radius:  15px 0 0 15px  !important;
    font-size: 1rem; /* Optional: Adjust the font size as needed */

	font-weight: 500;
	font-size: 18px;


}

/* Additional styles to ensure alignment and consistency */
.input-group-text {
    height: 60px; /* Ensure send button has the same height */
}

.form-control.type_msg {
    border-radius: 0; /* Remove border-radius if you want a square look */
}

/* To ensure no gap between upload button and text input */
.input-group .form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}



.msg_cotainer table td,
.msg_cotainer table th {
    border: 1px solid white; /* Vertical and horizontal borders */
    padding: 8px; /* Padding inside cells */
}

.msg_cotainer, .msg_cotainer_send {
    padding: 15px; /* Padding inside the chat bubble */
    background-color: #146ca6; /* Background color of the chat bubble */
    border-radius: 20px; /* Rounded corners for the chat bubble */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); /* Shadow for the chat bubble */
}



body,html{
	height: 100%;
	margin: 0;
	background: rgb(18 18 18);
}







.msg_cotainer b, .msg_cotainer strong {
    font-weight: bold; /* Styles for bold text */
}

.msg_cotainer i, .msg_cotainer em {
    font-style: italic; /* Styles for italic text */
}

.msg_cotainer ul {
    list-style-type: disc; /* Styles for unordered lists */
    padding-left: 20px; /* Indent list items */
}

.msg_cotainer ul li {
    list-style-type: square; /* Change bullet style */
        padding-left: 1ch; /* Indent list items */
}

.msg_cotainer ol li {
    padding-left: 10px; /* Indent list items */
}

.font-300{
	font-weight: 300 !important;
}
.font-500{
	font-weight: 500 !important;
}

.msg_cotainer ol {
    list-style-type: decimal; /* Styles for ordered lists */
    padding-left: 20px; /* Indent list items */
}

.msg_cotainer li {
    margin-bottom: 5px; /* Space between list items */
}

.msg_cotainer br {
    display: block; /* Ensure line breaks are respected */
    margin-bottom: 5px; /* Space after a line break */
}



.response_image {
  max-width: 100%; /* makes image responsive */
  height: auto; /* maintains aspect ratio */
  max-height: 400px; /* limits the image height */
}

.chat{

	margin-top: 15px;


}
.card{
	height: calc(100vh - 2vh);
	max-width: 95%;
	border-radius: 15px !important;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.60);
    background-color: rgb(18 18 18) !important;
}
.contacts_body{
	padding:  0.75rem 0 !important;
	overflow-y: auto;
	white-space: nowrap
}
.msg_card_body{
	overflow-y: auto;
	background: #121212;

}
.card-header{
	border-radius: 15px 15px 0 0 !important;
	border-bottom: 1 white !important;
	height: 100px;
	background: linear-gradient(to top, #232222 0%, #121212 100%);
}


.card-footer{
border-radius: 0 0 15px 15px !important;

	border-top: 0 !important;
	height: 82px;
	display: flex;
    align-items: center; /* Align vertically */
    background: linear-gradient(to top, #232222 0%, #121212 100%);
}



#messageForm {
    display: inline-flex; /* Use inline-flex to keep it in line with other elements */
    flex-grow: 1; /* Take up the remaining space */
    width: 100% ; /* Calculate the remaining width */
}













.container{
	align-content: center;
		background-color: rgb(15,107,163)!important;

}
.search{
	border-radius: 15px 0 0 15px !important;
	background-color: rgba(0,0,0,0.3) !important;
	border:0 !important;
	color:white !important;
}
.search:focus{
	 box-shadow:none !important;
   outline:0px !important;
}
.type_msg{
	background-color: rgba(0,0,0,0.3) !important;
	border:0 !important;
	color:white !important;
	height: 60px !important;
	overflow-y: auto;
}
	.type_msg:focus{
	 box-shadow:none !important;
   outline:0px !important;
}
.attach_btn{
	border-radius: 15px 0 0 15px !important;
	background-color: rgba(0,0,0,0.3) !important;
	border:0 !important;
	color: white !important;
	cursor: pointer;
}
.send_btn{
	border-radius: 0 15px 15px 0 !important;
	background-color: rgba(0,0,0,0.3) !important;
	border:0 !important;
	color: white !important;
	height: 60px;
	cursor: pointer;
}
.search_btn{
	border-radius: 0 15px 15px 0 !important;
	background-color: rgba(0,0,0,0.3) !important;
	border:0 !important;
	color: white !important;
	cursor: pointer;
}
.contacts{
	list-style: none;
	padding: 0;
}
.contacts li{
	width: 100% !important;
	padding: 5px 10px;
	margin-bottom: 15px !important;
}
.active{
	background-color: rgba(0,0,0,0.3);
}
.user_img{
	height: 60px;
	width: 60px;

}

.img_cont_header {
    height: 54px;
    width: 54px;
    position: relative;
    top: 9px;
    left: 0px;
    border-radius: 50px;
    padding: 4px;
    background-color: white;
}

.img_header {
    height: 54px;
    width: 53px;
    position: relative;
    left: -2px;
    border-radius: 50px;
    padding: 5px;
    bottom: 4px;
}

.user_img_msg{
	height: 60px;
	width: 60px;


}
.img_cont{
	position: relative;
	height: 75px;
	width: 75px;
}
.img_cont_msg{
	height: 60px;
	width: 60px;
}
.online_icon {
    position: absolute;
    height: 13px;
    width: 13px;
    background-color: #00A97C;
    border-radius: 50%;
    bottom: 0.25em;
    right: 0.17em;
    border: 1.5px solid white;
}
.offline{
	background-color: #c23616 !important;
}
.user_info{
	margin-top: 0px;
	margin-bottom: auto;
	margin-left: 15px;
}
/* Import Raleway or Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* User Info Title (Bold Raleway) */
.user_info span {
    font-size: 28px;
    font-family: 'Bold Raleway', Roboto; /* Bold Raleway */
    font-weight: 700; /* Extra Bold */
    color: white;
}

/* User Info Subtitle (Lighter Poppins) */
.user_info p {
    font-size: 16px; /* Adjust subtitle size */
    font-family: 'Raleway', Roboto;  /* Light Poppins */
    font-weight: 300; /* Light weight */
    color: rgba(255, 255, 255, 0.7); /* Softer white */
    margin-top: 0px;
}

.video_cam{
	margin-left: 50px;
	margin-top: 5px;
}
.video_cam span{
	color: white;
	font-size: 25px;
	cursor: pointer;
	margin-right: 20px;
}
.msg_cotainer{
	margin-top: auto;
	margin-bottom: auto;
	max-width: 1200px;
	margin-left: 10px;
	background-color: #201f1f;
	font-weight: 500;
	font-size: 14px;
	border-radius: 25px;
	padding: 15px;
	color: white  ;
	position: relative;

}
.msg_cotainer_send{
	margin-top: auto;
	margin-bottom: auto;
	margin-right: 10px;
	border-radius: 25px;
	font-weight: 500;
	font-size: 14px;
	background-color: #201f1f;
	color: white;
	padding: 15px;
	position: relative;
}

.bg-white{
	background-color: white;
}

.msg_head{
	position: relative;
}
#action_menu_btn{
	position: absolute;
	right: 10px;
	top: 10px;
	color: white;
	cursor: pointer;
	font-size: 20px;
}
.action_menu{
	z-index: 1;
	position: absolute;
	padding: 15px 0;
	background-color: rgba(0,0,0,0.5);
	color: white;
	border-radius: 15px;
	top: 30px;
	right: 15px;
	display: none;
}
.action_menu ul{
	list-style: none;
	padding: 0;
	margin: 0;
}
.action_menu ul li{
	width: 100%;
	padding: 10px 15px;
	margin-bottom: 5px;
}
.action_menu ul li i{
	padding-right: 10px;
}
.action_menu ul li:hover{
	cursor: pointer;
	background-color: rgba(0,0,0,0.2);
}
@media(max-width: 576px){
	.contacts_card{
	margin-bottom: 15px !important;
}
}

body::-webkit-scrollbar {
    display: none;
}
.card::-webkit-scrollbar {
    display: none;
}