@charset "UTF-8";
/*!
 * @year 2021
 * @copyright Paulo Melo
 */

/***************************************************
 * Define o widget
 * Define posição e sobreposição aos demais elementos
 * da tela/site.
 */
#uiWhatsappWidget {
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 1020304050;
	max-width: 320px;
	margin: 30px;
	white-space: normal;
	word-break: normal;
	font: normal normal normal 12px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif,
		'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

#uiWhatsappWidget ::-webkit-input-placeholder {
	color: rgba(0, 0, 0, 0.3);
}

#uiWhatsappWidget ::-moz-placeholder {
	color: rgba(0, 0, 0, 0.3);
}

#uiWhatsappWidget :-ms-input-placeholder {
	color: rgba(0, 0, 0, 0.3);
}

#uiWhatsappWidget :-moz-placeholder {
	color: rgba(0, 0, 0, 0.3);
}

/***************************************************
 * Reset dos elemtentos internos do widget
 */
.ui-whatsapp-widget * {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	outline: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#uiWhatsappWidget img {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-drag: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

#uiWhatsappWidget input,
#uiWhatsappWidget button {
	white-space: nowrap;
	-webkit-transition: all 0.2s cubic-bezier(0.16, 0.56, 0.17, 0.999);
	-o-transition: all 0.2s cubic-bezier(0.16, 0.56, 0.17, 0.999);
	transition: all 0.2s cubic-bezier(0.16, 0.56, 0.17, 0.999);
}

/***************************************************
 * Botão flutuante
 * Aparece por padrão e ao ser clicado esconde-se
 * o mesmo e mostra-se o card para inserir os dados. 
 */
#uiWhatsappWidget .ui-whatsapp-widget-float-button {
	width: 230px;
	padding: 0;
	cursor: pointer;
	background: transparent;
	border-radius: 50px;
	animation: fadeInRight 500ms 0s normal both;
	animation-timing-function: cubic-bezier(0.16, 0.56, 0.17, 0.999);
	-webkit-transition: all 0.4s cubic-bezier(0.16, 0.56, 0.17, 0.999);
	-o-transition: all 0.4s cubic-bezier(0.16, 0.56, 0.17, 0.999);
	transition: all 0.4s cubic-bezier(0.16, 0.56, 0.17, 0.999);
}

#uiWhatsappWidget .ui-whatsapp-widget-float-button:hover {
	margin-bottom: 4px;
}

/***************************************************
 * CARD / CHAT
 * Aparece após clicar no botão flutuante 
 */

#uiWhatsappWidget .ui-whatsapp-widget-card {
	display: none;
	border-radius: 12px;
	overflow: hidden;
	background-color: #e6f7ff;
	background-size: 320px;
	-webkit-box-shadow: 0 8px 17px 2px rgb(0 0 0 / 5%), 0 3px 14px 2px rgb(0 0 0 / 5%), 0 5px 5px -3px rgb(0 0 0 / 8%);
	box-shadow: 0 8px 17px 2px rgb(0 0 0 / 5%), 0 3px 14px 2px rgb(0 0 0 / 5%), 0 5px 5px -3px rgb(0 0 0 / 8%);
}

#uiWhatsappWidget .ui-whatsapp-widget-loader {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 20;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-flow: column nowrap;
	display: none;
}

#uiWhatsappWidget .ui-whatsapp-widget-header {
	border-top: 20px solid #004b40;
	background-color: #005e53;
	color: #dcfaff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 5px;
}

#uiWhatsappWidget .ui-whatsapp-widget-header-title {
	display: flex;
	align-items: center;
}

#uiWhatsappWidget .ui-whatsapp-widget-header-title-go-back {
	background: transparent;
	width: 30px;
	height: 30px;
	line-height: 30px;
	border-radius: 30px;
	text-align: center;
	cursor: pointer;
}

#uiWhatsappWidget .ui-whatsapp-widget-header-title-go-back:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

#uiWhatsappWidget .ui-whatsapp-widget-header-title-go-back img {
	max-width: 16px;
	max-height: 16px;
}

#uiWhatsappWidget .ui-whatsapp-widget-header-title-user {
	display: flex;
	align-items: center;
	color: white;
}

#uiWhatsappWidget .ui-whatsapp-widget-header-title-user-avatar {
	width: 30px;
	height: 30px;
	overflow: hidden;
	border-radius: 50%;
	margin-right: 6px;
	margin-left: 6px;
}

#uiWhatsappWidget .ui-whatsapp-widget-header-title-user-name {
	font-size: 12px;
	font-weight: 500;
	margin-bottom: 2px;
}

#uiWhatsappWidget .ui-whatsapp-widget-header-title-user-status {
	font-size: 10px;
}

#uiWhatsappWidget .ui-whatsapp-widget-header-actions {
	display: flex;
}

#uiWhatsappWidget .ui-whatsapp-widget-header-actions-button {
	flex-shrink: 1;
	flex-grow: 1;
	background: transparent;
	width: 30px;
	height: 30px;
	line-height: 30px;
	border-radius: 30px;
	text-align: center;
	color: inherit;
	cursor: default;
	pointer-events: none;
}

#uiWhatsappWidget .ui-whatsapp-widget-header-actions-button img {
	max-width: 16px;
	max-height: 16px;
}

#uiWhatsappWidget .ui-whatsapp-widget-body {
	padding: 20px 20px 0 20px;
	background-color: #e6f7ff;
	opacity: 1;
}

