/* Estilos generales */
#custom-chat {
	position: fixed;
	top: 50%;
	right: 1rem;
	transform: translateY(-50%);
	min-width: 5rem;
	z-index: 9999;
}
#custom-chat .d-none {
	display: none !important;
}
/* Estilos del chat */
#custom-chat .chat-form {
	width: 25rem;
	margin: 0 auto;
	background-color: #F6F6F6;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #CCCCCC;
	position: fixed;
	right: 8rem;
	opacity: 0;
	transition: opacity 0.2s ease-in-out;
}

#custom-chat .form-visible {
	opacity: 1;
}
#custom-chat .conversation {
	padding: 20px;
}
#custom-chat .sender-info {
	display: flex;
	align-items: center;
	padding: 20px;
}

#custom-chat .close-btn {
	color: #FFFFFF;
	border: none;
	border-radius: 4px;
	padding: 5px 10px;
	font-size: 12px;
	cursor: pointer;
	position: absolute;
	right: 2rem;
	max-width: 3rem;
}

#custom-chat .avatar {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 20px;
}
#custom-chat .avatar img {
	width: 100%;
	height: 100%;
	background-color: #fff;
}
#custom-chat .sender-info h3 {
	margin: 0;
	padding: 0;
	font-size: 1.2rem;
	color: #fff;
}

#custom-chat .message {
	margin-bottom: 10px;
}
#custom-chat .sent {
	background-color: #DCF8C6;
	padding: 10px;
	border-radius: 8px;
	align-self: flex-end;
}
#custom-chat .received {
	background-color: #FFFFFF;
	padding: 10px;
	border-radius: 8px;
	align-self: flex-start;
}
#custom-chat .time {
	font-size: 12px;
	color: #999999;
}
#custom-chat .disclaimer {
	margin: 0;
	font-size: 10px;
	color: #999999;
	line-height: 1em !important;
}
#custom-chat .submit-btn {
	width: 100%;
	display: block;
	border: none;
	border-radius: 2rem;
	height: 2rem;
	text-align: center;
	line-height: 1.7em;
	font-size: 0.9rem;
	color: #fff;
	font-weight: bold;
	margin-bottom: 1rem;
	display: inline-flex;
	align-items: center; 
	justify-content: center;
}
#custom-chat .submit-btn:hover {
	cursor: pointer;
}

#custom-chat .input {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	border-bottom: 1px solid #f7f7f7;
}
#custom-chat .chat-form input {
	width: 100%;
	display: block;
	border: none;
	border-radius: 2rem;
	height: 2rem;
}
#custom-chat .input img {
	max-height: 1rem;
	opacity: 0.4;
	margin-right: 1rem;
	margin-left: 2rem;
}
#custom-chat .chat-alert {
	text-align: center;
	font-size: .6rem;
	background-color: #ff7f7f91;
	padding: .5rem;
	margin: .5rem;
	border-radius: 8px;
}
#custom-chat .chat-footer {
	text-align: center;
	font-size: .6rem;
	color: #999999;
}
	#custom-chat .chat-footer * {
		font-weight: bold;
		color: #999999;
	}

/* Estilos Iconos */
#custom-chat .chat-icons {
	display: flex;
	align-items: end;
	justify-content: center;
	flex-direction: column;
	flex-wrap: wrap;
}
#custom-chat .chat-icons .icon {
	width: 4rem;
	padding: .5rem;
	margin: 1rem;
	color: #fff;
	border-radius: 1rem;
}
#custom-chat .chat-icons .highlightable.highlight {
	box-shadow: 0 0 20px rgba(255, 251, 0, 0.5);
}
#custom-chat .chat-icons .icon:hover {
	cursor: pointer;
}

/* Estilos de chat responsive */
@media (max-width: 900px) {
	#custom-chat {
		width: auto;
		right: 0;
	}
	#custom-chat .chat-form {
		right: 0;
		width: 95%;
		left: 50%;
		transform: translate(-50%, 0);
	}
}
