/**
 * Special Enrollment form styling.
 * Brand tokens per project conventions: primary blue #1F2B8E, dark navy
 * #001C4C, orange #FA9B1C, light blue #79A2E6, cream #F3EFEC.
 * Nunito Sans (body), Bebas Neue (structural headers — loaded elsewhere on
 * the site already; not re-enqueued here per the leader-hub plugin's note
 * that doing so triggers unwanted Divi static CSS regeneration).
 */

.bpda-se {
	max-width: 720px;
	margin: 0 auto;
	font-family: 'Nunito Sans', sans-serif;
	color: #001C4C;
}

.bpda-se--invalid {
	max-width: 560px;
	text-align: center;
	padding: 2rem;
	background: #F3EFEC;
	border-radius: 6px;
}

.bpda-se__heading {
	font-family: 'Bebas Neue', sans-serif;
	color: #1F2B8E;
	font-size: 2rem;
	letter-spacing: 0.02em;
	margin-bottom: 0.25rem;
}

.bpda-se__course-name {
	color: #001C4C;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.bpda-se__course-sku {
	font-weight: 400;
	color: #79A2E6;
}

.bpda-se__lt-course-info {
	background: #F3EFEC;
	border-radius: 6px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 1.5rem;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #001C4C;
}

.bpda-se__lt-course-info h3 {
	font-family: 'Nunito Sans', sans-serif;
	font-weight: 700;
	font-size: 1rem;
	color: #1F2B8E;
	text-decoration: underline;
	margin: 1rem 0 0.4rem !important;
}

.bpda-se__lt-course-info h3:first-child {
	margin-top: 0 !important;
}

.bpda-se__lt-course-info p {
	margin: 0 0 0.6rem !important;
}

.bpda-se__lt-course-info ul {
	margin: 0 0 0.6rem !important;
	padding-left: 1.25rem;
}

.bpda-se__lt-course-info li {
	margin: 0 0 0.2rem !important;
	padding: 0;
}

.bpda-se__lt-course-info li:last-child {
	margin-bottom: 0 !important;
}

.bpda-se__lt-course-info li > ul {
	margin: 0.2rem 0 0 !important;
}

.bpda-se__lt-course-info li > ul > li:last-child {
	margin-bottom: 0 !important;
}

.bpda-se__demographics-intro {
	font-size: 0.9rem;
	color: #001C4C;
	background: #F3EFEC;
	border-radius: 6px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.25rem;
	line-height: 1.5;
}

.bpda-se__mstr-block {
	background: #F3EFEC;
	border-radius: 6px;
	padding: 1rem 1.25rem;
	margin-top: 0.5rem;
}

.bpda-se__mstr-intro {
	font-size: 0.9rem;
	line-height: 1.5;
	margin-bottom: 0.75rem;
}

.bpda-se__mstr-intro a {
	color: #1F2B8E;
	font-weight: 700;
}

.bpda-se__coc-text {
	max-height: 400px;
	overflow-y: auto;
	border: 1px solid #79A2E6;
	border-radius: 6px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 1.5rem;
	background: #fff;
	font-size: 0.9rem;
	line-height: 1.6;
}

.bpda-se__coc-title {
	font-family: 'Bebas Neue', sans-serif;
	color: #1F2B8E;
	font-size: 1.4rem;
	letter-spacing: 0.02em;
	margin: 0 0 0.25rem;
}

.bpda-se__coc-subtitle {
	font-style: italic;
	color: #001C4C;
	margin: 0 0 1.25rem;
}

.bpda-se__coc-text h4 {
	font-family: 'Bebas Neue', sans-serif;
	color: #1F2B8E;
	font-size: 1.1rem;
	letter-spacing: 0.02em;
	margin: 1.5rem 0 0.5rem;
}

.bpda-se__coc-text h5 {
	color: #001C4C;
	font-size: 0.95rem;
	font-weight: 700;
	margin: 1.25rem 0 0.4rem;
}

