/* MPF Events & Registration */
.mpfe {
	--mpfe-navy: #1b4b7a;
	--mpfe-navy-dark: #133a60;
	--mpfe-ink: #1f2933;
	--mpfe-muted: #5f6b7a;
	--mpfe-line: #d9dee5;
	--mpfe-soft: #f4f6f9;
	--mpfe-error: #b42318;
	--mpfe-green: #2e7d32;
	color: var(--mpfe-ink);
	font-size: 16px;
	line-height: 1.5;
	max-width: 860px;
}
.mpfe *, .mpfe *::before, .mpfe *::after { box-sizing: border-box; }
.mpfe-form { position: relative; }
.mpfe-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.mpfe-pricing-bar {
	display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline;
	background: var(--mpfe-soft); border-left: 4px solid var(--mpfe-navy);
	padding: 14px 18px; margin: 0 0 28px;
}
.mpfe-pricing-bar .mpfe-pl { display: block; font-size: 13px; color: var(--mpfe-muted); text-transform: uppercase; letter-spacing: .04em; }
.mpfe-pricing-bar strong { font-size: 22px; color: var(--mpfe-navy); }
.mpfe-each { font-size: 13px; color: var(--mpfe-muted); }
.mpfe-early { flex-basis: 100%; font-size: 14px; color: var(--mpfe-green); font-weight: 600; }

.mpfe-section { margin: 0 0 32px; }
.mpfe-h { font-size: 20px; color: var(--mpfe-navy); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--mpfe-line); }
.mpfe-optional { font-size: 14px; color: var(--mpfe-muted); font-weight: normal; }
.mpfe-sub { color: var(--mpfe-muted); font-size: 15px; margin: -4px 0 16px; }

.mpfe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 16px; margin-bottom: 14px; }
.mpfe-w-full { grid-column: span 4; }
.mpfe-w-half { grid-column: span 2; }
.mpfe-w-quarter { grid-column: span 1; }
@media (max-width: 640px) {
	.mpfe-grid { grid-template-columns: 1fr 1fr; }
	.mpfe-w-full, .mpfe-w-half { grid-column: span 2; }
	.mpfe-w-quarter { grid-column: span 1; }
}

.mpfe-field label, .mpfe-choices legend { display: block; font-size: 14px; font-weight: 600; margin: 0 0 5px; color: var(--mpfe-ink); }
.mpfe-req { color: var(--mpfe-error); }
.mpfe .mpfe-field input[type=text], .mpfe .mpfe-field input[type=email], .mpfe .mpfe-field input[type=tel],
.mpfe .mpfe-field select, .mpfe .mpfe-field textarea {
	width: 100%; min-height: 44px; padding: 9px 12px; margin: 0;
	border: 1px solid var(--mpfe-line); border-radius: 4px; background: #fff;
	font: inherit; font-size: 16px; color: var(--mpfe-ink); box-shadow: none;
}
.mpfe .mpfe-field textarea { min-height: 96px; }
.mpfe .mpfe-field input:focus, .mpfe .mpfe-field select:focus, .mpfe .mpfe-field textarea:focus {
	outline: none; border-color: var(--mpfe-navy); box-shadow: 0 0 0 3px rgba(27, 75, 122, .15);
}
.mpfe-help { display: block; color: var(--mpfe-muted); font-size: 13px; margin-top: 4px; }
.mpfe-choices { border: 0; padding: 0; margin: 0; }
.mpfe-choice { display: flex; gap: 8px; align-items: flex-start; font-weight: normal !important; margin: 4px 0; cursor: pointer; }
.mpfe-choice input { margin-top: 4px; width: 16px; height: 16px; flex: 0 0 auto; }
.mpfe-invalid input, .mpfe-invalid select, .mpfe-invalid textarea { border-color: var(--mpfe-error) !important; }
.mpfe-choices.mpfe-invalid legend, .mpfe-invalid > label { color: var(--mpfe-error); }

