.sefb-panel,
.sefb-panel * {
	box-sizing: border-box;
}

.sefb-open,
.sefb-submit {
	appearance: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	transition: background-color .18s ease, color .18s ease, opacity .18s ease, transform .18s ease;
}

.sefb-open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #e88700;
	color: #fff;
	padding: 14px 24px;
}

.sefb-open:hover,
.sefb-open:focus-visible,
.sefb-submit:hover,
.sefb-submit:focus-visible {
	transform: translateY(-1px);
}

.sefb-modal[hidden] {
	display: none !important;
}

.sefb-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(0, 0, 0, .78);
	overflow-y: auto;
}

body.sefb-modal-open {
	overflow: hidden;
}

.sefb-panel {
	position: relative;
	width: 100%;
	max-width: 634px;
	margin: 0 auto;
	padding: 10px;
	background: #fff;
	color: #171717;
}

.sefb-modal .sefb-panel {
	margin: auto;
}

.sefb-heading {
	margin: 0 36px 18px;
	color: #f47c00;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
}

.sefb-intro {
	margin: 0 0 18px;
}

.sefb-intro > :first-child {
	margin-top: 0;
}

.sefb-intro > :last-child {
	margin-bottom: 0;
}

.sefb-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #222;
	cursor: pointer;
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
}

.sefb-close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.sefb-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 10px;
	row-gap: 10px;
}

.sefb-col-100 { grid-column: span 12; }
.sefb-col-75 { grid-column: span 9; }
.sefb-col-66 { grid-column: span 8; }
.sefb-col-50 { grid-column: span 6; }
.sefb-col-33 { grid-column: span 4; }
.sefb-col-25 { grid-column: span 3; }

.sefb-field,
.sefb-fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.sefb-label,
.sefb-fieldset legend {
	display: block;
	width: 100%;
	margin: 0 0 4px;
	padding: 0;
	color: #171717;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.35;
}

.sefb-field-control {
	display: block;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #8d8d8d;
	border-radius: 0;
	background: #fff;
	color: #222;
	font: inherit;
	font-size: 16px;
	line-height: 1.35;
}

textarea.sefb-field-control {
	min-height: 110px;
	resize: vertical;
}

.sefb-field-control:focus {
	outline: 2px solid #e88700;
	outline-offset: 1px;
}

.sefb-choices {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.sefb-choice {
	display: inline-flex;
	align-items: flex-start;
	gap: 6px;
	margin: 0;
	color: #111;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	cursor: pointer;
}

.sefb-choice input {
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	margin: 1px 0 0;
}

.sefb-fieldset.is-invalid {
	outline: 2px solid #b42318;
	outline-offset: 3px;
}

.sefb-help {
	display: block;
	margin-top: 4px;
	color: #667085;
	font-size: 12px;
	line-height: 1.35;
}

.sefb-actions {
	display: flex;
	align-items: center;
}

.sefb-submit {
	width: auto;
	padding: 12px 24px;
	background: #e88700;
	color: #fff;
}

.sefb-submit[disabled] {
	cursor: wait;
	opacity: .65;
	transform: none;
}

.sefb-status {
	min-height: 0;
	margin-top: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.sefb-status:not(:empty) {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 4px;
}

.sefb-status.is-success {
	background: #ecfdf3;
	color: #176b33;
}

.sefb-status.is-error {
	background: #fef3f2;
	color: #b42318;
}

.sefb-honeypot {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.sefb-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 767px) {
	.sefb-modal {
		align-items: start;
		padding: 12px;
	}

	.sefb-col-75,
	.sefb-col-66,
	.sefb-col-50,
	.sefb-col-33,
	.sefb-col-25 {
		grid-column: span 12;
	}

	.sefb-heading {
		font-size: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sefb-open,
	.sefb-submit {
		transition: none;
	}
}

