html.sertechs-hitch-modal-open,
body.sertechs-hitch-modal-open {
	overflow: hidden !important;
}

.sertechs-hitch-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	font-family: inherit;
}

.sertechs-hitch-modal.is-open {
	display: flex;
}

.sertechs-hitch-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .78);
	backdrop-filter: blur(4px);
}

.sertechs-hitch-dialog {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	max-height: calc(100vh - 48px);
	padding: 44px;
	border: 1px solid #34383d;
	border-radius: 18px;
	background: #111417;
	color: #fff;
	box-shadow: 0 28px 80px rgba(0, 0, 0, .5);
	overflow: auto;
}

.sertechs-hitch-modal.is-finder .sertechs-hitch-dialog {
	width: min(1180px, 100%);
	padding: 28px;
}

.sertechs-hitch-close {
	position: absolute;
	top: 14px;
	right: 16px;
	z-index: 5;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #272b2f;
	color: #fff;
	font-size: 27px;
	line-height: 40px;
	cursor: pointer;
}

.sertechs-hitch-close:hover,
.sertechs-hitch-close:focus-visible {
	background: #ff5a18;
}

.sertechs-hitch-icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin-bottom: 18px;
	border: 2px solid #ff5a18;
	border-radius: 50%;
	color: #ff5a18;
	font-size: 26px;
	font-weight: 800;
}

.sertechs-hitch-eyebrow {
	margin: 0 0 8px;
	color: #ff5a18;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sertechs-hitch-dialog h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(24px, 3vw, 36px);
	line-height: 1.14;
}

.sertechs-hitch-copy,
.sertechs-hitch-finder-copy {
	margin: 16px 0 0;
	color: #c9cdd1;
	font-size: 15px;
	line-height: 1.65;
}

.sertechs-hitch-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 28px;
}

.sertechs-hitch-actions button,
.sertechs-hitch-back {
	min-height: 52px;
	padding: 12px 18px;
	border-radius: 10px;
	font: inherit;
	font-weight: 800;
	line-height: 1.25;
	cursor: pointer;
}

.sertechs-hitch-primary {
	border: 1px solid #ff5a18;
	background: #ff5a18;
	color: #fff;
}

.sertechs-hitch-primary:hover,
.sertechs-hitch-primary:focus-visible {
	background: #e9490c;
	border-color: #e9490c;
}

.sertechs-hitch-secondary {
	border: 1px solid #555b61;
	background: #202428;
	color: #fff;
}

.sertechs-hitch-secondary:hover,
.sertechs-hitch-secondary:focus-visible {
	border-color: #ff5a18;
	color: #ff7a43;
}

.sertechs-hitch-modal.is-submitting .sertechs-hitch-actions {
	opacity: .5;
	pointer-events: none;
}

.sertechs-hitch-finder-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding-right: 44px;
}

.sertechs-hitch-finder-head h2 {
	font-size: clamp(22px, 2.5vw, 31px);
}

.sertechs-hitch-back {
	min-height: 42px;
	padding: 9px 16px;
	border: 1px solid #4c5258;
	background: #202428;
	color: #fff;
}

.sertechs-hitch-frame-wrap {
	position: relative;
	margin-top: 18px;
	width: 100%;
	height: min(68vh, 720px);
	min-height: 460px;
	border: 1px solid #34383d;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.sertechs-hitch-frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}

.sertechs-hitch-loading {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	z-index: 2;
	background: #fff;
	color: #222;
	font-weight: 700;
}

.sertechs-hitch-loading[hidden] {
	display: none;
}

.sertechs-hitch-open-new {
	display: inline-block;
	margin-top: 12px;
	color: #ff7a43;
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
}

@media (max-width: 767px) {
	.sertechs-hitch-modal {
		padding: 10px;
		align-items: flex-end;
	}

	.sertechs-hitch-dialog,
	.sertechs-hitch-modal.is-finder .sertechs-hitch-dialog {
		width: 100%;
		max-height: calc(100vh - 20px);
		padding: 30px 18px 20px;
		border-radius: 16px;
	}

	.sertechs-hitch-actions {
		grid-template-columns: 1fr;
	}

	.sertechs-hitch-finder-head {
		padding-right: 34px;
		flex-direction: column;
	}

	.sertechs-hitch-frame-wrap {
		height: 62vh;
		min-height: 380px;
	}
}
