.bdf-blank-canvas {
	margin: 0;
	padding: 0;
	min-height: 100vh;
}

/*
 * Site-wide Breakdance custom CSS reserves the sticky header on mobile:
 * @media (max-width: 768px) { body { padding-top: 95px !important; } }
 * Funnel/hub canvases do not render that header, so drop the spacer.
 */
body.bdf-blank-canvas {
	padding-top: 0 !important;
}

.bdf-canvas {
	display: block;
	margin: 0;
	padding: 0;
	min-height: 0;
}

.bdf-progress-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.bdf-field {
	width: 100%;
}

.bdf-label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.bdf-field.is-required .bdf-label::after,
.bdf-field[data-bdf-required="1"] .bdf-label::after,
.bdf-field[data-bdf-required="true"] .bdf-label::after {
	content: " *";
	color: #dc2626;
}

.bdf-help {
	margin: 8px 0 0;
	font-size: 0.9em;
	opacity: 0.75;
}

.bdf-error {
	margin: 8px 0 0;
	color: #dc2626;
	font-size: 0.9em;
}

.bdf-input,
.bdf-select {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font: inherit;
	background: #fff;
}

.bdf-input:focus,
.bdf-select:focus {
	outline: none;
	border-color: #1f2d5c;
}

.bdf-input:disabled,
.bdf-next:disabled,
.bdf-submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.bdf-choices,
.bdf-checks {
	display: grid;
	gap: 12px;
}

.bdf-choice {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	padding: 16px 18px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	background: #fff;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.bdf-choice:hover {
	border-color: #1f2d5c;
}

.bdf-choice.is-selected {
	border-color: #1f2d5c;
	background: #f5f3ff;
}

.bdf-choice--image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	margin-bottom: 10px;
}

.bdf-check {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.bdf-switch {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
}

.bdf-switch-ui {
	width: 44px;
	height: 26px;
	border-radius: 999px;
	background: #d1d5db;
	position: relative;
	flex-shrink: 0;
}

.bdf-switch-ui::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	transition: transform .15s ease;
}

.bdf-switch input {
	position: absolute;
	opacity: 0;
}

.bdf-switch input:checked + .bdf-switch-ui {
	background: #1f2d5c;
}

.bdf-switch input:checked + .bdf-switch-ui::after {
	transform: translateX(18px);
}

.bdf-stars {
	display: flex;
	gap: 6px;
}

.bdf-star {
	background: none;
	border: 0;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #d1d5db;
	padding: 0;
}

.bdf-star.is-on {
	color: #f59e0b;
}

.bdf-nav,
.bdf-submit-wrap {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	margin-top: 24px;
}

.bdf-nav:has(.bdf-back) {
	justify-content: space-between;
}

.bdf-back {
	background: none;
	border: 0;
	font: inherit;
	cursor: pointer;
	padding: 0;
}

.bdf-next,
.bdf-submit {
	border: 0;
	border-radius: 10px;
	padding: 14px 22px;
	font: inherit;
	font-weight: 600;
	background: #1f2d5c;
	color: #fff;
	cursor: pointer;
	margin-left: auto;
}

.bdf-progress-label {
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 10px;
}

.bdf-progress-track {
	height: 6px;
	border-radius: 99px;
	background: #e5e7eb;
	overflow: hidden;
}

.bdf-progress-bar {
	height: 100%;
	width: 0;
	background: #1f2d5c;
	transition: width .25s ease;
}

.bdf-files {
	margin: 8px 0 0;
	padding-left: 18px;
}

body.bdf-blank-canvas footer a[href^="tel:"],
body.bdf-funnel footer a[href^="tel:"] {
	white-space: nowrap;
}

body.bdf-blank-canvas footer :is(p, h1, h2, h3, h4, h5, span, li, .bde-rich-text, .breakdance-rich-text):has(a[href^="tel:"]),
body.bdf-funnel footer :is(p, h1, h2, h3, h4, h5, span, li, .bde-rich-text, .breakdance-rich-text):has(a[href^="tel:"]) {
	white-space: nowrap;
}
