/* Wild Pita Fundraisers — frontend capacity block */

/* Greyed-out, un-clickable Next button when the date/location is at capacity. */
.wpforms-form .wpforms-page-next.wildpita-next-disabled,
.wpforms-form .wpforms-page-next[disabled].wildpita-next-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
	filter: grayscale(60%);
}

/* Capacity message shown beneath the Fundraiser Date field.
 * Selectors are scoped to the WPForms container and use !important so they beat
 * WPForms' own reset (div.wpforms-container-full * { background:none; border:0 })
 * which otherwise strips the box and collapses the spacing. */
.wpforms-container .wildpita-capacity-msg,
.wpforms-form .wildpita-capacity-msg {
	display: block;
	margin-top: 18px !important;
	padding: 10px 12px !important;
	border: 1px solid #d63638 !important;
	border-left-width: 4px !important;
	border-radius: 4px !important;
	background: #fcf0f1 !important;
	color: #8a1f1f !important;
	font-size: 14px;
	line-height: 1.4;
}

.wpforms-container .wildpita-capacity-msg[hidden],
.wpforms-form .wildpita-capacity-msg[hidden] {
	display: none;
}
