.learning-templates-lxp-form {
	max-width: 640px;
	margin: 1.5em 0;
}

.learning-templates-lxp-form-section-title {
	margin: 1.25em 0 0.5em;
	font-size: 1.1em;
}

.learning-templates-lxp-form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	margin: 0 0 1em;
	align-items: flex-start;
}

.learning-templates-lxp-form-field--half {
	flex: 1 1 calc(50% - 0.5em);
	min-width: 12rem;
	margin: 0;
}

.learning-templates-lxp-form-field--full {
	margin: 0 0 1em;
}

.learning-templates-lxp-form-field {
	padding: 0;
	border: 0;
}

.learning-templates-lxp-form-field label {
	display: block;
	margin-bottom: 0.35em;
	font-weight: 600;
	line-height: 1.4;
}

.learning-templates-lxp-form-label-row {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35em;
	margin-bottom: 0.35em;
}

.learning-templates-lxp-form-label-row > label {
	display: inline;
	margin: 0;
}

.learning-templates-lxp-form-checkbox-text .learning-templates-lxp-form-label-row {
	margin-bottom: 0;
}

.learning-templates-lxp-hint {
	position: relative;
	display: inline-flex;
	vertical-align: middle;
	flex-shrink: 0;
}

.learning-templates-lxp-hint__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	border: 1px solid #2271b1;
	border-radius: 50%;
	background: #fff;
	color: #2271b1;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.learning-templates-lxp-hint__trigger:hover,
.learning-templates-lxp-hint__trigger:focus {
	background: #2271b1;
	color: #fff;
	outline: 2px solid transparent;
	box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2271b1;
}

.learning-templates-lxp-hint__popover {
	position: absolute;
	z-index: 100;
	top: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	min-width: 220px;
	max-width: 320px;
	padding: 10px 12px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: #1d2327;
	text-align: left;
}

.learning-templates-lxp-hint__popover[hidden] {
	display: none !important;
}

.learning-templates-lxp-hint.is-open .learning-templates-lxp-hint__popover {
	display: block;
}

.learning-templates-lxp-form-field-checkbox {
	display: flex;
	align-items: center;
	margin: 0;
}

.learning-templates-lxp-form-field-checkbox .learning-templates-lxp-form-checkbox-label {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 0.625em;
	margin: 0;
	padding: 0;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.4;
}

.learning-templates-lxp-form .learning-templates-lxp-form-field-checkbox .learning-templates-lxp-form-checkbox-label input[type="checkbox"] {
	flex-shrink: 0;
	width: 1.125rem;
	height: 1.125rem;
	min-width: 1.125rem;
	min-height: 1.125rem;
	max-width: none;
	margin: 0;
	padding: 0;
	vertical-align: middle;
	position: relative;
	top: 0;
}

.learning-templates-lxp-form-field-checkbox .learning-templates-lxp-form-checkbox-text {
	display: block;
	line-height: 1.4;
}

/* Align checkbox with the input row when beside label+input fields. */
.learning-templates-lxp-form-row .learning-templates-lxp-form-field-checkbox {
	padding-top: calc(1.4em + 0.35em);
	box-sizing: border-box;
}

.learning-templates-lxp-form-field .required {
	color: #b32d2e;
}

.learning-templates-lxp-form-field input[type="text"],
.learning-templates-lxp-form-field input[type="email"],
.learning-templates-lxp-form-field input[type="password"],
.learning-templates-lxp-form-field input[type="tel"],
.learning-templates-lxp-form-field textarea,
.learning-templates-lxp-form-field select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.learning-templates-lxp-form-captcha-row {
	margin: 1em 0;
}

.learning-templates-lxp-form-submit-row {
	margin-top: 1em;
}

.learning-templates-lxp-form-success {
	color: #007017;
}

.learning-templates-lxp-form-error {
	color: #b32d2e;
}

.learning-templates-lxp-form-notice {
	padding: 0.75em 1em;
	background: #f6f7f7;
	border-left: 4px solid #72aee6;
}

.learning-templates-lxp-form-co-manager-list {
	margin: 0 0 0.75em;
	padding: 0;
	list-style: none;
}

.learning-templates-lxp-form-co-manager-list li {
	margin: 0.25em 0;
}

.learning-templates-lxp-form-co-manager-add {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	align-items: center;
}

.learning-templates-lxp-form-co-manager-add .learning-templates-lxp-form-co-manager-person {
	flex: 1 1 12em;
	width: auto;
}

.learning-templates-lxp-form-co-manager-add select {
	flex: 0 1 14em;
	width: auto;
}

