/*
 * Static preview shown inside the block editor for bppfa/postform.
 * Mirrors the real composer's look so the site owner sees what members get.
 * Editor-only; the frontend uses the plugin's public stylesheet.
 */
.bppfa-block-preview .bppfa-preview-card {
	max-width: 100%;
	padding: 20px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	box-shadow: 0 2px 4px rgba( 0, 0, 0, 0.05 );
}

.bppfa-block-preview .bppfa-preview-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 15px;
}

.bppfa-block-preview .bppfa-preview-avatar {
	display: block;
	width: 50px;
	height: 50px;
	flex-shrink: 0;
	border-radius: 50%;
	background: #e0e0e0;
}

.bppfa-block-preview .bppfa-preview-greeting {
	font-size: 16px;
	font-weight: 500;
	color: #333;
}

.bppfa-block-preview .bppfa-preview-textarea {
	height: 72px;
	margin-bottom: 12px;
	background: #f8f9fa;
	border: 2px solid transparent;
	border-radius: 8px;
}

.bppfa-block-preview .bppfa-preview-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid #eee;
}

.bppfa-block-preview .bppfa-preview-select {
	position: relative;
	padding: 8px 30px 8px 12px;
	font-size: 14px;
	color: #333;
	border: 1px solid #ddd;
	border-radius: 6px;
}

.bppfa-block-preview .bppfa-preview-select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 12px;
	width: 7px;
	height: 7px;
	margin-top: -5px;
	border-right: 2px solid #333;
	border-bottom: 2px solid #333;
	transform: rotate( 45deg );
}

.bppfa-block-preview .bppfa-preview-button {
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	background: #007cba;
	border-radius: 6px;
}

.bppfa-block-preview .bppfa-preview-note {
	margin: 10px 2px 0;
	font-size: 12px;
	font-style: italic;
	color: #757575;
}