.bpda-se__coc-text p,
.bpda-se__coc-text ul {
	margin: 0 0 0.75rem;
}

.bpda-se__coc-text ul {
	padding-left: 1.25rem;
}

.bpda-se__coc-text li {
	margin-bottom: 0.4rem;
}

.bpda-se__subheading {
	font-family: 'Bebas Neue', sans-serif;
	color: #1F2B8E;
	font-size: 1.25rem;
	letter-spacing: 0.02em;
	margin: 1.5rem 0 0.5rem;
}

.bpda-se__fieldset {
	border: none;
	padding: 0;
	margin: 0 0 2rem;
}

.bpda-se__fieldset legend {
	font-weight: 700;
	color: #1F2B8E;
	font-size: 1rem;
	margin-bottom: 1rem;
	padding: 0;
}

.bpda-se__field {
	margin-bottom: 1rem;
}

.bpda-se__field label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	color: #001C4C;
	margin-bottom: 0.3rem;
}

.bpda-se__field input[type="text"],
.bpda-se__field input[type="email"],
.bpda-se__field input[type="tel"],
.bpda-se__field input[type="password"],
.bpda-se__field select {
	width: 100%;
	max-width: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid #79A2E6;
	border-radius: 4px;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 1rem;
	background: #fff;
	color: #001C4C;
}

.bpda-se__field input:focus,
.bpda-se__field select:focus {
	outline: none;
	border-color: #1F2B8E;
	box-shadow: 0 0 0 2px rgba(31, 43, 142, 0.15);
}

.bpda-se__field--error input,
.bpda-se__field--error select {
	border-color: #c0392b;
}

.bpda-se__field-note {
	margin: -0.7rem 0 1rem;
	font-size: 0.85rem;
	color: #555;
	line-height: 1.4;
}

.bpda-se__email-exists-note {
	color: #c0392b;
	font-weight: 600;
}

.bpda-se__email-exists-note a {
	color: #c0392b;
	text-decoration: underline;
}

.bpda-se__required {
	color: #c0392b;
	margin-left: 2px;
}

.bpda-se__field--checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 400;
}

.bpda-se__field--checkbox input[type="checkbox"] {
	margin-top: 0.2rem;
	flex-shrink: 0;
}

.bpda-se__field--checkbox-group .bpda-se__group-label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.bpda-se__checkbox-option {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 400;
	margin-bottom: 0.4rem;
}

.bpda-se__loved-one {
	background: #F3EFEC;
	border-radius: 6px;
	padding: 1rem 1.25rem;
	margin-bottom: 1rem;
}

.bpda-se__loved-one .bpda-se__subheading {
	margin-top: 0;
}

.bpda-se__conditional {
	margin-top: 0.5rem;
}


.bpda-se__nav {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.5rem;
}

.bpda-se__nav button {
	font-family: 'Nunito Sans', sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 0.7rem 1.75rem;
	border-radius: 4px;
	border: none;
	cursor: pointer;
}

.bpda-se__next,
.bpda-se__submit {
	background: #FA9B1C;
	color: #fff;
	margin-left: auto;
}

.bpda-se__next:hover,
.bpda-se__submit:hover {
	background: #e08a10;
}

.bpda-se__prev {
	background: transparent;
	color: #1F2B8E;
	border: 1px solid #1F2B8E !important;
}

.bpda-se__prev:hover {
	background: #F3EFEC;
}

.bpda-se__errors {
	color: #c0392b;
	font-weight: 600;
	margin-top: 1rem;
}

.bpda-se__errors:empty {
	display: none;
}

@media ( max-width: 600px ) {
	.bpda-se {
		padding: 0 1rem;
	}
	.bpda-se__nav {
		flex-direction: column-reverse;
	}
	.bpda-se__next,
	.bpda-se__submit,
	.bpda-se__prev {
		width: 100%;
		margin-left: 0;
	}
}
