body {
    font-family: 'Arial', sans-serif;
    font-size: small;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    max-height: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 9999;
    transition: max-height 0.3s ease;

	font-family: 'Arial', sans-serif;
    font-size: small;
}

#chat-container.collapsed {
    max-height: 50px;
    max-width: fit-content;
}

#chat-title {
    background: linear-gradient(90deg, #53A3D0, #69DDD0   ); /* Gradient from purple to light blue to red */
    color: #fff;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    display: flex; /* Inline-block instead of inline for proper sizing */
	align-items: center;
	justify-content: center;
    border-radius: 5px; /* Optional: Add rounded corners */
	font-family: 'Arial', sans-serif;
    font-size: small;
}

#chat-content {
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

#chat-title a {
    display: inline; /* Ensures the link is inline with the text */
    text-decoration: underline; /* Adds underline to the link */
    color: white; /* Changes the link text color to white */
}

#chat-container.collapsed #chat-content {
    display: none;
}

#chat-container:not(.collapsed) #chat-content {
    display: flex;
}

#chatbox {
    height: 400px;
    overflow-y: auto;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    flex-grow: 1;
	font-family: 'Arial', sans-serif;
    font-size: small;
}

.message {
    margin: 10px 0;
    display: flex;
    justify-content: flex-start;
}

.message span {
    display: block;
    padding: 10px;
    border-radius: 10px;
    max-width: 90%;
    word-wrap: break-word;
}

.message.user {
    justify-content: flex-end;
}

.message.user span {
    background-color: #F0F1F3;
    color: #000;
    align-self: flex-start;
}

.message.bot {
    justify-content: flex-start;
}

.message.bot span {
    background-color: #53A3D033;
    color: #000;
    align-self: flex-end;
}

#petabot_1 {
	margin: 0px;
	line-height: 1.5;
}

#input-container {
    display: flex;
	align-items: center;
    padding: 10px;
    background-color: #f9f9f9;
}

#message-input {
	flex: 1;
    padding: 0px 10px 0px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
    overflow-y: hidden; /* Hide vertical scroll */
    line-height: 35px; /* Match line-height with textarea height */
    height: 40px; /* Same height as the line-height for vertical alignment */
    box-sizing: border-box; /* Ensure padding and border are included in the height */
    text-align: left; /* You can change this to center if you want horizontal centering */
    margin-right: 10px;

	line-height:40px;
	min-height: 40px;
	max-height: 40px;

	font-family: 'Arial', sans-serif;
    font-size: small;
}

/* Style for the focused state */
#message-input:focus {
    border: 1px solid #20718b; /* Change border color when focused */
    outline: none; /* Remove default outline */
}

#send-button {

	background-color: #53A3D0;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
	min-width: 60px;

	font-family: 'Arial', sans-serif;
    font-size: small;
}

#send-button:hover {
    background-color: #4283a8;
}



.hidden {
    display: none;
}

#chat-logo {
    height: 20px; /* Adjust size as needed */
	width: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

.message.bot .message-content {
	display: flex;
	align-items: flex-end;
  }
  
.bot-icon {
	width: 25px;   /* Adjust size as needed */
	height: 25px;
	margin-right: 8px; /* Space between icon and text */
}