.mpfe-extra { border: 1px solid var(--mpfe-line); border-radius: 6px; padding: 14px 16px 2px; margin: 0 0 14px; background: #fff; }
.mpfe-extra-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mpfe-extra-title { color: var(--mpfe-navy); }
.mpfe .mpfe-remove { background: none; border: 0; color: var(--mpfe-error); font-size: 14px; cursor: pointer; padding: 4px 0; text-decoration: underline; }

.mpfe .mpfe-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 46px; padding: 10px 22px; border-radius: 4px; cursor: pointer;
	font: inherit; font-size: 16px; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
	transition: background .15s ease, color .15s ease; text-transform: none;
}
.mpfe .mpfe-btn-primary { background: var(--mpfe-navy); color: #fff; border: 1px solid var(--mpfe-navy); width: 100%; }
.mpfe .mpfe-btn-primary:hover { background: var(--mpfe-navy-dark); }
.mpfe .mpfe-btn-outline { background: #fff; color: var(--mpfe-navy); border: 1px solid var(--mpfe-navy); }
.mpfe .mpfe-btn-outline:hover { background: var(--mpfe-soft); }

.mpfe-summary { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.mpfe-summary td, .mpfe-summary th { padding: 10px 8px; border-bottom: 1px solid var(--mpfe-line); text-align: left; }
.mpfe-summary .mpfe-qty { width: 60px; text-align: center; color: var(--mpfe-muted); }
.mpfe-summary .mpfe-amt { text-align: right; white-space: nowrap; }
.mpfe-summary tfoot th { font-size: 18px; color: var(--mpfe-navy); border-bottom: 2px solid var(--mpfe-navy); }

.mpfe-terms { max-height: 180px; overflow: auto; font-size: 14px; color: var(--mpfe-muted); background: var(--mpfe-soft); padding: 12px 14px; border-radius: 4px; margin-bottom: 10px; }
.mpfe-terms p { margin: 0 0 8px; }
.mpfe-agree { margin: 0 0 20px; font-size: 15px; }

.mpfe-methods { display: grid; gap: 8px; margin: 0 0 18px; }
.mpfe-method { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--mpfe-line); border-radius: 6px; cursor: pointer; }
.mpfe-method:has(input:checked) { border-color: var(--mpfe-navy); background: var(--mpfe-soft); }
.mpfe-method input { width: 18px; height: 18px; margin: 0; }

.mpfe-pay { max-width: 460px; }
.mpfe-card-fields { margin-bottom: 12px; }
.mpfe-cf { min-height: 50px; }
.mpfe-cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.mpfe-or { display: flex; align-items: center; gap: 10px; color: var(--mpfe-muted); font-size: 13px; margin: 16px 0; }
.mpfe-or::before, .mpfe-or::after { content: ""; flex: 1; border-top: 1px solid var(--mpfe-line); }
.mpfe-secure { font-size: 13px; color: var(--mpfe-muted); margin: 10px 0 0; }
.mpfe-note { background: var(--mpfe-soft); border-left: 4px solid var(--mpfe-navy); padding: 12px 16px; margin: 0 0 16px; font-size: 15px; }
.mpfe-note p:last-child { margin-bottom: 0; }

.mpfe-errors { margin: 18px 0 0; padding: 12px 16px; border: 1px solid var(--mpfe-error); background: #fef3f2; color: var(--mpfe-error); border-radius: 4px; font-size: 15px; }
.mpfe-errors ul { margin: 6px 0 0 18px; padding: 0; }
.mpfe-error-inline { color: var(--mpfe-error); }
.mpfe-admin-note { font-size: 13px; background: #fff8e1; border: 1px solid #f0c36d; padding: 6px 10px; border-radius: 4px; }
.mpfe-closed { padding: 16px; background: var(--mpfe-soft); border-left: 4px solid var(--mpfe-navy); }

.mpfe-busy { position: absolute; inset: 0; background: rgba(255, 255, 255, .8); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 5; }
.mpfe-busy[hidden] { display: none; }
.mpfe-spinner { width: 42px; height: 42px; border: 4px solid var(--mpfe-line); border-top-color: var(--mpfe-navy); border-radius: 50%; animation: mpfe-spin .8s linear infinite; }
@keyframes mpfe-spin { to { transform: rotate(360deg); } }

.mpfe-done { outline: none; }
.mpfe-done-inner { border: 1px solid var(--mpfe-line); border-top: 4px solid var(--mpfe-green); padding: 28px; border-radius: 6px; }
.mpfe-done h3 { color: var(--mpfe-navy); margin: 0 0 6px; font-size: 24px; }
.mpfe-check-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--mpfe-green); color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.mpfe-ref { font-size: 17px; }
.mpfe-names { margin: 0; padding-left: 18px; }

.mpfe-pay-payflow { max-width: 560px; }
.mpfe-cardbox { padding: 16px; border: 1px solid var(--mpfe-line); border-radius: 6px; background: #fff; }
.mpfe-cardbox .mpfe-field input { letter-spacing: .02em; }
.mpfe-link { background: none; border: 0; padding: 0; margin: 12px 0 0; color: var(--mpfe-navy); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; display: block; }
.mpfe-link[hidden] { display: none; }
.mpfe-locked .mpfe-review > :not(.mpfe-methods):not(.mpfe-pay):not(.mpfe-errors):not(.mpfe-turnstile) { opacity: .75; }
.mpfe-locked .mpfe-section:not(.mpfe-review), .mpfe-locked .mpfe-methods, .mpfe-locked .mpfe-add { pointer-events: none; opacity: .6; }
.mpfe-turnstile { margin: 14px 0 0; min-height: 0; }
.mpfe-turnstile.mpfe-invalid { outline: 2px solid var(--mpfe-error); outline-offset: 4px; border-radius: 4px; }
