.te-reg {
	--te-reg-primary: #342c2a;
	--te-reg-secondary: #d74b23;
	--te-reg-text: #494141;
	--te-reg-accent: #7aecae;
	--te-reg-white: #fff;
	--te-reg-orange: #db5d39;
	--te-reg-gray: #eaeaea;
	--te-reg-muted: #685c5c;
	--te-reg-hint: #aaa;
	max-width: 920px;
	margin: 40px auto;
	padding: 40px;
	background: var(--te-reg-white);
	color: var(--te-reg-primary);
	font-family: Assistant, sans-serif;
	box-sizing: border-box;
}

.te-reg *,
.te-reg *::before,
.te-reg *::after {
	box-sizing: border-box;
}

.te-reg__page-title {
	margin: 0 0 24px;
	text-align: center;
	color: var(--te-reg-orange);
	font-family: "Secular One", sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
}

.te-reg__hp {
	position: absolute !important;
	left: -9999px !important;
	height: 0 !important;
	width: 0 !important;
	opacity: 0 !important;
}

.te-reg__indicators {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.te-reg__indicator {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	position: relative;
	color: var(--te-reg-muted);
	font-size: 18px;
	font-weight: 700;
}

.te-reg__indicator:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 16px;
	left: 0;
	right: calc(50% + 24px);
	height: 1px;
	background: var(--te-reg-muted);
}

.te-reg__indicator-num {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid currentColor;
	background: var(--te-reg-white);
	z-index: 1;
}

.te-reg__indicator.is-active {
	color: var(--te-reg-secondary);
}

.te-reg__indicator.is-active .te-reg__indicator-num {
	background: var(--te-reg-secondary);
	color: #fff;
	border-color: var(--te-reg-secondary);
}

.te-reg__indicator.is-done .te-reg__indicator-num {
	background: transparent;
	border: 1px solid var(--te-reg-orange);
	color: var(--te-reg-primary);
}

.te-reg__indicator.is-done {
	color: var(--te-reg-primary);
}

.te-reg__errors {
	background: #fff5f3;
	border: 1px solid var(--te-reg-secondary);
	color: var(--te-reg-secondary);
	padding: 12px 16px;
	border-radius: 12px;
	margin: 0 0 20px;
	font-weight: 600;
}

.te-reg__html {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}

.te-reg__html--sub {
	margin-top: 24px;
	font-size: 16px;
}

.te-reg__hint {
	font-size: 15px;
	color: var(--te-reg-hint);
	font-weight: 500;
}

.te-reg__checks {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 16px;
}

.te-reg__check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
}

.te-reg__check input {
	margin-top: 3px;
}

.te-reg__tour {
	margin: 16px 0 24px;
}

.te-reg__tour-title {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 900;
	font-family: "Secular One", sans-serif;
}

.te-reg__tour-fields,
.te-reg__row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.te-reg__tour-fields .te-reg__field,
.te-reg__row .te-reg__field {
	flex: 1 1 180px;
}

.te-reg__tour-fields.has-more .te-reg__field {
	flex: 1 1 140px;
}

.te-reg__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 16px;
}

.te-reg__field--full {
	width: 100%;
}

.te-reg__field > label {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
}

.te-reg__req {
	color: var(--te-reg-secondary);
}

.te-reg input[type="text"],
.te-reg input[type="email"],
.te-reg input[type="tel"],
.te-reg input[type="number"],
.te-reg select,
.te-reg textarea {
	width: 100%;
	background: var(--te-reg-white);
	border: 1px solid var(--te-reg-gray);
	border-radius: 60px;
	padding: 10px 20px;
	color: var(--te-reg-text);
	font-family: Assistant, sans-serif;
	font-size: 16px;
	appearance: none;
}

.te-reg textarea {
	border-radius: 16px;
	min-height: 140px;
	resize: vertical;
}

.te-reg__select {
	position: relative;
}

.te-reg__select::after {
	content: "";
	position: absolute;
	left: 16px;
	top: 50%;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid var(--te-reg-gray);
	transform: translateY(-50%);
	pointer-events: none;
}

.te-reg select {
	padding-left: 36px;
}

.te-reg__summary {
	font-weight: 400;
	border-bottom: 1px solid #ddd;
	padding: 1em 0;
	margin: 1em 0;
}

.te-reg__summary > strong {
	color: #00f;
	display: block;
	margin-bottom: 8px;
}

.te-reg__summary-body {
	font-size: 16px;
	line-height: 1.5;
}

.te-reg__accept {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 16px 0 8px;
	font-size: 16px;
	cursor: pointer;
}

.te-reg__accept a {
	text-decoration: underline;
	color: var(--te-reg-primary);
}

.te-reg__nav {
	display: flex;
	justify-content: flex-start;
	gap: 12px;
	margin-top: 16px;
}

.te-reg__btn {
	appearance: none;
	border: 0;
	border-radius: 60px;
	padding: 12px 24px;
	background: var(--te-reg-accent);
	color: var(--te-reg-primary);
	font-family: Assistant, sans-serif;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.te-reg__btn:hover,
.te-reg__btn:focus {
	background: #61eba0;
}

.te-reg__btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.te-reg__btn--prev {
	background: transparent;
}

.te-reg__btn--prev:hover,
.te-reg__btn--prev:focus {
	background: transparent;
}

.te-reg input.is-invalid,
.te-reg select.is-invalid,
.te-reg textarea.is-invalid {
	border-color: var(--te-reg-secondary);
}

.te-reg.is-loading .te-reg__btn--submit {
	opacity: 0.6;
	pointer-events: none;
}

@media (max-width: 767px) {
	.te-reg {
		margin: 25px 0 0;
		padding: 20px;
	}

	.te-reg__page-title {
		font-size: 28px;
	}

	.te-reg__indicator-label {
		font-size: 14px;
		text-align: center;
	}

	.te-reg__nav {
		flex-direction: column;
	}

	.te-reg__btn {
		width: 100%;
	}
}
