#whatpass-widget {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

#whatpass-toggle {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #25d366;
	border: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease;
}

#whatpass-toggle:hover {
	transform: scale(1.06);
}

#whatpass-toggle img {
	width: 32px;
	height: 32px;
}

#whatpass-modal {
	position: absolute;
	bottom: 76px;
	right: 0;
	width: 300px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	transform-origin: bottom right;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

#whatpass-modal.whatpass-hidden {
	opacity: 0;
	transform: scale(0.9);
	pointer-events: none;
}

.whatpass-modal-header {
	background: #075e54;
	color: #fff;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 600;
}

.whatpass-modal-header button {
	background: none;
	border: none;
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
}

#whatpass-form {
	padding: 16px;
	display: flex;
	flex-direction: column;
}

#whatpass-form label {
	font-size: 13px;
	color: #333;
	margin-bottom: 4px;
	margin-top: 10px;
}

#whatpass-form input {
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
}

#whatpass-form input:focus {
	outline: none;
	border-color: #25d366;
}

.whatpass-phone-wrap {
	display: flex;
	align-items: stretch;
}

.whatpass-phone-ddi {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	background: #f0f0f0;
	border: 1px solid #ccc;
	border-right: none;
	border-radius: 6px 0 0 6px;
	font-size: 14px;
	color: #555;
	font-weight: 600;
	white-space: nowrap;
}

.whatpass-phone-wrap input {
	border-radius: 0 6px 6px 0;
	flex: 1;
	min-width: 0;
}

/* Honeypot: fora da tela e sem interação, mas presente no DOM (bots simples
   costumam preencher qualquer input do formulário, mesmo invisível pra humanos). */
.whatpass-honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none;
}

#whatpass-submit {
	margin-top: 16px;
	background: #25d366;
	color: #fff;
	border: none;
	padding: 10px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

#whatpass-submit:hover {
	background: #1ebd59;
}

#whatpass-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

#whatpass-msg {
	margin-top: 10px;
	font-size: 13px;
	text-align: center;
}

#whatpass-msg.whatpass-error {
	color: #c0392b;
}

#whatpass-msg.whatpass-success {
	color: #1e8e3e;
}

.whatpass-hidden {
	display: none !important;
}

@media (max-width: 480px) {
	#whatpass-modal {
		width: calc(100vw - 32px);
		right: -8px;
	}
}
