.app-container {
	height: 100vh;
	width: 100vw;
	position: relative;
}

.screen {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
}

.screen.active {
	display: flex;
}

.video-wrap {
	position: relative;
	flex: 1;
	overflow: hidden;
}

.video-wrap video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

#videoA,
#videoB {
	transition: opacity 0.5s ease;
}

#videoA {
	z-index: 1;
	opacity: 1;
}

#videoB {
	z-index: 2;
	opacity: 0;
}

.chat {
	width: 360px;
	min-width: 360px;
	display: flex;
	flex-direction: column;
}

.reply {
	flex: 1;
	padding: 16px;
	font-size: 14px;
	overflow-y: auto;
	white-space: pre-wrap;
}

.controls {
	display: flex;
	padding: 10px;
}

.controls textarea {
	flex: 1;
	resize: none;
	height: 42px;
	margin-right: 8px;
}

.config-container {
	width: 800px;
	max-width: 90%;
}

.result-box {
	padding: 10px;
	margin-top: 20px;
	border-radius: 6px;
}

.chat-msg {
	margin-bottom: 8px;
	padding: 6px 10px;
	border-radius: 8px;
	max-width: 80%;
	word-wrap: break-word;
}

.user-msg {
	background-color: var(--bg-color3);
	color: #fff;
	align-self: flex-end;
}

.bot-msg {
	background-color: var(--bg-color3);
	color: #fff;
	align-self: flex-start;
}