#uiWhatsappWidget .ui-whatsapp-widget-messages {}

#uiWhatsappWidget .ui-whatsapp-widget-messages-message+.ui-whatsapp-widget-messages-message {
	margin-top: 10px;
}

#uiWhatsappWidget .ui-whatsapp-widget-messages-message.-right {
	position: relative;
	display: flex;
	justify-content: flex-end;
}

#uiWhatsappWidget .ui-whatsapp-widget-messages-message-msg {
	position: relative;
	border-radius: 0 5px 5px 5px;
	background-color: white;
	box-shadow: 0 1px 0 0 #d5e2e8;
	max-width: 75%;
	padding: 10px 15px;
	color: #494949;
	line-height: 1.4;
}

#uiWhatsappWidget .ui-whatsapp-widget-messages-message-msg::before {
	right: 100%;
	top: 0;
	border: solid transparent;
	content: '';
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 6px 6px 0;
	border-color: transparent white transparent transparent;
}

#uiWhatsappWidget .ui-whatsapp-widget-messages-input {
	padding: 0 16px;
	line-height: 40px;
	height: 40px;
	border: 0 none;
	border-radius: 7px;
	background: transparent;
	box-shadow: inset 0 0 0 1px #0f4341;
	width: 75%;
}

#uiWhatsappWidget .ui-whatsapp-widget-messages-input:hover {
	background-color: rgba(255, 255, 255, 0.3);
}

#uiWhatsappWidget .ui-whatsapp-widget-messages-input:focus {
	box-shadow: inset 0 0 0 1px #128c7e;
	background-color: rgba(255, 255, 255, 0.3);
}

#uiWhatsappWidget .ui-whatsapp-widget-messages-message-icon {
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 5px 10px;
}

#uiWhatsappWidget .ui-whatsapp-widget-messages-message-icon img {
	max-width: 15px;
}

#uiWhatsappWidget .ui-whatsapp-widget-footer {
	color: #014a3e;
	display: flex;
	justify-content: flex-end;
	padding: 20px 20px 10px 20px;
}

#uiWhatsappWidget .ui-whatsapp-widget-footer-button {
	color: inherit;
	font-size: 13px;
	text-transform: uppercase;
	font-weight: bold;
	background: transparent;
	padding: 0 20px;
	line-height: 30px;
	border-radius: 5px;
	cursor: pointer;
}

#uiWhatsappWidget .ui-whatsapp-widget-footer-button .icon {
	margin-left: 5px;
}

#uiWhatsappWidget .ui-whatsapp-widget-footer-button .icon img {
	max-width: 16px;
	max-height: 16px;
}

#uiWhatsappWidget .ui-whatsapp-widget-footer-button:hover {
	background-color: rgba(255, 255, 255, 0.666);
	box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
}

/***************************************************
 * Animações
 */

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translate3d(-100%, 0, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translate3d(100%, 0, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes fadeOutRight {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
		transform: translate3d(100%, 0, 0);
	}
}

#uiWhatsappWidget .ui-whatsapp-widget-card {
	animation: fadeInRight 500ms 0s normal both;
	animation-timing-function: cubic-bezier(0.16, 0.56, 0.17, 0.999);
}

#uiWhatsappWidget .ui-whatsapp-widget-messages-message {
	animation: fadeInLeft 500ms 0s normal both;
	animation-timing-function: cubic-bezier(0.16, 0.56, 0.17, 0.999);
}

#uiWhatsappWidget .ui-whatsapp-widget-messages-message.-right {
	animation: fadeInRight 0.5s 0s normal both;
}

#uiWhatsappWidget .ui-whatsapp-widget-messages-message:nth-child(1) {
	animation-delay: 300ms;
}

#uiWhatsappWidget .ui-whatsapp-widget-messages-message:nth-child(2) {
	animation-delay: 1000ms;
}

#uiWhatsappWidget .ui-whatsapp-widget-messages-message:nth-child(3) {
	animation-delay: 1700ms;
}

#uiWhatsappWidget .ui-whatsapp-widget-messages-message:nth-child(4) {
	animation-delay: 2100ms;
}

#uiWhatsappWidget .ui-whatsapp-widget-footer-button {
	animation: fadeIn 600ms 0s normal both;
	animation-timing-function: cubic-bezier(0.16, 0.56, 0.17, 0.999);
	animation-delay: 3000ms;
}

#uiWhatsappWidget.is-animation-out {}

#uiWhatsappWidget.is-loading .ui-whatsapp-widget-loader {
	animation: fadeIn 500ms 0s normal both;
	animation-timing-function: cubic-bezier(0.16, 0.56, 0.17, 0.999);
}

#uiWhatsappWidget.is-animation-out .ui-whatsapp-widget-card {
	animation: fadeOutRight 500ms 0s normal both;
	animation-timing-function: cubic-bezier(0.16, 0.56, 0.17, 0.999);
}

#uiWhatsappWidget.is-visible .ui-whatsapp-widget-float-button {
	display: none;
}

#uiWhatsappWidget.is-visible .ui-whatsapp-widget-card {
	display: block;
	visibility: visible;
}

#uiWhatsappWidget.is-loading .ui-whatsapp-widget-loader {
	display: flex;
}

#uiWhatsappWidget.is-success .ui-whatsapp-widget-loader {
	background-color: transparent;
}

#uiWhatsappWidget.is-success .ui-whatsapp-widget-loader svg {
	display: none;
}