.whats-captcao-widget {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999999;
	font-family: "Segoe UI", Tahoma, sans-serif;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.whats-captcao-floating {
	position: fixed;
	right: 20px;
	bottom: 20px;
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 999999;
	transition: opacity .2s ease, transform .2s ease;
}

.whats-captcao-widget[data-open="true"] .whats-captcao-floating {
	right: 20px;
	bottom: 20px;
}

.whats-captcao-widget[data-open="true"] .whats-captcao-floating__text {
	display: none;
}

.whats-captcao-floating__text {
	padding: 12px 16px;
	border-radius: 999px;
	background: #ffffff;
	color: #111827;
	font-size: 16px;
	line-height: 1.2;
	box-shadow: 0 16px 35px rgba(0, 0, 0, 0.14);
	white-space: nowrap;
}

.whats-captcao-floating__text b {
	font-weight: 700;
}

.whats-captcao-trigger {
	width: 64px;
	height: 64px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(180deg, #49d767 0%, #25d366 100%);
	box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
}

.whats-captcao-trigger__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
}

.whats-captcao-trigger__icon svg {
	display: block;
	width: 32px;
	height: 32px;
}

.whats-captcao-panel {
	width: min(448px, calc(100vw - 24px));
	margin: 0 0 96px auto;
	background: #dfdbd5;
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

.whats-captcao-panel__header {
	position: relative;
	padding: 18px 54px 16px 20px;
	background: #226b61;
	color: #fff;
}

.whats-captcao-panel__header p {
	margin: 0;
	font-size: 18px;
	line-height: 1.45;
}

.whats-captcao-close {
	position: absolute;
	right: 14px;
	top: 10px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 40px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.whats-captcao-form {
	padding: 22px 18px;
}

.whats-captcao-form input[type="email"],
.whats-captcao-form input[type="text"],
.whats-captcao-form input[type="tel"] {
	width: 100%;
	height: 38px;
	border: 1px solid #c6c6c6;
	border-radius: 4px;
	padding: 0 10px;
	background: #f8f8f8;
	color: #222;
	font-size: 16px;
	box-sizing: border-box;
}

.whats-captcao-form input:focus {
	outline: 2px solid #1b1b1b;
	outline-offset: 0;
}

.whats-captcao-form > input {
	margin-top: 0;
}

.whats-captcao-form > input + input {
	margin-top: 16px;
}

.whats-captcao-form #whats-captcao-email-field {
	margin-top: 14px;
}

.whats-captcao-phone {
	margin-top: 14px;
	display: grid;
	grid-template-columns: 88px 1fr;
}

.whats-captcao-consent,
.whats-captcao-privacy,
.whats-captcao-feedback,
.whats-captcao-submit {
	margin-top: 12px;
}

.whats-captcao-phone__prefix {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 10px;
	height: 38px;
	border: 1px solid #c6c6c6;
	border-right: 0;
	background: #f8f8f8;
	border-radius: 4px 0 0 4px;
}

.whats-captcao-phone input {
	border-radius: 0 4px 4px 0;
}

.whats-captcao-flag {
	display: inline-block;
	width: 22px;
	height: 15px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 15'%3E%3Crect width='22' height='15' fill='%23229e45'/%3E%3Cpolygon points='11,2 18,7.5 11,13 4,7.5' fill='%23f0cd42'/%3E%3Ccircle cx='11' cy='7.5' r='2.4' fill='%2322408c'/%3E%3Cpath d='M7.9 7.2c1.7-1 4.5-1 6.2 0' fill='none' stroke='%23ffffff' stroke-width='0.5' stroke-linecap='round'/%3E%3C/svg%3E");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.whats-captcao-consent {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 16px;
	color: #333;
}

.whats-captcao-consent input {
	margin: 0;
}

.whats-captcao-privacy {
	margin-bottom: 0;
	color: #444;
	font-size: 15px;
	line-height: 1.45;
}

.whats-captcao-feedback {
	min-height: 20px;
	margin-bottom: 0;
	color: #a22;
	font-size: 14px;
}

.whats-captcao-submit {
	width: 100%;
	height: 46px;
	border: 0;
	border-radius: 4px;
	background: #56a94f;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
}

.whats-captcao-submit[disabled] {
	opacity: 0.7;
	cursor: wait;
}

@media (max-width: 600px) {
	.whats-captcao-widget {
		right: 12px;
		left: 12px;
		bottom: 12px;
	}

	.whats-captcao-floating {
		right: 12px;
		bottom: 12px;
		gap: 10px;
	}

	.whats-captcao-widget[data-open="true"] .whats-captcao-floating {
		right: 12px;
		bottom: 12px;
	}

	.whats-captcao-floating__text {
		padding: 10px 14px;
		font-size: 14px;
		max-width: calc(100vw - 104px);
		white-space: normal;
	}

	.whats-captcao-panel {
		width: 100%;
		margin-bottom: 92px;
	}

	.whats-captcao-panel__header p {
		font-size: 17px;
	}

	.whats-captcao-form {
		padding: 20px 14px;
	}
}
