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

#fwf-widget.fwf-position-right { right: 24px; }
#fwf-widget.fwf-position-left  { left: 24px; }

#fwf-toggle-btn {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--fwf-color, #25D366);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0,0,0,.25);
	transition: transform .15s ease;
	padding: 0;
	line-height: 0;
}
#fwf-toggle-btn:hover { transform: scale(1.06); }

/* Protege o ícone contra resets globais de SVG do tema (ex: "svg { width: 1em }"). */
#fwf-toggle-btn svg {
	width: 28px !important;
	height: 28px !important;
	max-width: none !important;
	max-height: none !important;
	display: block !important;
	flex-shrink: 0;
}
#fwf-toggle-btn svg path {
	fill: #ffffff !important;
}

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

#fwf-modal {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.45);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000000;
	padding: 16px;
}

.fwf-modal-content {
	background: #fff;
	border-radius: 14px;
	width: 100%;
	max-width: 380px;
	padding: 28px 24px 20px;
	position: relative;
	box-shadow: 0 12px 40px rgba(0,0,0,.25);
	animation: fwf-pop .18s ease;
}

@keyframes fwf-pop {
	from { transform: scale(.94); opacity: 0; }
	to   { transform: scale(1); opacity: 1; }
}

#fwf-close-btn {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #888;
}
#fwf-close-btn:hover { color: #333; }

.fwf-modal-content h3 {
	margin: 0 0 4px;
	font-size: 18px;
	color: #1a1a1a;
}

.fwf-subtitle {
	margin: 0 0 18px;
	font-size: 13px;
	color: #666;
}

#fwf-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	margin: 12px 0 4px;
}

#fwf-form input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
}

#fwf-form input:focus {
	outline: none;
	border-color: var(--fwf-color, #25D366);
}

.fwf-error {
	display: block;
	color: #d93025;
	font-size: 12px;
	margin-top: 8px;
	min-height: 14px;
}

#fwf-submit-btn {
	margin-top: 16px;
	width: 100%;
	background: var(--fwf-color, #25D366);
	color: #fff;
	border: none;
	padding: 12px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
#fwf-submit-btn:hover { filter: brightness(0.95); }

.fwf-privacy {
	margin: 14px 0 0;
	font-size: 11px;
	color: #999;
	text-align: center;
}

@media (max-width: 480px) {
	#fwf-widget.fwf-position-right,
	#fwf-widget.fwf-position-left {
		right: 16px;
		left: auto;
		bottom: 16px;
	}
}
