/* Birth Plan Builder (bp- prefix) */

/* ── Progress Card ── */
.bp-progress-card {
	max-width: 560px;
	margin: -16px auto 24px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(61,47,80,0.10);
	padding: 28px 32px;
	text-align: center;
	position: relative;
	z-index: 2;
}
.bp-progress-title {
	font-size: 15px;
	color: #695A80;
	margin-bottom: 8px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.bp-progress-count {
	font-size: 28px;
	font-weight: 800;
	color: #3D2F50;
	margin-bottom: 12px;
}
.bp-progress-bar-wrap {
	height: 12px;
	background: #f0edf5;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 8px;
}
.bp-progress-bar {
	height: 100%;
	width: 0%;
	background: linear-gradient(135deg, #7BC8B8, #5aa898);
	border-radius: 6px;
	transition: width 0.4s ease;
}
.bp-progress-pct {
	font-size: 14px;
	color: #695A80;
	font-weight: 600;
}
.bp-progress-actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-top: 12px;
}

/* ── Buttons ── */
.bp-btn {
	padding: 10px 24px;
	border-radius: 24px;
	border: none;
	font-size: 14px;
	font-weight: 700;
	font-family: 'Nunito', sans-serif;
	cursor: pointer;
	transition: all 0.2s;
}
.bp-btn-sm {
	padding: 7px 18px;
	font-size: 13px;
}
.bp-btn-icon {
	width: 14px;
	height: 14px;
	vertical-align: -2px;
	margin-right: 4px;
}
.bp-btn-download {
	background: linear-gradient(135deg, #7BC8B8, #5aa898);
	color: #fff;
}
.bp-btn-download:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(123,200,184,0.3);
}
.bp-btn-reset {
	background: #f0edf5;
	color: #695A80;
}
.bp-btn-reset:hover {
	background: #e5e0ee;
}

/* ── Sticky Bar ── */
.bp-sticky-bar {
	position: sticky;
	top: 0;
	height: 4px;
	background: #f0edf5;
	z-index: 100;
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}
.bp-sticky-bar.bp-sticky-visible {
	opacity: 1;
}
.bp-sticky-fill {
	height: 100%;
	width: 0%;
	background: linear-gradient(135deg, #7BC8B8, #5aa898);
	transition: width 0.4s ease;
}

/* ── Sections ── */
.bp-sections {
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}
.bp-section {
	background: #fff;
	border: 1.5px solid rgba(139,123,184,0.10);
	border-radius: 14px;
	margin-bottom: 16px;
	overflow: hidden;
}
.bp-section-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 20px;
	border-bottom: 1px solid rgba(139,123,184,0.08);
}
.bp-section-emoji {
	font-size: 24px;
	line-height: 1;
}
.bp-section-name {
	font-size: 16px;
	font-weight: 700;
	color: #3D2F50;
	flex: 1;
	margin: 0;
}
.bp-section-intro {
	font-size: 14px;
	color: #695A80;
	font-style: italic;
	padding: 12px 20px 0;
	margin: 0;
}

/* ── Questions ── */
.bp-questions {
	padding: 8px 0;
}
.bp-question {
	padding: 12px 20px;
}
.bp-question + .bp-question {
	border-top: 1px solid rgba(139,123,184,0.06);
}
.bp-question-label {
	font-size: 15px;
	font-weight: 700;
	color: #3D2F50;
	margin-bottom: 10px;
}

/* ── Options (radio + checkbox) ── */
.bp-options {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.bp-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 7px 12px;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.15s;
}
.bp-option:hover {
	background: rgba(139,123,184,0.04);
}
.bp-option-label {
	font-size: 15px;
	font-weight: 400;
	color: #3D2F50;
	line-height: 1.4;
}

/* Custom radio */
.bp-radio {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.bp-radio-mark {
	width: 22px;
	height: 22px;
	min-width: 22px;
	border: 2px solid #c4bdd4;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}
.bp-radio-mark::after {
	content: '';
	display: none;
	width: 10px;
	height: 10px;
	background: #fff;
	border-radius: 50%;
}
.bp-radio:checked + .bp-radio-mark {
	background: #7BC8B8;
	border-color: #7BC8B8;
}
.bp-radio:checked + .bp-radio-mark::after {
	display: block;
}

/* Custom checkbox */
.bp-checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.bp-checkmark {
	width: 22px;
	height: 22px;
	min-width: 22px;
	border: 2px solid #c4bdd4;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}
.bp-checkmark::after {
	content: '';
	display: none;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
	margin-top: -2px;
}
.bp-checkbox:checked + .bp-checkmark {
	background: #7BC8B8;
	border-color: #7BC8B8;
}
.bp-checkbox:checked + .bp-checkmark::after {
	display: block;
}

/* ── Text Inputs ── */
.bp-text-input {
	width: 100%;
	border: 1.5px solid #c4bdd4;
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 15px;
	font-family: 'Nunito', sans-serif;
	color: #3D2F50;
	outline: none;
	transition: border-color 0.2s;
	box-sizing: border-box;
}
.bp-text-input:focus {
	border-color: #7BC8B8;
}
.bp-text-input::placeholder {
	color: #b5aec4;
}

/* ── Notes ── */
.bp-note-row {
	padding: 8px 20px 12px;
}
.bp-note-toggle {
	background: none;
	border: none;
	color: #8B7BB8;
	font-size: 14px;
	font-weight: 600;
	font-family: 'Nunito', sans-serif;
	cursor: pointer;
	padding: 4px 0;
	transition: color 0.2s;
}
.bp-note-toggle:hover {
	color: #7BC8B8;
}
.bp-note-toggle.bp-note-open {
	margin-bottom: 8px;
}
.bp-note-area {
	display: none;
	width: 100%;
	border: 1.5px solid #c4bdd4;
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 14px;
	font-family: 'Nunito', sans-serif;
	color: #3D2F50;
	outline: none;
	resize: vertical;
	transition: border-color 0.2s;
	box-sizing: border-box;
}
.bp-note-area:focus {
	border-color: #7BC8B8;
}
.bp-note-area::placeholder {
	color: #b5aec4;
}
.bp-note-area.bp-note-visible {
	display: block;
}

/* ── Action Buttons (bottom) ── */
.bp-actions {
	max-width: 100%;
	margin: 0 auto 24px;
	padding: 0;
	display: flex;
	gap: 12px;
	justify-content: center;
}

/* ── Widen shared cards to match sections ── */
.calc-section-card {
	max-width: 100%;
}

/* ── FAQ ── */
.bp-faq-item {
	padding: 16px 0;
	border-top: 1px solid rgba(139,123,184,0.10);
}
.bp-faq-item:first-child {
	padding-top: 0;
	border-top: none;
}
.bp-faq-q {
	font-size: 15px;
	font-weight: 700;
	color: #3D2F50;
	margin: 0 0 6px;
}
.bp-faq-a {
	font-size: 15px;
	color: #695A80;
	margin: 0;
	line-height: 1.6;
}

/* ── Mobile ── */
@media (max-width: 600px) {
	.bp-progress-card { padding: 20px 16px; margin-left: 12px; margin-right: 12px; }
	.bp-progress-count { font-size: 24px; }
	.bp-section-header { padding: 14px 16px; }
	.bp-question { padding: 12px 16px; }
	.bp-note-row { padding: 8px 16px 12px; }
	.bp-section-intro { padding: 12px 16px 0; }
	.bp-option { padding: 7px 8px; }
}
