/* BFO Frontend — Bayside Facility Onboarding */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

:root {
	--bfo-dark:    #010e63;
	--bfo-primary: #073d97;
	--bfo-blue:    #0060a3;
	--bfo-yellow:  #ffbd59;
	--bfo-gray:    #fafbfc;
	--bfo-light:   #e8f1fc;
	--bfo-border:  #d3dae6;
	--bfo-text:    #1a2340;
	--bfo-muted:   #6b7a99;
	--bfo-white:   #ffffff;
	--bfo-radius:  10px;
}

/* ── Wrapper ── */
.bfo-wizard {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px 80px;
	font-family: Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--bfo-text);
	box-sizing: border-box;
}

/* ── Progress bar ── */
.bfo-progress {
	margin-bottom: 36px;
	padding-top: 4px;
}
.bfo-progress-meta {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: var(--bfo-muted);
	margin-bottom: 8px;
}
.bfo-progress-meta strong { color: var(--bfo-dark); }
.bfo-progress-bar {
	height: 5px;
	background: #dde3ef;
	border-radius: 3px;
	overflow: hidden;
}
.bfo-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--bfo-dark), var(--bfo-blue));
	border-radius: 3px;
	transition: width .5s ease;
}

/* ── Step shared ── */
.bfo-step-title {
	font-size: 32px;
	font-weight: 700;
	color: var(--bfo-primary);
	text-align: center;
	margin: 0 0 8px;
}
.bfo-step-desc {
	font-size: 15px;
	color: var(--bfo-muted);
	text-align: center;
	margin: 0 0 28px;
	line-height: 1.6;
}

/* ── STEP 1 HERO ── */
.bfo-hero {
	text-align: center;
	margin-bottom: 32px;
	padding: 36px 24px 28px;
	background: linear-gradient(135deg, var(--bfo-dark) 0%, var(--bfo-primary) 60%, var(--bfo-blue) 100%);
	border-radius: 12px;
	color: #fff;
}
.bfo-hero-pre {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--bfo-yellow);
	margin-bottom: 10px;
}
.bfo-hero-title {
	font-size: 32px;
	font-weight: 900;
	color: #fff;
	margin: 0 0 12px;
	line-height: 1.15;
}
.bfo-hero-sub {
	font-size: 15px;
	color: #c8dcf7;
	line-height: 1.65;
	max-width: 500px;
	margin: 0 auto;
}

/* ── Feature boxes ── */
.bfo-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 36px;
}
.bfo-feature-card {
	background: var(--bfo-white);
	border: 1px solid var(--bfo-border);
	border-radius: var(--bfo-radius);
	padding: 20px 16px;
	text-align: center;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.bfo-feature-icon {
	width: 44px;
	height: 44px;
	background: var(--bfo-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 12px;
	color: var(--bfo-primary);
}
.bfo-feature-icon svg {
	width: 22px;
	height: 22px;
}
.bfo-feature-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--bfo-dark);
	margin-bottom: 6px;
}
.bfo-feature-desc {
	font-size: 13px;
	color: var(--bfo-muted);
	line-height: 1.5;
}

/* ── Section divider ── */
.bfo-section-divider {
	border-top: 1px solid var(--bfo-yellow);
	padding-top: 24px;
	margin-bottom: 20px;
}
.bfo-section-label {
	font-size: 20px;
	font-weight: 700;
	color: var(--bfo-dark);
	margin-bottom: 6px;
}
.bfo-section-sub {
	font-size: 14px;
	color: var(--bfo-muted);
	margin: 0;
}

/* ── State buttons ── */
.bfo-state-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	margin-bottom: 4px;
}
.bfo-state-btn {
	padding: 9px 16px;
	border: 1px solid var(--bfo-border);
	border-radius: 6px;
	background: var(--bfo-white);
	color: var(--bfo-text);
	font-size: 13px;
	font-weight: 500;
	font-family: 'Roboto', sans-serif;
	cursor: pointer;
	transition: border-color .15s, background .15s, color .15s;
}
.bfo-state-btn:hover {
	border-color: var(--bfo-primary);
	background: var(--bfo-light);
	color: var(--bfo-primary);
}
.bfo-state-btn.active {
	border-color: var(--bfo-primary);
	background: var(--bfo-primary);
	color: #fff;
}
.bfo-state-other {
	border-style: dashed;
	color: var(--bfo-muted);
}
.bfo-state-other.active {
	border-color: #d97706;
	background: #fffbeb;
	color: #92400e;
	border-style: solid;
}

/* ── State selected badge ── */
.bfo-state-selected-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: var(--bfo-light);
	border: 1px solid #c0d3f5;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 700;
	color: var(--bfo-primary);
	margin-bottom: 16px;
}
.bfo-state-selected-badge::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bfo-primary);
}

/* ── Form fields ── */
.bfo-field { margin-bottom: 14px; }
.bfo-flabel {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .55px;
	color: var(--bfo-muted);
	margin-bottom: 6px;
}
.bfo-finput {
	width: 100%;
	padding: 10px 13px;
	border: 1px solid var(--bfo-border);
	border-radius: var(--bfo-radius);
	font-size: 14px;
	font-family: 'Roboto', sans-serif;
	color: var(--bfo-text);
	background: var(--bfo-white);
	box-sizing: border-box;
}
.bfo-finput:focus {
	outline: none;
	border-color: var(--bfo-primary);
	box-shadow: 0 0 0 3px rgba(7,61,151,.12);
}
.bfo-seat-hint {
	font-size: 12px;
	color: var(--bfo-blue);
	font-weight: 600;
	margin: 5px 0 0;
	min-height: 16px;
}

