.echat_body {
	/* font-family: Arial, sans-serif; */
	margin: 0;
	padding: 0;
	background-color: #f4f4f9;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 98vh;
}

/* body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f4f4f9;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
} */

.chat-container {
	/*width: 800px; /* Increased width for a wider chatbot */
	/*height: 85vh; /* Slightly taller height */

	width: 90%; /* Make it responsive */
	max-width: 800px; /* Limit the maximum width */
	height: 85vh;

	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow for depth */
	display: flex;
	flex-direction: column;
	overflow: hidden;
	
}

.chat-header {
	/* background-color: #0078d7; */
	background: linear-gradient(135deg, #900303, #b72b2b); /* softer maroon gradient */
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.chat-messages {
	flex: 1;
	padding: 20px; /* Increased padding for better spacing */
	overflow-y: auto;
	border-bottom: 1px solid #ddd;
}

.chat-messages .message {
	margin-bottom: 15px; /* Increased spacing between messages */
	padding: 12px;
	border-radius: 8px; /* Slightly more rounded corners */
}

/* .chat-messages .user-message {
	background-color: #0078d7;	
	color: #ffffff;	
	align-self: flex-end;
	margin-left: 75px;
} */

/* .chat-messages .bot-message {
	background-color: #e9ecef;
	color: #333;
	align-self: flex-start;
	margin-right: 75px;
} */

.chat-messages .user-message {
    background: linear-gradient(135deg, #3f99e4, #0078d7);
    color: #fff;
    align-self: flex-end;
    border-radius: 20px 20px 5px 20px;
    padding: 12px 18px;
    margin-left: 75px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.chat-messages .bot-message {
    background: #e9ecef;
    color: #333;
    align-self: flex-start;
    border-radius: 20px 20px 20px 5px;
    padding: 12px 18px;
    margin-right: 75px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.chat-input {
	display: flex;
	padding: 15px; /* Adjusted padding for a cleaner look */
	background-color: #f4f4f9;
	border-top: 1px solid #ddd;
}

/* .chat-input input {
	flex: 1;
	padding: 14px;
	font-size: 18px; 
	border: 1px solid #ccc;
	border-radius: 5px;
	margin-right: 10px;
} */

.chat-input input {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 50px;
    border: 1px solid #ccc;
    outline: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.chat-input input:focus {
    border-color: #0078d7;
    box-shadow: 0 4px 12px rgba(0,120,215,0.25);
}

/* .chat-input button {
	padding: 14px 25px;	
	background-color: #28a745;
	color: #ffffff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
}

.chat-input button:hover {
	background-color: #2fc753;
} */

.chat-input button {
    padding: 14px 25px;
    background: linear-gradient(135deg, #28a745, #45c364);
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.chat-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.related-topic {
	color: #0078d7;
	text-decoration: underline;
	margin-right: 5px;
  }
  
.related-topic:hover {
color: #005bb5;
}
  

.message.bot-message .intent-note {
  	display: inline-block;   /* ensures font-style applies properly */
  	font-style: italic !important;
  	opacity: 0.8;
  	margin-top: 5px;
  	color: #4b555e;
}
