/* Estilos do modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  position: relative;
  background-color: rgba(0,0,0,0);
  margin: auto;
  max-width: 80%; /* Define a largura máxima do modal */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Define a altura do modal como 100% da altura da janela de visualização */
}

.close {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
}

/* Estilos para limitar o tamanho da imagem */
.modal-content img {
  max-width: 100%; /* Ajusta a largura máxima para 100% do contêiner */
  height: 100%;    /* Mantém a proporção original da imagem */
  display: block;  /* Remove margens brancas indesejadas em alguns navegadores */
  margin: 0 auto;  /* Centraliza a imagem horizontalmente */
}


#painel-estado .modal-content button {
  margin: 10px;
  padding: 10px 20px;
  background-color: #e63946;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
}

#painel-estado .modal-content button:hover {
  background-color: #c62828;
}




.whatswidget-widget-wrapper {
	font-family: "Helvetica Neue", "Apple Color Emoji", Helvetica, Arial, sans-serif !important;
	font-size: 16px !important;
	position: fixed !important;
	bottom: 5px !important;
	right: 30px !important;
	z-index: 1001 !important;
	width: 250px !important;
}

.whatswidget-conversation {
	background-color: #e4dcd4 !important;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px !important;
	width: 100% !important;
	border-radius: 10px !important;
	transition-duration: 0.5s !important;
	margin-bottom: 80px !important;
	flex-direction: column !important;
	height: 560px !important;
	overflow: hidden !important;

	pointer-events: none; /* padrão: não clicável */
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

#whatswidget-conversation.active {
	pointer-events: auto;
	display: flex;
	flex-direction: column;
	opacity: 1;
}

.whatswidget-conversation-header {
	background-color: #e64138 !important;
	padding: 10px 25px !important;
	box-shadow: 0px 1px #00000029 !important;
	font-weight: 600 !important;
	border-top-left-radius: 10px !important;
	border-top-right-radius: 10px !important;
	color: white !important;
}

.whatswidget-conversation-message {
	flex: 1 1 auto !important;
	overflow-y: auto !important;
	background-color: white !important;
	padding: 10px !important;
	margin: 0 10px 10px 10px !important;
	border-radius: 5px !important;
}

/* ENTRADA DE CONTATO */
.whatswidget-conversation-message span {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 10px 0 !important;
	border-bottom: 1px solid #ddd !important;
	padding-bottom: 6px !important;
}

.whatswidget-conversation-message span[mbr-icon] {
	font-size: 20px !important;
	color: #00bea3 !important;
	margin: 0 !important;
}

.whatswidget-conversation-message a {
	color: #00bea3 !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	flex: 1 !important;
}

.whatswidget-conversation-message a:hover {
	text-decoration: underline !important;
}

.whatswidget-conversation-message a::before {
	display: none !important;
}

/* Remove imagem quebrada do rodapé */
.whatswidget-link {
	display: none !important;
}

.whatswidget-conversation-message-outer {
	background-color: #FFF !important;
	padding: 10px !important;
	margin: 10px 10px 70px 10px !important;
	border-radius: 5px !important;
	box-shadow: rgba(0, 0, 0, 0.342) 0px 2.5px 10px !important;
	cursor: pointer !important;
	animation: nudge 2s linear infinite !important;
}

.whatswidget-text-header-outer {
	font-weight: bold !important;
	font-size: 90% !important;
}

.whatswidget-text-message-outer {
	font-size: 90% !important;
}

.whatswidget-button-wrapper {
	position: fixed !important;
	bottom: 15px !important;
	right: 15px !important;
}

.whatswidget-button {
	position: relative !important;
	background-color: #31d831 !important;
	border-radius: 100% !important;
	width: 52px !important;
	height: 52px !important;
	box-shadow: 2px 1px #0d630d63 !important;
	transition: 1s !important;
}

.whatswidget-icon {
	width: 34px !important;
	height: 34px !important;
	position: absolute !important;
	bottom: 10px !important;
	left: 10px !important;
}

.whatswidget-button:hover {
	filter: brightness(115%) !important;
	transform: rotate(15deg) scale(1.15) !important;
	cursor: pointer !important;
}

@keyframes nudge {
	0% {
		transform: translate(0, 5px) rotate(2deg);
	}

	10% {
		transform: translate(0, -5px) rotate(-2deg);
	}

	20%, 100% {
		transform: translate(0, 0);
	}
}
