/* v3.000.6 */

body {
	margin: 0;
	text-rendering: auto;
	text-rendering: optimizeLegibility;
	font-family: "Inter", sans-serif;
	font-smoothing: antialiased;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
	-webit-text-rendering: optimizelegibility;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	background-color: #2870ed;
	}

.chat-title {
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
  	font-weight: 500;
  	font-style: normal;	
	text-align: left;
	padding: 0 20px;
	color: rgb(51, 134, 57);
	height: 20px;
	background-color: white;
}

.chat-container {
	width: 1600px;
	height: calc((100dvh));
	display: flex;
	flex-direction: column;
	border-radius: 0rem;
	padding: 0px 20px;
}

.chat-history {
	padding: 20px;
	flex: 1;
	overflow-y: auto;
	background: white;
}

.chat-input {
	padding: 20px;
	display: flex;
	align-items: center;
	background-color: white;
}

.chat-input input {
	font-family: "Inter", sans-serif;
	font-smoothing: antialiased;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
	-webit-text-rendering: optimizelegibility;
	font-size: 18px;
	line-height: 26px;
	flex: 1;
	padding: 17px 0px 17px 20px;
	background-color: #2870ed20;
	border: 0px solid rgb(0, 0, 0, 0.2);
	border-right: 0px;
	border-radius: 30px 0px 0px 30px;
	z-index: 99;
	color: rgb(48, 48, 48);
}

#layer,
#layer1 {
	padding: 0;
	margin: 0;
	font-size: 0px;
}

#layer {
	background-color: white;	
}

#layer1 {
	background-color: transparent;	
	margin-bottom: 20px;
}

.chat-input .blink-input {
	animation: blink-border 2s ease-in-out 0s 2;
	/* Blinking animation */
}

strong, bold, b {
	font-family: "Inter", sans-serif;
	font-weight: 600;
}

li::marker {
    font-family: "Inter", sans-serif; 
    font-weight: normal;
}

@keyframes blink-border {

	0%,
	100% {
		border-color: #4CAF50;
		/* Initial and final border color */
	}

	50% {
		border-color: #FF0000;
		/* Border color during the blink */
	}
}

.chat-input input:focus {
	outline: none;
}

.chat-history-reload-holder {
	position: relative;
}

#chat-history-reload {
	cursor: pointer;
	width: 20px;
	height: 20px;
	position: absolute;
	right: 0;
	top: 0px;
	transition: transform 0.9s ease-in-out;
}

#chat-history-reload:hover {
	transform: rotate(180deg);
}

.chat-input button {
	height: 60px;
	padding: 0px 16px;
	background-color: #2870ed20;
	color: #231f20;
	cursor: pointer;
	transition: color 0.3s;
	z-index: 100;
	border: 0px solid rgb(0, 0, 0, 0.2);
	border-left: 0;
	border-radius: 0px 30px 30px 0px;
}

.chat-input button:hover {
	color: #000000;
}

.chat-input button:disabled {
	cursor: not-allowed;
}

.sendbutton {
	width: 36px;
	padding-top: 2px;
}

.message {
	color: rgb(48, 48, 48);
	margin-bottom: 20px;
	display: flex;
	justify-content: flex-start;
	position: relative;
}

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

.message-content {
    font-size: 18px;
    line-height: 26px;
    background-color: rgb(241, 241, 240);
    border-radius: 20px 20px 20px 20px;
    padding: 16px 20px;
    margin-right: 15%;
}

.message-content p {
	margin-block-start: 0;
	margin-block-end: 0;
}

.message-content a {
	font-family: "Inter", sans-serif;
	color: rgba(65, 65, 65, 1);
	text-decoration: underline;
	color: #2870ed;
	font-weight: 600;
}

.message-content a:hover {
	color: rgb(48, 48, 48);
}

.message.user .message-content {
	background-color: #2870ed;
	border-radius: 20px 20px 20px 20px;
	color: #ffffff;
	margin-right: 0;
	margin-left: 15%;
}

