@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,600');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&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&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
	--message-area: 68vh;
	--primary-color-chat: #0a0955;
	--primary-color-btn: #232181;
	--primary-color-btn_hover: #090857;
	--primary-font-chat: "Rubik", serif;
	/* --message- */
	--sender-meg-bg: var(--primary-color-btn);
}

.is-ai__profile-picture img {
	width: 54px;
	height: 60px;
	max-width: none !important;
}

.chatbot {
	position: fixed;
	top: 0;
	width: 100%;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
	border-radius: 15px;
}

.chatbot {
	bottom: 80px;
}

@media screen and (max-width: 640px){
    .chatbot.intro:not(.chatbot--closed) {
        z-index: 100;
        bottom: 0;
        right: 0;
        height: 100%;
        left: 0;
        right: 0;
        width: 100%;
    }
}

.chatbot.chatbot--closed {
	bottom: 10px;
	box-shadow: inherit;
}

.chatbot.intro:not(.chatbot--closed) {
	background: rgb(255, 255, 255);
	background: rgb(255, 255, 255);
	background: linear-gradient(179deg, rgb(249 250 254 / 99%) 0%, rgb(177 205 235) 100%);
}
.chatbot.intro.btmg_bg_white{
	background: #fff !important;
}

.mail_container {
	background: #fff;
	border-radius: 10px;
	margin-top: 1rem;
	padding: 16px;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 10px -3px;
}

.mail_container form {
	width: 100%;
	padding: 0;
}

.mail_container form label {
	font-size: 16px;
	font-family: var(--primary-font-chat);
	font-size: 15px;
}

.mail_container form input {
	border-radius: 4px;
	margin-top: 12px;
	padding: 10px;
	width: 100%;
	border: solid 2px #dedede;
	display: block;
	color: #242424;
	font-weight: 500;
}

.mail_container form button:hover {
	background-color: #181763;
}

.mail_container form button {
	display: block;
	width: 100%;
	background-color: var(--primary-color-chat);
	border-radius: 6px;
	border: 0;
	color: #fff;
	padding: 15px 0;
	cursor: pointer;
	transition: all 200ms ease-in-out;
}

.chat_bot_gif img {
	width: 100%;
	mix-blend-mode:darken;
}

/* .chatbot__message button {
	background-color: #fff;
	font-weight: 300;
	border: 2px solid #7226e0;
	border-radius: 50px;
	padding: 8px 20px;
	margin: -8px 10px 18px 0;
	transition: background-color 0.2s ease;
}

.chatbot__message button:hover {
	background-color: #f2f2f2;
} */


.wel_message {
	color: #242424;
	font-size: 22px;
	font-weight: 500;
	font-family: var(--primary-font-chat);
	margin-top: 1rem;
}

@media screen and (min-width: 640px) {
	.chatbot {
		max-width: 420px;
		right: 30px;
		top: auto;
		/* min-height: 80vh; */
	}

	.chatbot:not(.chatbot--closed) {
		min-height: var(--message-area);
	}
}

.chatbot.chatbot--closed {
	top: auto;
	/* width: 100%; */
}

.chatbot__header {
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #ffffff;
	height: 54px;
	padding: 0 20px;
	width: 100%;
	cursor: pointer;
	transition: background-color 0.2s ease;
	border-radius: 10px 10px 0 0;
	border-bottom: 1px solid #dedede;
}

.chatbot--closed .chatbot__header {
	background-color: var(--primary-color-chat) !important;
}

.chatbot__logo {
	display: flex;
	align-items: center;
	padding: 5px;
}

.chatbot__logo .logo{
	height: 50px;
	padding: 5px;
}

.chatbot--closed .chatbot__logo {
	display: none;
}

.chatbot--closed .chatbot__close-button {
	fill: #ffffff !important;
}

.chatbot--closed {
	width: 54px;
}

.chatbot--closed .chatbot__header {
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
}

.chatbot__header:hover {
	background-color: #ffffff;
}

.chatbot__header p {
	margin-right: 20px;
}

.chatbot__close-button {
	fill: #242424;
}

.chatbot__close-button.icon-speech {
	width: 20px;
	display: none;
}

.chatbot--closed .chatbot__close-button.icon-speech {
	display: block;
}

.chatbot__close-button.icon-close {
	width: 14px;
}

.chatbot--closed .chatbot__close-button.icon-close {
	display: none;
}

.chatbot__message-window {
	height: calc(100% - (54px + 60px));
	padding: 40px 20px 20px;
	/* background-color: #fff; */
	overflow-x: none;
	overflow-y: auto;
}

@media screen and (min-width: 640px) {
	.chatbot__message-window {
		height: var(--message-area);
	}
}

.chatbot__message-window::-webkit-scrollbar {
	display: none;
}

.chatbot--closed .chatbot__message-window {
	display: none;
}

.chatbot__messages {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	width: auto;
}

.chatbot__messages li {
	margin-bottom: 20px;
}

.chatbot__messages li.is-ai {
	display: inline-flex;
	align-items: flex-start;
}

