/**
 * PMW Anti-Spam for CF7 — Front-end styles
 */

/* ============================================================
   Turnstile wrapper
   ============================================================ */
.pmw-turnstile-wrap {
	margin: 14px 0;
}

/* ============================================================
   Honeypot — visually hidden, inaccessible to real users
   ============================================================ */
.pmw-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* ============================================================
   Confirmation popup — overlay
   ============================================================ */
#pmw-cf7-popup {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 99999;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

#pmw-cf7-popup.pmw-open {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

/* Popup box */
.pmw-popup-box {
	background: #fff;
	border-radius: 8px;
	padding: 32px 28px 24px;
	max-width: 480px;
	width: 90%;
	-webkit-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	text-align: center;
}

/* Message */
#pmw-cf7-popup-message {
	font-size: 1.05rem;
	line-height: 1.5;
	margin: 0 0 20px;
	color: #222;
}

#pmw-cf7-popup-message.pmw-success {
	color: #1a7a3c;
}

#pmw-cf7-popup-message.pmw-error {
	color: #c0392b;
}

/* Close button */
#pmw-cf7-close {
	background: #222;
	color: #fff;
	border: none;
	border-radius: 5px;
	padding: 10px 28px;
	font-size: 0.95rem;
	cursor: pointer;
	-webkit-transition: background 0.2s;
	        transition: background 0.2s;
}

#pmw-cf7-close:hover,
#pmw-cf7-close:focus {
	background: #444;
	outline: 2px solid #666;
	outline-offset: 2px;
}
