/* HealthPulse Comment Guard — press-and-hold widget */

.hpcg-box {
	margin: 0 0 18px;
	max-width: 560px;
}

.hpcg-hp {
	display: none;
	position: absolute;
	left: -9999px;
}

.hpcg-hold {
	position: relative;
	width: 100%;
	padding: 14px 18px;
	border: 2px solid #0e9f8a;
	border-radius: 10px;
	background: #f2faf8;
	color: #0b5f53;
	font-size: 1rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	overflow: hidden;
	user-select: none;
	-webkit-user-select: none;
	touch-action: none;
	transition: background .2s, border-color .2s;
}

.hpcg-hold:focus-visible {
	outline: 3px solid rgba(14, 159, 138, .4);
	outline-offset: 2px;
}

.hpcg-fill {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 0;
	background: rgba(14, 159, 138, .25);
	pointer-events: none;
	transition: width .08s linear;
}

.hpcg-text {
	position: relative;
	z-index: 1;
	pointer-events: none;
}

.hpcg-holding {
	border-color: #0b7d6d;
	background: #e3f5f1;
}

.hpcg-verified {
	border-color: #0a6b42;
	background: #eefaf3;
	color: #0a6b42;
	cursor: default;
}

.hpcg-verified .hpcg-fill {
	background: rgba(10, 107, 66, .2);
}

.hpcg-noscript {
	color: #8a1f1f;
	font-size: .9rem;
}

.hpcg-submit-off {
	opacity: .55;
	cursor: not-allowed;
}

@keyframes hpcg-shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-6px); }
	75% { transform: translateX(6px); }
}

.hpcg-shake {
	animation: hpcg-shake .4s ease;
	border-color: #c0392b;
}