/* ── Facility cards ── */
.bfo-fcard {
	background: var(--bfo-white);
	border: 1px solid var(--bfo-border);
	border-radius: var(--bfo-radius);
	padding: 20px 22px;
	margin-bottom: 14px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.bfo-fcard-hdr {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}
.bfo-fcard-num {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--bfo-primary);
}
.bfo-fcard-remove {
	background: none;
	border: none;
	color: var(--bfo-muted);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	padding: 3px 8px;
	border-radius: 4px;
	font-family: 'Roboto', sans-serif;
}
.bfo-fcard-remove:hover { background: #fef2f2; color: #b91c1c; }

.bfo-no-template-msg {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: var(--bfo-radius);
	padding: 12px 16px;
	font-size: 13px;
	color: #92400e;
	margin-top: 10px;
}
.bfo-contact-link { color: var(--bfo-primary); font-weight: 600; }

/* ── Add more button ── */
.bfo-add-more-btn {
	display: block;
	width: 100%;
	background: none;
	border: 1px dashed var(--bfo-border);
	border-radius: var(--bfo-radius);
	padding: 12px;
	font-size: 13px;
	font-weight: 600;
	font-family: 'Roboto', sans-serif;
	color: var(--bfo-primary);
	cursor: pointer;
	margin-bottom: 20px;
	transition: border-color .15s, background .15s;
}
.bfo-add-more-btn:hover { background: var(--bfo-light); border-color: var(--bfo-primary); }

/* ── Pricing bar ── */
.bfo-pricing-bar {
	background: linear-gradient(135deg, var(--bfo-dark) 0%, var(--bfo-blue) 100%);
	border-radius: var(--bfo-radius);
	padding: 16px 22px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
	color: #fff;
}
.bfo-pricing-label       { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; opacity: .8; display: block; }
.bfo-pricing-rate        { font-size: 14px; }
.bfo-pricing-right       { text-align: right; }
.bfo-pricing-total-label { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; opacity: .8; display: block; }
.bfo-pricing-total       { font-size: 22px; font-weight: 700; display: block; }

/* ── Buttons ── */
.bfo-cta-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 15px 24px;
	background: var(--bfo-primary);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	font-family: 'Roboto', sans-serif;
	border: none;
	border-radius: var(--bfo-radius);
	cursor: pointer;
	text-decoration: none;
	transition: background .15s;
	box-sizing: border-box;
}
.bfo-cta-btn:hover  { background: var(--bfo-dark); color: #fff !important; }
.bfo-cta-checkout   { width: auto; min-width: 280px; }
.bfo-cta-btn.loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
}
.bfo-cta-btn.loading::after {
	content: '';
	position: absolute; inset: 0; margin: auto;
	width: 18px; height: 18px;
	border: 2px solid rgba(255,255,255,.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: bfo-spin .65s linear infinite;
}
@keyframes bfo-spin { to { transform: rotate(360deg); } }

.bfo-btn-primary-sm {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 9px 18px;
	background: var(--bfo-primary);
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	font-family: 'Roboto', sans-serif;
	border: none;
	border-radius: var(--bfo-radius);
	cursor: pointer;
	transition: background .15s;
}
.bfo-btn-primary-sm:hover { background: var(--bfo-dark); }

.bfo-ghost-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 11px 18px;
	background: var(--bfo-white);
	color: var(--bfo-muted) !important;
	font-size: 14px;
	font-weight: 600;
	font-family: 'Roboto', sans-serif;
	border: 1px solid var(--bfo-border);
	border-radius: var(--bfo-radius);
	cursor: pointer;
	text-decoration: none;
	transition: border-color .15s, color .15s;
}
.bfo-ghost-btn:hover { border-color: var(--bfo-primary); color: var(--bfo-primary) !important; }

/* ── Error / notice ── */
.bfo-step-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: var(--bfo-radius);
	color: #b91c1c;
	font-size: 13px;
	padding: 11px 14px;
	margin: 12px 0;
}
.bfo-notice {
	padding: 13px 16px;
	background: var(--bfo-light);
	border: 1px solid #c8d9f5;
	border-radius: var(--bfo-radius);
	color: var(--bfo-dark);
	font-size: 14px;
}

/* ── Step footer ── */
.bfo-step-footer {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 22px;
}
.bfo-step-footer .bfo-cta-btn { flex: 1; }

/* ── STEP INTRO — role explanation cards ── */
.bfo-intro-cards {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 32px;
}
.bfo-intro-card {
	display: flex;
	gap: 16px;
	align-items: center;
	background: var(--bfo-white);
	border: 1px solid var(--bfo-border);
	border-radius: var(--bfo-radius);
	padding: 20px 22px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.bfo-intro-card-num {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	background: var(--bfo-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
}
.bfo-intro-card-body { flex: 1; }
.bfo-intro-card-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--bfo-dark);
	margin-bottom: 5px;
}
.bfo-intro-card-body p {
	font-size: 15px;
	color: var(--bfo-muted);
	margin: 0;
	line-height: 1.6;
}

