﻿.AssistenteVirtualeContainer
{
	background-color: #fff;
	border: 1px solid;
	border-color: #1172d3;
	position: absolute;
	/*top: 30px;
	left: 300px;*/
	opacity: 0;
	display: none;
	border-radius: 5px;
	width: 400px;
	z-index: 10;
}

.AssistenteVirtualePanelShown
{
	display: block;
	opacity: 1;
	animation-name: fadeIn;
	animation-duration: .3s;
}

.AssistenteVirtualePanelHidden
{
	display: none;
	animation-name: fadeOut;
	animation-duration: .3s;
}

.AssistenteVirtualeContainer:before
{
	content: '';
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	color: transparent;
	border: 10px solid black;
	border-color: #1172d3;
	border-top-color: transparent !important;
	border-left-color: transparent !important;
	border-right-color: transparent !important;
	margin-top: -20px;
	margin-left: 52px;
}

.AssistenteVirtualeContainer:before
{
	margin-left: 255px;
}

.AssistenteVirtualeTitle
{
	font-family: system, sans-serif;
	font-weight: bold;
	font-size: 16px;
	background-color: #1172d3;
	z-index: 1000;
	width: inherit;
	color: #fff;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

	.AssistenteVirtualeTitle p
	{
		flex: 0 1 auto;
		width: 100%;
		text-align: center;
		margin: 0;
		padding: 10px;
	}

.clsAssistenteVirtualeBody
{
	min-height: 400px;
	max-height: 400px;
	overflow: auto;
	padding: 20px;
	display: flex;
	flex-direction: column;
}

.chat-bubble, .user-bubble, .ErrMessage, .DbgMessage
{
	position: relative;
	background-color: #DCF8C6;
	border-radius: 10px;
	padding: 10px;
	max-width: 300px;
	font-family: system, sans-serif;
	font-size: 14px;
	color: #333;
	height: fit-content;
	align-self: flex-start;
	margin-bottom: 10px;
	word-break: break-word;
}

.chat-bubble ul, .user-bubble ul, .ErrMessage ul
{
	list-style-type: unset;
}

.chat-bubble td, .user-bubble td, .ErrMessage td
{
	border: 1px solid #000000;
}

.chat-bubble::after, .ErrMessage::after, .DbgMessage::after
{
	content: '';
	position: absolute;
	top: 15px;
	left: -10px;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-right-color: #DCF8C6;
	border-left: 0;
	border-top: 0;
	margin-top: -5px;
}

.ErrMessage
{
	background-color: #e9967a;
}

.ErrMessage::after
{
	border-right-color: #e9967a;
}

.DbgMessage
{
	background-color: #CCCCCC;
	margin-top: 10px;
}

.DbgMessage::after
{
	border-right-color: #CCCCCC;
}

.user-bubble
{
	background-color: #ADD8E6;
	align-self: flex-end;
}

.user-bubble::before
{
	content: '';
	position: absolute;
	top: 15px;
	right: -10px;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	background-color #ADD8E6;
	border-left-color: #ADD8E6;
	border-right: 0;
	border-top: 0;
	margin-top: -5px;
}

.footer
{
	display: flex;
	align-items: center;
	padding: 10px;
	border-top: 1px solid #ccc;
}

.footer textarea
{
	flex: 1;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-family: system, sans-serif;
	font-size: 14px;
}

.footer button
{
	background: none;
	border: none;
	cursor: pointer;
	margin-left: 10px;
}

.footer button .material-icons
{
	font-size: 24px;
	color: #007bff;
}

.typing-indicator, .typing-indicator-Assistente
{
	display: none;
	font-size: 14px;
	color: #999;
	margin-bottom: 10px;
	height: 34px;
}

.typing-indicator
{
	align-self: flex-end;
}

.typing-indicator-Assistente
{
	align-self: flex-start;
}

.material-button
{
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 10px 20px;
	margin: 5px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s ease;
}

.material-button:hover
{
	background-color: #3700b3;
}

.copy-button
{
	background-color: transparent;
	border: 1px solid #555;
	color: #555;
	border-radius: 8px;
	padding: 3px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	transition: color 0.3s, border-color 0.3s;
}

.copy-button-left
{
	align-self: flex-end;
}

.copy-button i
{
	font-size: 19px;
	transition: color 0.3s, transform 0.3s;
}

.copy-button:focus
{
	outline: none;
}

.copy-button.success
{
	/*background-color: #32cd32;*/
	color: #32cd32;
	border-color: #32cd32;
}

.copy-button.success i
{
	transform: scale(1.2);
}

.btnDelCronologia
{
	display: flex;
	align-items: center;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
}

.fade-out
{
	opacity: 0;
	transition: opacity 0.4s ease;
}
