/**
 * BW AI Schema Pro — public survey page styles.
 *
 * Renders inside a minimal HTML shell (no theme). Keep selectors
 * scoped to .bw-schema-survey-public so nothing leaks if a theme
 * later embeds the form.
 *
 * @since 2.2.0
 */

body.bw-schema-survey-public {
	margin: 0;
	background: #f6f7f7;
	color: #1d2327;
	font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

.bw-schema-survey-wrap {
	max-width: 720px;
	margin: 40px auto;
	padding: 32px 36px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.bw-schema-survey-title {
	margin: 0 0 16px 0;
	font-size: 28px;
	line-height: 1.2;
}

.bw-schema-survey-intro {
	margin-bottom: 24px;
	color: #50575e;
}

.bw-schema-survey-fieldset {
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 16px 20px;
	margin: 0 0 20px 0;
}

.bw-schema-survey-fieldset legend {
	font-weight: 600;
	padding: 0 8px;
	color: #1d2327;
}

.bw-schema-survey-field {
	margin: 0 0 16px 0;
}

.bw-schema-survey-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.bw-schema-survey-field input[type="text"],
.bw-schema-survey-field input[type="email"],
.bw-schema-survey-field input[type="tel"],
.bw-schema-survey-field input[type="url"],
.bw-schema-survey-field input[type="number"],
.bw-schema-survey-field select,
.bw-schema-survey-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	font: inherit;
}

.bw-schema-survey-field textarea {
	min-height: 80px;
	resize: vertical;
}

.bw-schema-survey-field input:focus,
.bw-schema-survey-field select:focus,
.bw-schema-survey-field textarea:focus {
	outline: 2px solid #2271b1;
	border-color: #2271b1;
}

.bw-schema-survey-help {
	display: block;
	margin-top: 4px;
	color: #6c7781;
	font-size: 13px;
}

.bw-required {
	color: #d63638;
	margin-left: 2px;
}

.bw-schema-survey-submit {
	margin-top: 24px;
}

.bw-schema-survey-submit button {
	background: #2271b1;
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 10px 24px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.bw-schema-survey-submit button:hover {
	background: #135e96;
}

.bw-schema-survey-footnote {
	margin-top: 16px;
	color: #6c7781;
	font-size: 13px;
}