.message.user {
	color: white;
	background-image: url("../images/user.svg");
	background-position: bottom right;
	background-size: 20px;
	background-repeat: no-repeat;
}

.message.assistant {
	background-image: url("../images/assistant.svg");
	background-position: bottom left;
	background-size: 20px;
	background-repeat: no-repeat;
}

.loader {
	border: 5px solid #f3f3f3;
	border-top: 5px solid #ab9c93;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	animation: spin 1s linear infinite;
	margin: 10px auto;
}

.disclaimer {
	font-family: "Inter", sans-serif;
	text-align: center;
	color: rgba(48, 48, 48, 1);
	font-size: 14px;
	line-height: 18px;
	padding: 0px 20px;
	background-color: white;
}

.disclaimer a {
	color: #2870ed;
	font-weight: 600;
	text-decoration: none;
}

.disclaimer a:hover {
	text-decoration: none;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.linear-loader {
	width: 100%;
	height: 4px;
	background-color: #f3f3f3;
	position: relative;
}

.bar {
	position: absolute;
	height: 100%;
	width: 0%;
	background-color: #2870ed;
	animation: loading 1s infinite;
}

@keyframes loading {
	0% {
		width: 0%;
	}

	50% {
		width: 70%;
	}

	100% {
		width: 100%;
	}
}

.qc-cmp2-persistent-link {
	font-size: 10px;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	padding: 8px 10px;
	background-color: #000000;
}

.copy-icon {
	background-image: url("../images/copy.svg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	display: block;
	cursor: pointer;
	float: right;
	width: 20px;
	height: 20px;
	margin-top: 10px;
	z-index: 100;
}

.copy-icon.copied {
	background-image: url("../images/checkmark.svg");
}

.message.assistant:first-of-type .copy-icon {
	display: none;
}

::placeholder {
	color: rgba(48, 48, 48, .5);	
}

@media only screen and (max-width: 600px) {

	body {
		padding: 0;
	}

	.chat-title {
		padding: 0px 0px 0px 0px;
		font-size: 31.25px;
		line-height: 37.5px;
		text-align: left;
		padding: 0 12px;
	}

	#chat-history-reload {
		width: 18px;
		height: 18px;
		right: 0;
		top: 4px;
	}

	.chat-history-reload-holder {}
	
	.message {
		margin-bottom: 12px;
	}	

	.message-content {
		font-size: 16px;
		line-height: 22.4px;
		padding: 10px 12px;
	}

	.message.user .message-content {
		border-radius: 12px 12px 12px 12px;
		margin-left: 10%;
	}

	.message.assistant .message-content {
		background-color: rgb(241, 241, 240);
		border-radius: 12px 12px 12px 12px;
		margin-right: 10%;
	}

	.message.user {
		background-size: 12px;
	}	
	
	.message.assistant {
		background-size: 12px;
	}	
	
	.chat-input input {
		font-size: 16px;
		line-height: 22.4px;
		padding: 10px 0px 10px 12px;
	}

	.chat-input button {
		height: 42px;
		padding: 0px 10px;
		color: #ffffff;
		cursor: pointer;
		transition: color 0.3s;
		z-index: 100;
		border: 0px solid rgb(0, 0, 0, 0.2);
		border-left: 0;
	}

	.chat-history {
		padding: 12px;
	}

	.chat-input {
		padding: 12px;
	}

	.chat-container {
		height: 100dvh;
		border-radius: 0rem;
		padding: 0px 0px;
	}

	.sendbutton {
		width: 30px;
		padding-top: 2px;
	}

	.disclaimer {
		text-align: center;
		font-size: 10px;
		line-height: 12px;
		padding: 0 12px;
	}

	#layer1 {
		margin-bottom: 0px;
		background-color: white;
		padding-bottom: 12px;
	}
	
	#layer1 img {
		display: none;
	}
	
	.copy-icon {
		width: 18px;
		height: 18px;
		margin-top: 6px;
	}
}