@charset "windows-1252";

/* --- Animações --- */
.typewriter {
	overflow: hidden;
	border-right: .15em solid orange;
	white-space: nowrap;
	margin: 2px auto;
	letter-spacing: .1em;
	animation: typing 3.5s steps(30, end), blink-caret .75s step-end infinite;
}
@keyframes typing {
	from { width: 0; }
	to { width: 100%; }
}
@keyframes blink-caret {
	from, to { border-color: transparent; }
	50% { border-color: orange; }
}
@keyframes whats-pulse {
	0% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.6); }
	70% { box-shadow: 0 0 0 10px rgba(233, 30, 99, 0); }
	100% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0); }
}

/* --- Estrutura Geral --- */
.caixa_chat_windows {
	box-sizing: border-box;
	font-family: "Calibri", "Roboto", sans-serif;
	z-index: 101;
}
.caixa_chat_windows p {
	margin: 0 3px;
	font-size: 13px;
	font-family: Verdana, sans-serif;
	color: #000;	
}
.caixa_chat_windows a:hover {
	text-decoration: none;
	cursor: pointer;
}
.chat_window {
	display: none;
	position: fixed;
	width: calc(100% - 20px);
	max-width: 400px;
	height: 410px;
	border-radius: 10px;
	background-color: #f8f8f8;
	right: 20px;
	bottom: 20px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	z-index: 500000;
}

/* --- Top Menu --- */
.whats_top_menu {
	background-color: #056056;
	width: 100%;
	padding: 20px 0 15px;
	box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
	position: relative;
	min-height: 25px;
	display: flex;
	align-items: center;
}
.whats_top_menu .buttons {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}
.whats_top_menu .buttons .avatar {
	width: 36px;
	height: 48px;
	border-radius: 50%;
	background: url('../imagens/whatsapp-icone.png') no-repeat center;
	background-size: cover;
}
.whats_top_menu .title {
	color: #ffffff;
	font-size: 18px;
	padding-left: 65px;
	font-weight: bold;
	line-height: 1.2;
}
.whats_close {
	position: absolute;
	right: 16px;
	top: 16px;
	color: #ffffff;
	font-size: 26px;
	cursor: pointer;
	font-family: Arial, sans-serif;
	text-decoration: none;
}

/* --- Área de Mensagens --- */
.whats_messages {
	list-style: none;
	padding: 10px 10px 0 10px;
	margin: 0;
	height: 255px;
	overflow-y: auto;
	background: url('../imagens/whatsapp_modulo_bg.jpg');
}
.whats_messages .message {
	transition: all 0.5s linear;
	opacity: 0;
	width: 100%;
	line-height: normal;
	margin: 10px 0;
	display: block;
}
.whats_messages .text_wrapper {
	display: inline-block;
	padding: 8px 12px;
	border-radius: 0 15px 15px 15px;
	background: #ffffff;
	box-shadow: 1px 1px 2px #cccccc;
	position: relative;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}
.whats_messages .message.appeared {
	opacity: 1;
}
.whats_messages .text {
	font-size: 13px;
	font-family: Verdana, sans-serif;
	color: #000;
}
.whats_messages .text_wrapper .time {
	display: block;
	text-align: right;
	color: #929292 !important;
	margin-top: 2px !important;
	font-size: 11px !important;
	line-height: 1;
}

#message_1, #message_2 { display: none; }

/* --- Formulário e Input --- */
.whats_bottom_wrapper {
	position: absolute;
	bottom: 0;
	width: 100%;
	background-color: #F5F1EE;
	padding: 15px;
	box-sizing: border-box;
}
.whats_bottom_wrapper form {
	display: flex;
	align-items: flex-end;
	gap: 10px;
}
.whats_fields {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.message_input_wrapper {
	background: #ffffff;
	border: 1px solid #bcbdc0;
	border-radius: 25px;
	padding: 0;
	box-shadow: 1px 1px 2px #cccccc;
}
.message_input {
	width: 100%;
	height: 40px;
	padding: 0 15px;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 14px;
	border-radius: 25px;
}
#whats_assunto {
	width: 95%;
	height: 40px;
	border-radius: 25px;
	border: 0 solid #bcbdc0;
	padding: 0 10px;
	color: #717171;
	background: white;
}
.send_message {
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 0;
}
.send_message img {
	width: 45px;
	height: 45px;
}

/* --- Botão Flutuante --- */
.float-whatsapp {
	position: fixed;
	width: 60px;
	height: 60px;
	bottom: 70px;
	right: 13px;
	background-color: #25d366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 400000;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.whats-pulse {
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #ffffff;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: red;
	animation: whats-pulse 2s infinite;
	z-index: 9999;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 0;
	right: 45px;
	margin-top: 2px;
}

/* --- Responsivo --- */
@media only screen and (max-width: 600px) {
	.chat_window {
		right: 10px;
		bottom: 10px;
		width: calc(100% - 20px);
	}
}