/**
 * Public styles
 *
 * @package WP_Anti_Spam_Shield
 * @since 1.0.0
 */

/* Honeypot field - must be completely hidden from view but accessible to bots */
.wp-anti-spam-shield-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Ensure honeypot doesn't affect form layout */
.wp-anti-spam-shield-honeypot input {
	display: block !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Form protection indicator (optional, can be disabled) */
.wp-anti-spam-shield-protected {
	display: none; /* Hidden by default */
	font-size: 11px;
	color: #666;
	margin-top: 8px;
	padding: 4px 8px;
	background: #f0f0f0;
	border-radius: 3px;
	text-align: center;
}

.wp-anti-spam-shield-protected::before {
	content: '🛡️ ';
	margin-right: 4px;
}

/* Comment form enhancement */
#commentform .wp-anti-spam-shield-honeypot {
	/* Ensure it's completely invisible */
	display: none !important;
}

/* Registration form enhancement */
#registerform .wp-anti-spam-shield-honeypot {
	/* Ensure it's completely invisible */
	display: none !important;
}
