body,
html {
	height: 100%;
	width: 100%;
	margin: 0;

	font-family: Arial, sans-serif;
}

.frame-head {
	background: #BB133E;
	display: flex;
	justify-content: space-between;
	padding: 8px;
	align-items: center;
	color: white;
	min-height: 48px;
}


#chat-container {
	height: calc(100% - 121px);
	display: flex;
	flex-direction: column;
	background-color: #1d326a;
}

#chat-box {
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	padding: 0 10px;
}

#chat-input-wrapper {
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	min-height: 56px;
	max-height: 200px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

#chat-input {
	position: absolute;
	bottom: 0px;
	left: 0px;
	color: rgb(26, 26, 26);
	resize: none;
	border: none;
	transition: background-color 200ms ease 0s, box-shadow 200ms ease 0s;
	outline-offset: -5px;
	overflow-y: auto;
	box-sizing: border-box;
	padding: 18px 60px 18px 29px;
	width: 100%;
	height: 100%;
	font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size: 14px;
	font-weight: normal;
	line-height: 1.33;
	background-color: rgb(255, 255, 255);
	white-space: pre-wrap;
	overflow-wrap: break-word;
	max-height: 200px;
	overflow: hidden;
	cursor: text;
}

#chat-input:focus {
	outline: none;
	background-color: rgb(255, 255, 255);
	box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 100px 0px;
}

.row {
	display: flex;
}

.row.row-user-message {
	justify-content: end;
}
.row.row-ai-message {
	padding-left: 37px;
	position: relative;
}
.row-ai-message:after {
    content: "";
    background: url(../trump-bio.jpg) #ea4570;
    background-size: 25px;
    width: 25px;
    height: 25px;
    border-radius: 5px;
/*    border: 1px solid #1975a4;*/
    left: 1px;
    position: absolute;
    bottom: 16px;
}

.row:last-child {
	margin-bottom: 30px;
}

.row:first-child {
	margin-top: 8px;
}

.message {
	margin: 5px 0;
	padding: 10px;
	border-radius: 5px;
	background-color: #f1f1f1;
	font-size: 14px;
}

.user-message {
	padding: 17px 20px;
	border-radius: 10px;
	position: relative;
	display: inline-block;
	width: auto;
	max-width: 75%;
	color: rgb(255, 255, 255);
	background-color: #ea4570;
	justify-self: end;
}

.ai-message {
	padding: 17px 20px;
	border-radius: 10px;
	position: relative;
	display: inline-block;
	width: auto;
	max-width: 75%;
	color: rgb(0, 0, 0);
	text-align: left;
	white-space: pre-wrap;
	word-break: break-word;
}

.chat-logo {
	height: 36px;
	border-radius: 7px;
	display: block;
	float: left;
	margin-left: 17px;
}

.green-dot {
	width: 6px;
	height: 6px;
	background-color: rgb(126, 211, 33);
	border: 2px solid #446ce8;
	position: absolute;
	border-radius: 50%;
	z-index: 9;
	top: 27px;
	left: 44px;
}

.chat-h1 {
	font-size: 16px;
	font-weight: bold;
	margin: 0;
	display: block;

}

.chat-active {
	font-size: 14px;
	margin: 0;
	display: inline-block;
	color: rgba(255, 255, 255, 0.7);
}

.frame-head-left {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-gap: 0px 12px;
	position: relative;
}

.chat-title {
	display: flex;
	flex-direction: column;
	justify-content: center;
}


#send-btn {
	padding: 18px;
	position: absolute;
	bottom: 0;
	right: 0;
	cursor: pointer;
}
code, pre {
	white-space: pre;
	overflow-x: auto;
	background: lightblue;
}

@media screen and (max-width: 444px) {
	#chat-container {
		height: calc(100% - 121px);
		display: flex;
		flex-direction: column;
		background-color: #213875;
	}
}