.chatbot__messages li.is-user {
	text-align: right;
	display: inline-flex;
	align-self: flex-end;
}

.chatbot__messages li .is-ai__profile-picture {
	margin-right: 8px;
}

.chatbot__messages li .is-ai__profile-picture .icon-avatar {
	width: 40px;
	height: 40px;
	padding-top: 6px;
}

.chatbot__message {
	display: inline-block;
	padding: 9px 20px;
	word-break: break-word;
	margin: 0;
	border-radius: 6px;
	letter-spacing: -0.01em;
	line-height: 1.45;
	overflow: hidden;
}

.is-ai .chatbot__message {
	background-color: #f3f3f3;
	margin-right: 30px;
	letter-spacing: 0.02rem;
	text-align: start;
	font-family: "Inter", serif;
	font-size: 13.5px;
	font-weight: 400;
	mix-blend-mode: darken;
}

.is-user .chatbot__message {
	background-color: var(--sender-meg-bg);
	color: #fff;
	margin-left: 30px;
	letter-spacing: 0.02rem;
	text-align: start;
	font-family: "Inter", serif;
	font-size: 13.5px;
	font-weight: 300;
}

.chatbot__arrow--right {
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 6px solid var(--sender-meg-bg);
	mix-blend-mode: darken;
}

.chatbot__arrow--left {
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-right: 6px solid #e2e2e2;
}

.chatbot__message a {
	color: #7226e0;
	word-break: break-all;
	display: inline-block;
}

.chatbot__message p:first-child {
	margin-top: 0;
}

.chatbot__message p:last-child {
	margin-bottom: 0;
}



.chatbot__message button:focus {
	outline: none;
}

.chatbot__message img {
	max-width: 100%;
}

.chatbot__message .card {
	background-color: #fff;
	text-decoration: none;
	overflow: hidden;
	border-radius: 6px;
	color: black;
	word-break: normal;
}

.chatbot__message .card .card-content {
	padding: 20px;
}

.chatbot__message .card .card-title {
	margin-top: 0;
}

.chatbot__message .card .card-button {
	color: #7226e0;
	text-decoration: underline;
}

.animation:last-child {
	animation: fadein 0.25s;
	animation-timing-function: all 200ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.chatbot__arrow {
	width: 0;
	height: 0;
	margin-top: 18px;
}



.chatbot__entry {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 47px;
	padding: 0 9px;
	border: 2px solid #ededed;
	background-color: #fff;
	border-radius: 60px;
	margin: 0 10px 18px 10px;
}

.chatbot__submit {
	fill: #c2c2c2;
	height: 31px;
	width: 31px;
	transition: fill 0.2s ease;
	cursor: pointer;
	background-color: #dedede;
	padding: 6px;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.chatbot__submit svg {
	height: 19px;
	width: 19px;
}

.chatbot__submit.send_btn_ready {
	fill: #ffffff;
	background: var(--primary-color-btn);
	cursor: pointer;
}

.voiceButton {
	box-sizing: content;
	background-color: var(--primary-color-btn);
	box-sizing: content-box;
	border-radius: 20px;
	padding: 3px;
	cursor: pointer;
}

.chatbot--closed .chatbot__entry{
	display: none;
}
.d-none-btmg{
	display: none;
}
.chat_entry_point--show {
	display: block;
}

.chat_entry_point--hidden {
	/* display: none; */
}


.chatbot__input {
	height: 100%;
	width: 80%;
	border: 0;
}

.chatbot__input:focus {
	outline: none;
}

.chatbot__input::-webkit-input-placeholder {
	color: #7f7f7f;
}

.chatbot__input::-moz-placeholder {
	color: #7f7f7f;
}

.chatbot__input::-ms-input-placeholder {
	color: #7f7f7f;
}

.chatbot__input::-moz-placeholder {
	color: #7f7f7f;
}

.u-text-highlight {
	color: #7ee0d2;
}

.loader {
	margin-bottom: -2px;
	text-align: center;
	opacity: 0.3;
}

.loader__dot {
	display: inline-block;
	vertical-align: middle;
	width: 6px;
	height: 6px;
	margin: 0 1px;
	background: black;
	border-radius: 50px;
	animation: loader 0.45s infinite alternate;
}

.loader__dot:nth-of-type(2) {
	animation-delay: 0.15s;
}

.loader__dot:nth-of-type(3) {
	animation-delay: 0.35s;
}

@keyframes loader {
	0% {
		transform: translateY(0);
	}

	100% {
		transform: translateY(-5px);
	}
}

@keyframes fadein {
	from {
		opacity: 0;
		margin-top: 10px;
		margin-bottom: 0;
	}

	to {
		opacity: 1;
		margin-top: 0;
		margin-bottom: 10px;
	}
}

* {
	box-sizing: border-box;
}

input {
	font-family: var(--primary-font-chat);
	font-weight: 400;
}

strong {
	font-weight: 600;
}

.intro {
	display: block;
	margin-bottom: 20px;
}

#chatbot-container {
    position: fixed;
    z-index: 99;
}