/* ════════════════════ STEP 2 ════════════════════ */
.bfo-crumb {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--bfo-muted);
	justify-content: center;
	margin-bottom: 18px;
}
.bfo-crumb-state { color: var(--bfo-primary); font-weight: 700; }
.bfo-crumb-sep   { color: #c0cde0; }
.bfo-crumb-of    { color: #b0bcd4; font-size: 12px; }

.bfo-rec-banner {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-left: 4px solid var(--bfo-primary);
	border-radius: var(--bfo-radius);
	padding: 16px 20px;
	margin-bottom: 24px;
}
.bfo-rec-banner-title { font-weight: 700; font-size: 14px; color: var(--bfo-dark); margin-bottom: 6px; }
.bfo-rec-banner-sub   { font-size: 13px; color: #475569; margin: 0 0 12px; line-height: 1.5; }
.bfo-rec-list         { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bfo-rec-list li      { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; }
.bfo-rec-dot          { width: 7px; height: 7px; border-radius: 50%; background: var(--bfo-primary); flex-shrink: 0; }
.bfo-rec-hrs          { font-size: 11px; color: var(--bfo-muted); font-weight: 600; }
.bfo-rec-course-wrap  { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.bfo-rec-course-note  {
	font-size: 11px;
	color: var(--bfo-blue);
	font-style: italic;
	line-height: 1.4;
}

.bfo-roles-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px;
}
.bfo-roles-empty {
	text-align: center;
	padding: 36px 20px;
	border: 1px dashed var(--bfo-border);
	border-radius: var(--bfo-radius);
	color: var(--bfo-muted);
	font-size: 14px;
}
.bfo-role-card {
	background: var(--bfo-white);
	border: 1px solid var(--bfo-border);
	border-radius: var(--bfo-radius);
	padding: 14px 18px;
	margin-bottom: 10px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.bfo-role-card-top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.bfo-role-name  { font-size: 15px; font-weight: 700; color: var(--bfo-dark); flex: 1; }
.bfo-role-count { font-size: 12px; color: var(--bfo-muted); white-space: nowrap; }
.bfo-role-btns  { display: flex; gap: 6px; }
.bfo-outline-btn {
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 600;
	font-family: 'Roboto', sans-serif;
	background: var(--bfo-light);
	color: var(--bfo-primary) !important;
	border: 1px solid #c0d3f5;
	border-radius: 5px;
	cursor: pointer;
}
.bfo-outline-btn:hover { background: #d4e3fa; }
.bfo-del-btn {
	padding: 4px 10px;
	font-size: 15px;
	font-family: 'Roboto', sans-serif;
	background: #fef2f2;
	color: #b91c1c !important;
	border: 1px solid #fecaca;
	border-radius: 5px;
	cursor: pointer;
	line-height: 1;
}
.bfo-del-btn:hover { background: #fee2e2; }
.bfo-role-tags { display: none; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.bfo-role-tags.open { display: flex; }
.bfo-role-expand {
	background: none;
	border: none;
	padding: 0;
	font-size: 12px;
	font-weight: 600;
	color: var(--bfo-blue);
	cursor: pointer;
	font-family: 'Roboto', sans-serif;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.bfo-role-expand:hover { color: var(--bfo-primary); }
.bfo-tag {
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	background: var(--bfo-light);
	color: var(--bfo-primary);
	border: 1px solid #c0d3f5;
}

/* ════════════════════ MODAL ════════════════════ */
.bfo-modal-bg {
	position: fixed;
	inset: 0;
	background: rgba(3,4,94,.5);
	z-index: 99999;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 5vh 16px 20px;
	overflow-y: auto;
}
.bfo-modal-box {
	background: var(--bfo-white);
	border-radius: 12px;
	width: 100%;
	max-width: 1100px;
	max-height: 92vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 24px 64px rgba(3,4,94,.25);
}
.bfo-modal-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 22px 30px;
	border-bottom: 1px solid #eef1f7;
	flex-shrink: 0;
}
.bfo-modal-title { font-size: 17px; font-weight: 700; color: var(--bfo-dark); margin: 0; }
.bfo-modal-x {
	background: none; border: none;
	font-size: 22px; cursor: pointer;
	color: var(--bfo-muted); line-height: 1;
	width: 30px; height: 30px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 5px;
}
.bfo-modal-x:hover { background: #f0f4f9; color: var(--bfo-dark); }
.bfo-modal-body  { padding: 24px 30px; overflow-y: auto; flex: 1; }
.bfo-modal-foot  {
	padding: 18px 30px;
	border-top: 1px solid #eef1f7;
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	flex-shrink: 0;
}
.bfo-modal-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.bfo-modal-col {
	border: 1px solid var(--bfo-border);
	border-radius: var(--bfo-radius);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.bfo-col-head {
	background: #f7f9fc;
	padding: 10px 14px;
	border-bottom: 1px solid var(--bfo-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.bfo-col-head strong { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--bfo-muted); }
.bfo-col-sub    { font-size: 11px; color: #94a3b8; }
.bfo-col-search {
	display: block; width: 100%; padding: 8px 12px;
	border: none; border-bottom: 1px solid var(--bfo-border);
	font-size: 13px; font-family: 'Roboto', sans-serif;
	color: var(--bfo-text); box-sizing: border-box;
}
.bfo-col-search:focus { outline: none; box-shadow: inset 0 -2px 0 var(--bfo-primary); }
.bfo-col-scroll       { overflow-y: auto; max-height: 480px; padding: 4px; }
.bfo-col-right-bg     { background: #fafbfe; }
.bfo-col-empty        { text-align: center; padding: 28px 16px; color: #94a3b8; font-size: 13px; }
.bfo-crow {
	display: flex; align-items: center; justify-content: space-between;
	padding: 10px 12px; border-radius: 5px; margin-bottom: 2px; gap: 8px;
}
.bfo-crow:hover          { background: #f0f4f9; }
.bfo-crow-assigned       { background: #f0f6ff; }
.bfo-crow-assigned:hover { background: #e5eefa; }
.bfo-crow-info  { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; }
.bfo-crow-title { font-size: 13px; color: var(--bfo-text); }
.bfo-crow-hrs   { font-size: 11px; color: #94a3b8; font-weight: 600; white-space: nowrap; }
.bfo-rec-pill {
	display: inline-block; padding: 1px 7px;
	background: #dbeafe; color: var(--bfo-primary);
	font-size: 10px; font-weight: 700;
	border-radius: 20px; white-space: nowrap;
}
.bfo-circ-add, .bfo-circ-rem {
	width: 28px; height: 28px; border-radius: 50%;
	border: none; font-size: 18px; font-weight: 700;
	cursor: pointer; display: flex; align-items: center; justify-content: center;
	flex-shrink: 0; line-height: 1; transition: background .12s;
}
.bfo-circ-add       { background: var(--bfo-light); color: var(--bfo-primary); }
.bfo-circ-add:hover { background: var(--bfo-primary); color: #fff; }
.bfo-circ-rem       { background: #fef2f2; color: #b91c1c; }
.bfo-circ-rem:hover { background: #b91c1c; color: #fff; }

/* ════════════════════ STEP 3 ════════════════════ */
.bfo-confirm-hero {
	text-align: center;
	margin-bottom: 28px;
}
.bfo-confirm-title {
	font-size: 30px;
	font-weight: 900;
	color: var(--bfo-primary);
	margin: 0 0 10px;
}
.bfo-confirm-sub {
	font-size: 15px;
	color: var(--bfo-muted);
	line-height: 1.65;
	max-width: 520px;
	margin: 0 auto;
}

.bfo-notice-box {
	border-radius: var(--bfo-radius);
	padding: 18px 20px;
	margin-bottom: 14px;
}
.bfo-notice-box-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 7px;
}
.bfo-notice-box p {
	font-size: 15px;
	margin: 0;
	line-height: 1.65;
}
.bfo-notice-yellow {
	background: #fffbeb;
	border: 1px solid var(--bfo-yellow);
}
.bfo-notice-yellow .bfo-notice-box-label { color: #92400e; }
.bfo-notice-yellow p { color: #78350f; }

.bfo-notice-blue {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
}
.bfo-notice-blue .bfo-notice-box-label { color: var(--bfo-primary); }
.bfo-notice-blue p { color: #1e40af; }

.bfo-review-card {
	background: var(--bfo-white);
	border: 1px solid var(--bfo-border);
	border-radius: var(--bfo-radius);
	padding: 20px 22px;
	margin-bottom: 14px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.bfo-review-name { font-size: 17px; font-weight: 700; color: var(--bfo-dark); margin-bottom: 4px; }
.bfo-review-meta { font-size: 13px; color: var(--bfo-muted); margin-bottom: 14px; }
.bfo-review-roles { display: flex; flex-direction: column; gap: 12px; }
.bfo-review-role-name { font-size: 13px; font-weight: 700; color: var(--bfo-text); margin-bottom: 6px; }
.bfo-review-tags  { display: flex; flex-wrap: wrap; gap: 5px; }
.bfo-review-none  { font-size: 13px; color: #94a3b8; margin: 0; }

.bfo-total-bar {
	background: linear-gradient(135deg, var(--bfo-dark) 0%, var(--bfo-blue) 100%);
	border-radius: var(--bfo-radius);
	padding: 18px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #fff;
	margin: 22px 0 16px;
}
.bfo-total-label  { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; opacity: .8; }
.bfo-total-detail { font-size: 13px; opacity: .75; margin-top: 2px; }
.bfo-total-amount { font-size: 24px; font-weight: 700; }

.bfo-review-divider {
	border: none;
	border-top: 1px solid var(--bfo-yellow);
	margin: 24px 0 20px;
}

.bfo-confirm-thanks {
	font-size: 14px;
	color: var(--bfo-muted);
	text-align: center;
	margin: 0 0 20px;
	line-height: 1.65;
}

.bfo-step3-footer {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin-top: 8px;
}

/* ── Responsive ── */
@media (max-width: 700px) {
	.bfo-state-grid      { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.bfo-features        { grid-template-columns: 1fr; }
	.bfo-modal-cols      { grid-template-columns: 1fr; }
	.bfo-step-footer     { flex-direction: column; }
	.bfo-step-footer .bfo-cta-btn { width: 100%; }
	.bfo-step3-footer    { flex-direction: column; }
	.bfo-step3-footer .bfo-cta-btn { width: 100%; }
}

/* ── Add-on Bundle Section (Step 2) ── */
.bfo-addon-section {
	margin: 0 0 8px;
	padding: 0;
}
.bfo-addon-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 4px;
	flex-wrap: wrap;
}
.bfo-addon-header-text { flex: 1; }
.bfo-addon-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--bfo-dark);
	margin-bottom: 4px;
}
.bfo-addon-sub {
	font-size: 13px;
	color: var(--bfo-muted);
	margin: 0;
	line-height: 1.55;
}
.bfo-addon-view-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: var(--bfo-primary);
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	font-family: 'Roboto', sans-serif;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background .15s;
}
.bfo-addon-view-btn:hover,
.bfo-addon-view-btn.open { background: var(--bfo-dark); }
.bfo-addon-view-arrow { font-size: 9px; }
.bfo-addon-cards-wrap { margin-top: 14px; }
.bfo-addon-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-left: 4px solid var(--bfo-primary);
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 10px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.bfo-addon-card input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	accent-color: var(--bfo-primary);
}
.bfo-addon-card.selected {
	background: #dbeafe;
	border-color: var(--bfo-primary);
}
.bfo-addon-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.bfo-addon-check-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	flex: 1;
}
.bfo-addon-check-label input[type="checkbox"] {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	accent-color: var(--bfo-primary);
	cursor: pointer;
}
.bfo-addon-card-right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.bfo-addon-check-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	flex: 1;
}
.bfo-addon-card-right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.bfo-addon-toggle {
	background: none;
	border: 1px solid #bfdbfe;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--bfo-primary);
	cursor: pointer;
	font-family: 'Roboto', sans-serif;
	white-space: nowrap;
}
.bfo-addon-toggle:hover { background: #dbeafe; }
.bfo-addon-course-list {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #bfdbfe;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.bfo-addon-pill {
	display: inline-block;
	padding: 3px 10px;
	background: #dbeafe;
	color: var(--bfo-primary);
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
}
.bfo-addon-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--bfo-dark);
}
.bfo-addon-price {
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	background: var(--bfo-primary);
	padding: 2px 10px;
	border-radius: 20px;
	white-space: nowrap;
}
.bfo-addon-toggle {
	background: none;
	border: 1px solid #bfdbfe;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 600;
	font-family: 'Roboto', sans-serif;
	color: var(--bfo-primary);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
	transition: background .15s, border-color .15s;
}
.bfo-addon-toggle:hover {
	background: #dbeafe;
	border-color: var(--bfo-primary);
}
.bfo-addon-toggle-arrow { font-size: 10px; }
.bfo-addon-course-list {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #bfdbfe;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.bfo-addon-pill {
	display: inline-block;
	padding: 4px 12px;
	background: #fff;
	border: 1px solid #bfdbfe;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	color: var(--bfo-primary);
}
.bfo-addon-no-courses {
	font-size: 13px;
	color: var(--bfo-muted);
}

/* ── Review addon rows (Step 3) ── */
.bfo-review-addons {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
}
.bfo-review-addon-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--bfo-muted);
	margin-bottom: 6px;
}
.bfo-review-addon-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	margin-bottom: 4px;
}
.bfo-review-addon-name  { color: var(--bfo-text); font-weight: 500; }
.bfo-review-addon-price { color: var(--bfo-primary); font-weight: 700; }

/* ── Rec banner disclaimer + admin note ── */
.bfo-rec-disclaimer {
	font-size: 12px;
	color: #475569;
	margin: 12px 0 0;
	line-height: 1.6;
	padding-top: 10px;
	border-top: 1px solid #bfdbfe;
}
.bfo-rec-admin-note {
	margin-top: 10px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #bfdbfe;
	border-radius: 6px;
	font-size: 13px;
	color: #1e40af;
	line-height: 1.65;
}

/* ── Course note in modal ── */
.bfo-crow-note {
	display: block;
	flex-basis: 100%;
	font-size: 11px;
	color: var(--bfo-blue);
	margin-top: 3px;
	font-style: italic;
	line-height: 1.4;
}

/* ── Guide Download Button (Step 2) ── */
.bfo-guide-download-wrap {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-left: 4px solid var(--bfo-primary);
	border-radius: var(--bfo-radius);
	padding: 14px 18px;
	margin-bottom: 24px;
}
.bfo-guide-download-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.bfo-guide-download-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.bfo-guide-download-text strong {
	font-size: 13px;
	color: var(--bfo-dark);
}
.bfo-guide-download-text span {
	font-size: 12px;
	color: var(--bfo-muted);
}
.bfo-guide-download-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 18px;
	background: var(--bfo-primary);
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	font-family: 'Roboto', sans-serif;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s;
	flex-shrink: 0;
}
.bfo-guide-download-btn:hover { background: var(--bfo-dark); }
.bfo-guide-download-btn svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

/* ── Walk Me Through (Step 1) ── */
.bfo-walkme-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: var(--bfo-radius);
	padding: 14px 18px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}
.bfo-walkme-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 20px;
	background: var(--bfo-primary);
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	font-family: 'Roboto', sans-serif;
	border-radius: 7px;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background .15s;
}
.bfo-walkme-btn:hover { background: var(--bfo-dark); }
.bfo-walkme-btn svg { width: 16px; height: 16px; }
.bfo-walkme-sub {
	font-size: 13px;
	color: var(--bfo-text);
	margin: 0;
	line-height: 1.5;
}

/* ── Intro card #4 highlight ── */
.bfo-intro-card-highlight {
	background: #e8f1fc;
	border: 1.5px solid var(--bfo-primary);
	box-shadow: 0 2px 12px rgba(7,61,151,.12);
}
.bfo-intro-card-highlight .bfo-intro-card-title {
	color: var(--bfo-primary);
}
.bfo-intro-card-num-light {
	background: var(--bfo-primary);
	color: #fff;
}

/* ── Intro page two-button footer ── */
.bfo-intro-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
}
.bfo-intro-footer-right {
	display: flex;
	gap: 10px;
	align-items: center;
}
/* bfo-skip-btn replaced by bfo-cta-btn-ghost — keep for backward compat */
.bfo-cta-btn-ghost {
	background: var(--bfo-white) !important;
	color: var(--bfo-muted) !important;
	border: 1px solid var(--bfo-border) !important;
}
.bfo-cta-btn-ghost:hover {
	border-color: var(--bfo-primary) !important;
	color: var(--bfo-primary) !important;
	background: var(--bfo-white) !important;
}

/* ── Step 2 footer subtext ── */
.bfo-step2-subtext {
	font-size: 12px;
	color: var(--bfo-muted);
	text-align: center;
	margin: 14px 0 0;
	line-height: 1.7;
}
.bfo-step2-subtext p { margin: 4px 0 0; }
.bfo-step2-subtext p + p { margin-top: 6px; }

/* ── View Add-Ons — transparent outline style ── */
.bfo-addon-view-btn {
	background: transparent !important;
	color: var(--bfo-primary) !important;
	border: 1px solid var(--bfo-primary) !important;
}
.bfo-addon-view-btn:hover,
.bfo-addon-view-btn.open {
	background: var(--bfo-light) !important;
	color: var(--bfo-dark) !important;
	border-color: var(--bfo-dark) !important;
}

/* ── Walk Me Through — email fallback ── */
.bfo-walkme-email {
	font-size: 11px;
	color: var(--bfo-muted);
	margin: 3px 0 0;
}

/* ── Pricing bar — placeholder state ── */
#bfo-total[data-empty="1"],
#bfo-total:not([data-empty]) {
	font-size: 12px;
	opacity: 0.7;
}

/* ── Step 2 footer — split layout (back left, two CTAs right) ── */
.bfo-step-footer-split {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
}
.bfo-step-footer-right {
	display: flex;
	gap: 10px;
	align-items: center;
}
.bfo-step-footer-split .bfo-cta-btn { flex: 0 0 auto; width: auto; }
.bfo-step-footer-right .bfo-cta-btn { flex: 0 0 auto; width: auto; }

/* ── Wizard Timer ── */
.bfo-timer {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bfo-muted);
	white-space: nowrap;
}
.bfo-timer-est {
	color: var(--bfo-muted);
	font-weight: 500;
}
.bfo-timer-sep {
	color: var(--bfo-border);
}
.bfo-timer-live {
	color: var(--bfo-primary);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	min-width: 32px;
	text-align: right;
}
/* If they go over 5 min, gently shift colour — no alarm, just visual feedback */
.bfo-timer-over .bfo-timer-live {
	color: var(--bfo-muted);
}
.bfo-timer-over .bfo-timer-est::after {
	content: ' — take your time!';
	font-weight: 400;
	font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════
   TURBOTAX QUESTION SEQUENCE — Step 1
   ═══════════════════════════════════════════════════════════════ */

/* Outer wrapper — clips the slide animations */
.bfo-qs {
	position: relative;
	overflow: hidden;
	min-height: 320px;
}

/* Every screen starts hidden */
.bfo-qs-screen {
	display: none;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 56px 40px 48px;
	animation-duration: 260ms;
	animation-timing-function: cubic-bezier(.4,0,.2,1);
	animation-fill-mode: both;
}

/* Active screen is visible */
.bfo-qs-screen.bfo-qs-active {
	display: flex;
}

/* Slide transitions */
@keyframes bfoSlideInRight  { from { transform: translateX(60px); opacity:0; } to { transform: none; opacity:1; } }
@keyframes bfoSlideInLeft   { from { transform: translateX(-60px);opacity:0; } to { transform: none; opacity:1; } }
@keyframes bfoSlideOutLeft  { from { transform: none; opacity:1; } to { transform: translateX(-60px);opacity:0; } }
@keyframes bfoSlideOutRight { from { transform: none; opacity:1; } to { transform: translateX(60px); opacity:0; } }

.bfo-qs-slide-in-right  { animation-name: bfoSlideInRight;  }
.bfo-qs-slide-in-left   { animation-name: bfoSlideInLeft;   }
.bfo-qs-slide-out-left  { animation-name: bfoSlideOutLeft;  pointer-events:none; }
.bfo-qs-slide-out-right { animation-name: bfoSlideOutRight; pointer-events:none; }

/* Big centred question text */
.bfo-qs-q {
	font-size: 26px;
	font-weight: 700;
	color: var(--bfo-primary);
	margin-bottom: 22px;
	line-height: 1.35;
	max-width: 900px;
}

/* State chip — small badge showing chosen state on screens 2 & 3 */
.bfo-qs-state-chip {
	display: inline-block;
	background: var(--bfo-light);
	border: 1px solid var(--bfo-border);
	color: var(--bfo-primary);
	font-size: 12px;
	font-weight: 700;
	padding: 3px 12px;
	border-radius: 20px;
	margin-bottom: 22px;
	letter-spacing: 0.04em;
}
.bfo-qs-state-chip:empty { display: none; }

/* Large centred text input */
.bfo-qs-input {
	width: 100%;
	max-width: 600px;
	padding: 16px 20px;
	font-size: 18px;
	font-family: Roboto, sans-serif;
	color: var(--bfo-dark);
	border: 2px solid var(--bfo-border);
	border-radius: var(--bfo-radius);
	text-align: center;
	margin-bottom: 24px;
	transition: border-color .15s, box-shadow .15s;
	background: #fff;
}
.bfo-qs-input:focus {
	outline: none;
	border-color: var(--bfo-primary);
	box-shadow: 0 0 0 4px rgba(7,61,151,.09);
}
.bfo-qs-input.bfo-input-err {
	border-color: #dc2626;
	animation: bfoShake .25s ease;
}
@keyframes bfoShake {
	0%,100% { transform: none; }
	25%      { transform: translateX(-6px); }
	75%      { transform: translateX(6px);  }
}

/* Number variant — slightly wider for the seat count */
.bfo-qs-input-num { max-width: 240px; }

/* Live cost line */
.bfo-qs-cost {
	font-size: 16px;
	color: var(--bfo-primary);
	font-weight: 600;
	min-height: 24px;
	margin-bottom: 6px;
}
.bfo-qs-cost strong { font-size: 20px; }

/* Small note line below cost */
.bfo-qs-cost-note {
	font-size: 11px;
	color: var(--bfo-muted);
	margin-bottom: 28px;
}

/* Back button — bottom-left ghost link */
.bfo-qs-back {
	display: none;
	background: none;
	border: none;
	color: var(--bfo-muted);
	font-size: 13px;
	font-weight: 600;
	font-family: Roboto, sans-serif;
	cursor: pointer;
	padding: 8px 4px;
	margin-top: 8px;
	transition: color .15s;
}
.bfo-qs-back:hover { color: var(--bfo-primary); }

/* Contact message for unlisted state */
.bfo-qs-other-msg {
	background: #fffbeb;
	border: 1px solid #ffbd59;
	border-radius: var(--bfo-radius);
	padding: 14px 20px;
	font-size: 13px;
	color: #78350f;
	max-width: 480px;
	margin: 0 auto;
	text-align: left;
}

/* State grid — centred, equal columns, max 5 across */
#bfo-qs-2 .bfo-state-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	width: 100%;
	max-width: 880px;
	margin-bottom: 20px;
}
@media (max-width: 700px) {
	#bfo-qs-1 .bfo-state-grid { grid-template-columns: repeat(2, 1fr); }
	.bfo-qs-q { font-size: 20px; }
	.bfo-qs-input { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   NEW QUESTION-SEQUENCE STYLES — v3.3.6
   ═══════════════════════════════════════════════════════════════ */

/* Replace slide animations with fade */
@keyframes bfoFadeIn  { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
@keyframes bfoFadeOut { from { opacity:1; transform:none; } to { opacity:0; transform:translateY(-8px); } }

.bfo-qs-fade-in  { animation: bfoFadeIn  750ms cubic-bezier(.25,0,.25,1) both; }
.bfo-qs-fade-out { animation: bfoFadeOut 750ms cubic-bezier(.25,0,.25,1) both; pointer-events:none; }

/* Remove old slide animations now replaced by fade */
.bfo-qs-slide-in-right,
.bfo-qs-slide-in-left,
.bfo-qs-slide-out-left,
.bfo-qs-slide-out-right { animation: none; }

/* QS wrapper height — gives fade room without jumping */
.bfo-step-qs .bfo-qs { min-height: 520px; }

/* Welcome screen — centred, generous padding */
.bfo-qs-welcome {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 40px 36px 36px;
	width: 100%;
	background: linear-gradient(135deg, var(--bfo-dark) 0%, var(--bfo-primary) 60%, var(--bfo-blue) 100%);
	border-radius: 14px;
	color: #fff;
}
/* Welcome screen text colours */
.bfo-qs-welcome .bfo-hero-pre { color: var(--bfo-yellow); }
.bfo-qs-welcome .bfo-hero-title { color: #fff; font-size: 32px; }
.bfo-qs-welcome .bfo-hero-sub { color: #c8dcf7; }

/* Feature cards outside the gradient on screen 1 */
#bfo-qs-1 .bfo-features-qs {
	margin: 20px 0 0;
}
#bfo-qs-1 .bfo-feature-card {
	background: #fff;
	border: 1px solid #dce6f5;
}
#bfo-qs-1 .bfo-feature-title { color: #073d97 !important; }
#bfo-qs-1 .bfo-feature-desc  { color: #000 !important; }
#bfo-qs-1 .bfo-feature-icon  {
	background: #073d97 !important;
	color: #fff !important;
	border-radius: 10px !important;
}
#bfo-qs-1 .bfo-feature-icon svg { stroke: #fff !important; }
.bfo-features-qs {
	margin: 24px 0 32px;
}

/* Sub-text below role question */
.bfo-qs-sub {
	font-size: 14px;
	color: var(--bfo-muted);
	max-width: 540px;
	margin: -14px auto 28px;
	line-height: 1.7;
	text-align: center;
}

/* Two-button row */
.bfo-qs-two-btns {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: nowrap;
}
.bfo-qs-two-btns .bfo-cta-btn {
	width: auto !important;
	flex: 0 0 auto;
	white-space: nowrap;
	padding-left: 28px;
	padding-right: 28px;
}
@media (max-width: 560px) {
	.bfo-qs-two-btns { flex-wrap: wrap; }
	.bfo-qs-two-btns .bfo-cta-btn { min-width: 0; width: 100%; flex: 0 0 100%; }
}

/* Chips row on screen 4 */
.bfo-qs-chips {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

/* Facility counter badge on screen 2 */
.bfo-qs-facility-counter {
	font-size: 11px;
	font-weight: 700;
	color: var(--bfo-primary);
	background: var(--bfo-light);
	border: 1px solid var(--bfo-border);
	border-radius: 20px;
	padding: 3px 12px;
	margin-bottom: 16px;
	text-align: center;
}

/* Facility summary cards on screen 5 */
.bfo-qs-facility-list {
	width: 100%;
	max-width: 640px;
	margin: 0 auto 24px;
}
.bfo-qs-fac-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--bfo-light);
	border: 1px solid var(--bfo-border);
	border-radius: 8px;
	padding: 10px 16px;
	margin-bottom: 8px;
}
.bfo-qs-fac-name { font-weight: 700; color: var(--bfo-primary); font-size: 14px; }
.bfo-qs-fac-meta { font-size: 12px; color: var(--bfo-muted); }

/* Role info cards when shown in QS flow — narrower for cleaner look */
.bfo-intro-cards-stacked {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
	max-width: 800px;
	text-align: left;
	align-items: stretch;
}
.bfo-intro-cards-stacked .bfo-intro-card {
	width: 100%;
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

/* Prominent "roles can be updated anytime" box in step2 */
.bfo-roles-anytime-box {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-left: 4px solid var(--bfo-primary);
	border-radius: 8px;
	padding: 14px 18px;
	font-size: 13px;
	color: var(--bfo-text);
	line-height: 1.7;
	margin: 18px 0;
}

/* Add-ons section B header text */
.bfo-s2-addons-desc {
	font-size: 14px;
	color: var(--bfo-muted);
	margin: 0 0 6px;
	line-height: 1.6;
}
.bfo-s2-addons-note {
	font-size: 12px;
	color: var(--bfo-muted);
	margin: 0 0 20px;
}
.bfo-s2-facility-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--bfo-light);
	border: 1px solid var(--bfo-border);
	border-left: 3px solid var(--bfo-primary);
	border-radius: 6px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 700;
	color: var(--bfo-primary);
	margin-bottom: 18px;
}

/* Make the add-ons cards-wrap visible by default in section B */
#bfo-s2-addons-view .bfo-addon-cards-wrap { display: block !important; }
#bfo-s2-addons-view .bfo-addon-view-btn   { display: none !important; }

/* ── Fix 7: Delete button on facility cards ── */
.bfo-qs-fac-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.bfo-qs-fac-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.bfo-qs-fac-del {
	background: none;
	border: 1px solid #fca5a5;
	color: #dc2626;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
	transition: background .15s;
	font-family: inherit;
}
.bfo-qs-fac-del:hover { background: #fef2f2; }

/* ── Fix 8: Eyebrow label + follow-up question ── */
.bfo-qs-eyebrow {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--bfo-muted);
	margin-bottom: 12px;
}
.bfo-qs-q-follow {
	font-size: 20px;
	margin-top: 24px;
	margin-bottom: 8px;
	color: var(--bfo-primary);
	max-width: 900px;
}

/* ── Fix 10: Facility name in add-ons header ── */
.bfo-s2-addons-facility {
	font-size: 13px;
	color: var(--bfo-muted);
	margin: -4px 0 18px;
}

/* ── Fix 2: Screen 4 — split greeting + question onto separate lines ── */
.bfo-qs-4-sub {
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: var(--bfo-primary);
	margin-top: 14px;
	line-height: 1.3;
}
#bfo-qs-4 #bfo-qs-4-q {
	font-size: 24px;
	margin-bottom: 18px;
}

/* ── Fix 5: Add-ons section B — clean centered header ── */
.bfo-s2-addons-hdr {
	text-align: center;
	margin-bottom: 24px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--bfo-border);
}
.bfo-s2-addons-facility-label {
	font-size: 12px;
	font-weight: 700;
	color: var(--bfo-primary);
	background: var(--bfo-light);
	display: inline-block;
	padding: 3px 14px;
	border-radius: 20px;
	margin: 6px 0 8px;
	letter-spacing: 0.04em;
}

/* ── Welcome screen: primary blue Get Started button ── */
#bfo-qs-1 .bfo-cta-btn {
	background: #073d97 !important;
	color: #fff !important;
	font-weight: 900;
	margin-top: 32px !important;
}
#bfo-qs-1 .bfo-cta-btn:hover { background: #052d72 !important; color: #fff !important; }

/* ── Screen 6: Roles statement as subtle lead-in ── */
#bfo-qs-6 .bfo-qs-q:first-of-type {
	font-weight: 400;
	color: #1a2340;
	font-size: 22px;
}

/* ── Fix 3: Screen 4 greeting — plain lead-in, not bold ── */
.bfo-qs-4-greeting {
	display: block;
	font-weight: 400;
	color: #1a2340;
	font-size: 18px;
	margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   ACCOUNT GATE — logged-out view (v3.5.1)
   Mirrors the welcome screen (#bfo-qs-1) so the gate reads as
   step zero of the builder rather than a bolted-on notice.
   ═══════════════════════════════════════════════════════════════ */
.bfo-wizard-gate {
	max-width: 900px;
	padding-bottom: 56px;
}
.bfo-gate {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 40px 0 8px;
}
.bfo-gate .bfo-qs-welcome {
	padding: 40px 36px 36px;
}
.bfo-gate .bfo-hero-title { font-size: 30px; }
.bfo-gate .bfo-hero-sub   { max-width: 560px; }

/* Feature cards sit outside the gradient, same treatment as screen 1 */
.bfo-gate .bfo-features-qs { margin: 20px 0 0; width: 100%; }
.bfo-gate .bfo-feature-card {
	background: #fff;
	border: 1px solid #dce6f5;
}
.bfo-gate .bfo-feature-title { color: var(--bfo-primary); }
.bfo-gate .bfo-feature-desc  { color: var(--bfo-text); }
.bfo-gate .bfo-feature-icon {
	background: var(--bfo-primary);
	color: #fff;
	border-radius: 10px;
}
.bfo-gate .bfo-feature-icon svg { stroke: #fff; }

/* Buttons — same pairing as the wizard's two-button rows */
.bfo-gate-btns {
	margin-top: 32px;
	align-items: stretch;
}
.bfo-gate-btns .bfo-cta-btn {
	font-weight: 900;
	text-decoration: none;
}

.bfo-gate-note {
	font-size: 13px;
	color: var(--bfo-muted);
	line-height: 1.7;
	margin: 20px 0 0;
}

@media (max-width: 600px) {
	.bfo-gate { padding-top: 24px; }
	.bfo-gate .bfo-qs-welcome { padding: 32px 22px 28px; }
	.bfo-gate .bfo-hero-title { font-size: 25px; }
}
