/*-----------------------------------------------------------------------------------

	PeopleForward Core — Front end
	assets/css/frontend.css

	The few rules the plugin's output needs with any theme. The PeopleForward
	theme draws everything else.

	Table of Contents
	1. Form guard
	2. Form messages
	3. Editor previews

-----------------------------------------------------------------------------------*/

/* 1. Form guard: a field for bots, never shown to people
---------------------------------------------------------------- */

.pfwd-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* 2. Form messages
---------------------------------------------------------------- */

.form-notice {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	margin-bottom: 1.25rem;
	padding: 1rem 1.25rem;
	border-radius: 0.75rem;
	border: 1px solid currentColor;
}

.form-notice p,
.form-notice ul {
	margin: 0;
}

.form-notice ul {
	padding-left: 1.25rem;
	list-style: disc;
}

.form-notice:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.form-notice--success {
	color: #0b5b2a;
	background: #e3f4ea;
}

.form-notice--error {
	color: #8a1f1f;
	background: #fbe3e3;
}

.form-notice--info {
	color: #1d3a8a;
	background: #e9efff;
}

/* 3. Editor previews: a note where a section has nothing to show
---------------------------------------------------------------- */

.pfwd-block-empty {
	padding: 1.5rem;
	border: 1px dashed #8c8f94;
	text-align: center;
}
