
body.main footer{
	margin: 0;
}


body.page-template-main {
	display: flex;
	flex-direction: column;
    min-height: 100vh;
}

body.page-template-main  header:has(.logo) {
	z-index: 5;
}

body.page-template-main .main-section {
	display: flex;
	flex-direction: column;
	min-height: auto;
}

body.main .main-section, body.page-template-main .main-section {
	flex: 1;
	display: flex;
	flex-direction: column;
	/* height: 100%; */
}
body.main .wrapper , body.page-template-main .wrapper {
	display: flex;
	height: 100%;
	flex: 1;
}

body.page-template-main .main-section .chat-container {
	display: flex;
	gap:20px;
	flex-direction: column;
	/* height: 100%; */

}
body.page-template-main .main-section .neuro-chat {
	border-radius: 11px;
    background: rgba(255, 255, 255, .9);
    /* max-height: 500px; */
	/* min-height: 500px; */
	overflow: hidden;
	/* height: 100%; */

	/* background-image: url('../images/neuro.png');
	background-position: 50% 40%;
	background-size: 100%;
	background-repeat: no-repeat; */
}

body.page-template-main .main-section .wrapper {
    display: flex;
    flex: 100%;
}

body.page-template-main .main-section .chatjs-container {
	/* height: 100%; */
    max-height: 600px;
    /* min-height: 300px; */
}
body.page-template-main .main-section  .chatjs-messages {
	margin-top: auto;
}


body.main .neuro-chat {
	border-radius: 20px;
    background: rgba(255, 255, 255, .9);
    max-height: 500px;
	/* min-height: 500px; */
	overflow: hidden;
	height: 100%;
}

body.main footer{
	margin: 0;
}
body.main .main-section {
	flex: 1;
	display: flex;
	flex-direction: column;
	/* height: 100%; */
}
body.main .wrapper{
	display: flex;
	height: 100%;
	flex: 1;
}


.neuro-chat .chatjs-send-button {
    font-family: 'Benzin';
    font-weight: 700;
    font-size: 1.2rem;
    color: #89d83f;
    border: 2px solid #89d83f;
    transition: .2s;
    background: transparent;
}
.neuro-chat .chatjs-send-button svg{
    stroke: #89d83f;
}
.neuro-chat .chatjs-main-layout {
    border: 2px solid rgba(7, 21, 41, .8);
}



.neuro-chat textarea {
    color: #6b7280;
    background-color: #ebeff0;
}
.neuro-chat textarea:focus {
    /* border: 1px solid #89d83f; */
    box-shadow: 0 0 0 2px rgba(137, 216, 63, 0.4);
}
.neuro-chat .chatjs-input-area {

    background-color: rgba(7, 21, 41, .8);
    backdrop-filter: blur(4px);
    border-radius: 15px;

}


/* .open-modal-chat-bot {
	outline: 1px solid burlywood;
	width: max-content;
	margin:  0 auto;
	padding: 16px 8px;
	border-radius: 16px;
} */

.modal-chat-bot {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	/* display: flex; */
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	min-height: 100svh;
    background-color: rgb(0 0 0 / 70%);

    overflow: hidden;
	z-index: 5;
}
.modal-chat-bot__inner {
	position: relative;
	min-width: 300px;
	min-height: 300px;

	max-width: 90%;
	max-height: 70svh;

	width: 100%;
	height: 100%;

	background: #FFF;
	border-radius: 15px;

	-webkit-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
	-moz-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
	box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
}

.modal-chat-bot__close {
	position: absolute;
	right: 0;
	top: -45px;
	padding: 8px;
	cursor: pointer;
    background: #fff;
    border-radius: 20px;
	transition: all .4s ease;
}

.modal-chat-bot__close:hover {
    background: #1d2327;
}

.modal-chat-bot__close:hover svg{
    fill: #FFF;
}

.modal-chat-bot .neuro-chat {
    height: inherit;
}


@media (width <= 375px) {
	body.page-template-main {
        height: 100% !important;
        overflow: auto !important;
	}



	body.page-template-main .main-section .chatjs-container {
		height: 100% !important;
		/* max-height: calc(100svh - 65px ); */
        min-height: 80svh;
        max-height: 80svh;
	}

	.modal-chat-bot__inner {
		max-height: 78svh;
	}

	body.page-template-main .chatjs-header {
		padding: 12px 5px;
	}
}