/* Boss Digital Forms — frontend structural styles.
   Every selector is scoped under .bdf-page so nothing here touches the
   surrounding theme's global h1/h2/h3/p/button/input/body styles. */

.bdf-page {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
}
.bdf-page * {
	box-sizing: border-box;
}
.bdf-page .bdf-card {
	position: relative;
	width: 100%;
	max-width: 640px;
	border-style: solid;
	border-width: 1px;
	border-radius: 4px;
	padding: 36px 32px;
}
.bdf-page .bdf-corner {
	position: absolute;
	width: 22px;
	height: 22px;
	border-style: solid;
	border-width: 0;
	border-color: currentColor;
}
.bdf-page .bdf-corner-tl {
	top: -1px;
	left: -1px;
	border-top-width: 2px;
	border-left-width: 2px;
	color: #fff;
}
.bdf-page .bdf-corner-br {
	bottom: -1px;
	right: -1px;
	border-bottom-width: 2px;
	border-right-width: 2px;
	color: #fff;
}
.bdf-page .bdf-honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	width: 0;
	overflow: hidden;
}
.bdf-page .bdf-progress {
	display: flex;
	gap: 6px;
	margin-bottom: 20px;
}
.bdf-page .bdf-progress-seg {
	height: 3px;
	flex: 1;
	border-radius: 2px;
	transition: background 0.2s ease;
}
.bdf-page .bdf-meta-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.bdf-page .bdf-link-btn {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 13px;
	font-family: inherit;
	padding: 0;
}
.bdf-page .bdf-heading {
	text-transform: uppercase;
	margin: 14px 0 10px 0;
}
.bdf-page .bdf-description {
	margin: 0 0 22px 0;
}
.bdf-page .bdf-field-block {
	margin-bottom: 14px;
}
.bdf-page .bdf-options-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
@media (max-width: 520px) {
	.bdf-page .bdf-options-grid {
		grid-template-columns: 1fr;
	}
	.bdf-page .bdf-card {
		padding: 26px 18px;
	}
}
.bdf-page .bdf-option {
	text-align: left;
	border-style: solid;
	border-width: 1px;
	border-radius: 8px;
	padding: 16px 18px;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
	font-family: inherit;
	width: 100%;
}
.bdf-page .bdf-input-label {
	display: block;
	font-size: 12px;
	margin-bottom: 8px;
	letter-spacing: 0.03em;
}
.bdf-page .bdf-input {
	width: 100%;
	border-style: solid;
	border-width: 1px;
	border-radius: 8px;
	padding: 14px 16px;
	font-size: 15px;
	font-family: inherit;
}
.bdf-page .bdf-textarea {
	min-height: 100px;
	resize: vertical;
}
.bdf-page .bdf-field-error {
	color: #ff8080;
	font-size: 13px;
	margin-top: 6px;
	display: none;
}
.bdf-page .bdf-field-block.bdf-has-error .bdf-field-error {
	display: block;
}
.bdf-page .bdf-field-block.bdf-has-error .bdf-input,
.bdf-page .bdf-field-block.bdf-has-error .bdf-option {
	border-color: #ff8080 !important;
}
.bdf-page .bdf-submit-error {
	color: #ff8080;
	font-size: 13px;
	margin-bottom: 14px;
}
.bdf-page .bdf-next-btn {
	width: 100%;
	border: none;
	border-radius: 8px;
	padding: 16px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	margin-top: 8px;
	transition: background 0.15s ease;
}
.bdf-page .bdf-next-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.bdf-page .bdf-success {
	text-align: center;
	padding: 24px 0;
}
