.grapho-chat-container {
	width: 375px;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	background-color: white;
	bottom: 110px; /* Adjust this value as needed */
	right: 20px; /* Adjust this value as needed */
	z-index: 9999999999999; /* Ensure the chat box is above other content */
	position: fixed;
	font-family: 'Overpass', sans-serif;
}
@media only screen and (max-width: 800px) {
	.grapho-chat-container {
		width: 100%;
		right: 0px;
		display: flex;
        flex-direction: column;
        height: 100%;
		z-index: 9999999;
		bottom: 0px;
	}
}

.grapho-chat-container header {
	position: relative;
	background: #82a4a7;
	padding: 0px 10px;
	color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.grapho-chat-container .header-content {
	display: flex;
	align-items: center;
	width: 100%;
}

.grapho-chat-container .header-content div {
	float: left;
}

.grapho-chat-container .logo {
	width: 24px;
	height: 24px;
	margin-right: 10px;
	margin-left: 10px;
}

.grapho-chat-container .header-text {
	font-size: 20px;
	font-weight: bold;
	flex-grow: 1; /* Allow the text to grow and take available space */
}

.grapho-chat-container .close-button {
	color: white;
	font-size: 24px;
	cursor: pointer;
	padding: 0px;
    font-weight: lighter;
	margin-bottom: 0px;
}

.grapho-chat-container .chat-box {
	padding: 15px;
	height: 400px;
	overflow-y: auto;
	background-color: white;
	display: flex;
	flex-direction: column;
}

.grapho-chat-container .chat-message {
	border-radius: 10px;
	max-width: 80%;
	word-wrap: break-word;
	font-size: 16px;
    line-height: 22px;
	padding: 10px 20px;
}

.grapho-chat-container .chat-message p {
	margin-bottom: 0px;
}

.grapho-chat-container .chat-message.user {
	background-color: #30686a; /* Principal color */
	color: white;
	align-self: flex-end;
	text-align: right;
	border: 1px solid #b7cacc; /* Lighter shade of principal color */
	margin: 10px 0px;
}

.grapho-chat-container .chat-message.bot {
	background-color: #f2f2f2; /* White background for bot messages */
	color: black;
	align-self: flex-start;
	text-align: left;
	border: 1px solid #b7cacc; /* Lighter shade of principal color for border */
}

.grapho-chat-container .input-area {
	display: flex;
	padding: 10px;
	background-color: white;
}

.grapho-chat-container input[type="text"] {
	flex-grow: 1;
	padding: 10px;
	border: none;
	border-radius: 5px;
	margin-right: 10px;
	outline: none;
	border: 1px solid #ccc;
}

.grapho-chat-container input[type="text"]:disabled {
	background-color: #f0f0f0; /* Light grey background for disabled state */
	border: 1px solid #ddd; /* Lighter border for disabled state */
	color: #a0a0a0; /* Grey text color for disabled state */
	cursor: not-allowed;
}

.grapho-chat-container .send-button {
	background-color: #0a6b6e;
    border: none;
    width: 48px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    margin: 0px;
    padding: 0px;
}

.grapho-chat-container .send-button::before {
	/* content: "➤"; */
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 20px;
}

.grapho-chat-container .send-button:hover {
	background-color: #e6811b; /* Slightly darker shade for hover */
}

.grapho-chat-container .send-button:disabled {
	background-color: #cccccc; /* Grey color for disabled state */
	cursor: not-allowed;
}

.grapho-chat-container .sparkle-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
}

.grapho-chat-container .sparkle-icon svg {
	width: 24px;
	height: 24px;
	color: #f39c12; /* You can change the color as needed */
}

#chat-box .chat-message.bot .beforeLinks {
font-weight: 700;
    margin-top: 20px;
    display: block;
}

.grapho-chat-container .loader {
	height: 3px;
	width: 75px;
	--c: no-repeat linear-gradient(#000 0 0);
	background: var(--c), var(--c), var(--c), var(--c);
	background-size: 21% 100%;
	animation: l7 1s infinite alternate;
}
@keyframes l7 {
	0%,
	20% {
		background-position: calc(0 * 100% / 4) 0, calc(1 * 100% / 4) 0,
			calc(2 * 100% / 4) 0, calc(3 * 100% / 4) 0;
	}
	35% {
		background-position: calc(0 * 100% / 4) 0, calc(1 * 100% / 4) 0,
			calc(2 * 100% / 4) 0, calc(4 * 100% / 4) 0;
	}
	50% {
		background-position: calc(0 * 100% / 4) 0, calc(1 * 100% / 4) 0,
			calc(3 * 100% / 4) 0, calc(4 * 100% / 4) 0;
	}
	65% {
		background-position: calc(0 * 100% / 4) 0, calc(2 * 100% / 4) 0,
			calc(3 * 100% / 4) 0, calc(4 * 100% / 4) 0;
	}
	80%,
	100% {
		background-position: calc(1 * 100% / 4) 0, calc(2 * 100% / 4) 0,
			calc(3 * 100% / 4) 0, calc(4 * 100% / 4) 0;
	}
}

/* Style for the container holding all tags */
.grapho-chat-container .tags-container {
	display: flex;
	flex-wrap: wrap; /* Allows tags to wrap to the next line */
	gap: 8px; /* Space between tags */
	margin-top: 8px; /* Space between the bot message and tags */
	margin-bottom: 8px; /* Space between the bot message and tags */
}

/* Style for each individual tag */
.grapho-chat-container .document-tag {
	background-color: #d1dedf; /* Light blue background */
	color: #30686a; /* Blue text color */
	padding: 4px 12px; /* Padding inside the tag */
	border-radius: 10px; /* Rounded corners */
	text-decoration: none; /* Remove underline from links */
	font-family: Arial, sans-serif; /* Font family */
	display: inline-block; /* Ensures tags are inline and block-level */
	transition: background-color 0.3s, color 0.3s; /* Smooth transitions */
}

/* Hover effect for tags */
.grapho-chat-container .document-tag:hover {
	background-color: #b3cfd1; /* Darker blue background on hover */
	color: #2a5254; /* Darker blue text on hover */
	text-decoration: underline; /* Underline text on hover */
}

.grapho-chat-container .like-dislike-icons {
	text-align: left;
	width: 80%;
	align-self: flex-start;
	margin-top: 10px;
}

.grapho-chat-container .like-dislike-icons i {
	cursor: pointer;
	margin-left: 10px;
	font-size: 0.8em; /* Adjust size as needed */
	color: #ccc; /* Initial color for outlined state */
	font-size: 24px;
}

.grapho-chat-container .like-dislike-icons i:hover {
	color: #30686a; /* Color on hover */
}

.grapho-chat-container .like-dislike-icons .fas {
	color: #30686a; /* Color when filled */
}