.learning-templates-lxp-form .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* ILT checkout: session, seats, and additional attendees. */
.learning-templates-lxp-ilt-group {
	padding: 1em;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #fff;
}

.learning-templates-lxp-ilt-group__legend {
	padding: 0 0.35em;
	font-weight: 600;
}

.learning-templates-lxp-ilt-group__help {
	margin: 0 0 1em;
}

.learning-templates-lxp-ilt-group__row {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	margin: 0 0 0.75em;
}

.learning-templates-lxp-ilt-group__session {
	flex: 1 1 18rem;
}

.learning-templates-lxp-ilt-group__seats {
	flex: 0 0 calc(11rem + 10px);
}

.learning-templates-lxp-ilt-group__seats input[type="number"] {
	width: 100%;
	box-sizing: border-box;
}

.learning-templates-lxp-form-field label.learning-templates-lxp-ilt-group__buyer {
	display: flex;
	align-items: center;
	gap: 0.5em;
	font-weight: 400;
}

.learning-templates-lxp-ilt-group__buyer-note {
	margin: 0 0 0.75em;
}

.learning-templates-lxp-ilt-group__attendees {
	margin-top: 1em;
}

.learning-templates-lxp-ilt-group__attendees[hidden] {
	display: none;
}

.learning-templates-lxp-ilt-group__attendees-title {
	margin: 0 0 0.25em;
	font-weight: 600;
}

.learning-templates-lxp-ilt-group__attendee-count {
	margin: 0 0 0.75em;
}

.learning-templates-lxp-ilt-attendee {
	margin: 0 0 0.75em;
	padding: 0.75em;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #f6f7f7;
}

.learning-templates-lxp-ilt-attendee__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5em;
}

.learning-templates-lxp-ilt-attendee__title {
	margin: 0;
	font-weight: 600;
}

.learning-templates-lxp-ilt-attendee__remove {
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid #c3c4c7;
	border-radius: 50%;
	background: #fff;
	color: #b32d2e;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.learning-templates-lxp-ilt-attendee__remove:hover,
.learning-templates-lxp-ilt-attendee__remove:focus {
	border-color: #b32d2e;
}

.learning-templates-lxp-ilt-attendee__fields {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75em;
}

@media (max-width: 640px) {
	.learning-templates-lxp-ilt-attendee__fields {
		grid-template-columns: 1fr;
	}
}

.learning-templates-lxp-ilt-group__add {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
}

.learning-templates-lxp-ilt-group__add span {
	font-size: 1.2em;
	font-weight: 700;
	line-height: 1;
}

.learning-templates-lxp-ilt-group__notice {
	margin: 0.75em 0 0;
	color: #b32d2e;
}

.learning-templates-lxp-ilt-group__notice[hidden] {
	display: none;
}

.learning-templates-lxp-ilt-group--preview {
	opacity: 0.85;
}

/* Quote request: delivery, address, attendees, preferred date. */
.learning-templates-lxp-quote {
	padding: 1em;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #fff;
}

.learning-templates-lxp-quote__legend {
	padding: 0 0.35em;
	font-weight: 600;
}

.learning-templates-lxp-quote__help {
	margin: 0 0 1em;
}

.learning-templates-lxp-quote__label {
	display: block;
	margin-bottom: 0.35em;
	font-weight: 600;
}

.learning-templates-lxp-quote__choices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
	gap: 0.5em;
	margin: 0 0 1em;
}

.learning-templates-lxp-form-field label.learning-templates-lxp-quote__choice {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin: 0;
	padding: 0.65em 0.75em;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	font-weight: 500;
	cursor: pointer;
}

.learning-templates-lxp-form-field label.learning-templates-lxp-quote__choice:has(input:checked) {
	border-color: currentColor;
	box-shadow: inset 0 0 0 1px currentColor;
}

.learning-templates-lxp-quote__choice input[type="radio"] {
	margin: 0;
	flex: 0 0 auto;
}

.learning-templates-lxp-quote__address,
.learning-templates-lxp-quote__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75em 1em;
	margin: 0 0 0.75em;
}

.learning-templates-lxp-quote__address[hidden] {
	display: none;
}

.learning-templates-lxp-quote__cell--full {
	grid-column: 1 / -1;
}

.learning-templates-lxp-quote__cell input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

@media (max-width: 640px) {
	.learning-templates-lxp-quote__address,
	.learning-templates-lxp-quote__row {
		grid-template-columns: 1fr;
	}
}

.learning-templates-lxp-form-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.learning-templates-lxp-form.is-submitted .learning-templates-lxp-form-inner > :not(.learning-templates-lxp-form-messages) {
	display: none;
}
