.pbt-fantasy-form {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 1.25rem 1.5rem;
	background: #fafafa;
}

.pbt-fantasy-form__heading {
	margin: 0 0 0.75rem;
}

.pbt-fantasy-form__empty {
	color: #666;
	margin: 0;
}

.pbt-fantasy-form__notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	border-left: 4px solid #ccc;
	background: #fff;
}

.pbt-fantasy-form__notice--success {
	border-left-color: #26804e;
	color: #14532d;
}

.pbt-fantasy-form__notice--error {
	border-left-color: #d63638;
	color: #8a1f21;
}

.pbt-fantasy-form__section {
	margin: 1.75rem 0 0.5rem;
	padding-top: 1rem;
	border-top: 1px solid #e2e2e2;
}

.pbt-fantasy-form__intro {
	margin: 0 0 1rem;
	color: #444;
}

.pbt-fantasy-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin: 0 0 1rem;
}

.pbt-fantasy-form__field label {
	font-weight: 600;
}

.pbt-fantasy-form__field input[type='text'],
.pbt-fantasy-form__field input[type='email'],
.pbt-fantasy-form__select {
	padding: 0.5rem;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	font: inherit;
	max-width: 32rem;
}

.pbt-fantasy-form__select--error {
	border-color: #d63638;
	box-shadow: 0 0 0 1px #d63638;
}

.pbt-fantasy-form__hint {
	color: #666;
	font-size: 0.85rem;
}

.pbt-fantasy-form__error {
	margin: 0 0 1rem;
	color: #8a1f21;
	font-weight: 600;
}

/* The honeypot: hidden from people without display:none, which some bots
   specifically skip. Kept out of the tab order and the accessibility tree by
   the tabindex/aria-hidden on the markup itself. */
.pbt-fantasy-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pbt-fantasy-form__submit {
	margin: 1.5rem 0 0;
}

.pbt-fantasy-form__button {
	padding: 0.6rem 1.4rem;
	border: 0;
	border-radius: 4px;
	background: #1e1e1e;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.pbt-fantasy-form__button:hover,
.pbt-fantasy-form__button:focus {
	background: #000;
}

.pbt-fantasy-form__button:disabled {
	background: #8c8f94;
	cursor: not-allowed;
}

/* Editor preview (see index.js) — the author edits the two intro sections in
   place, with the real fields shown as inert placeholders. */
.pbt-fantasy-form-preview__note {
	color: #666;
	font-style: italic;
	margin: 0 0 1rem;
}

.pbt-fantasy-form-preview__field {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin: 0 0 0.75rem;
}

.pbt-fantasy-form-preview__label {
	font-weight: 600;
}

.pbt-fantasy-form-preview__control {
	height: 2.1rem;
	border: 1px dashed #c3c4c7;
	border-radius: 4px;
	background: #fff;
	max-width: 32rem;
}

.pbt-fantasy-form-preview__section {
	margin: 1.75rem 0 0.5rem;
	padding-top: 1rem;
	border-top: 1px solid #e2e2e2;
}

.pbt-fantasy-form-preview__intro {
	margin: 0 0 1rem;
	color: #444;
}
