﻿.ge-new-forms-avto-shortcode {
	width: 100%;
}

.contact-form {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 8px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	box-sizing: border-box;
}

.contact-form__wrapper {
	max-width: 520px;
	width: 100%;
	padding: 26px 22px 28px;
	background: #ffffff;
	border-radius: 24px;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
	box-sizing: border-box;
}

.contact-form__title {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 20px 0;
	color: #ed8a22;
}

.contact-form__field {
	margin-bottom: 14px;
}

.contact-form__label {
	display: block;
	font-size: 13px;
	margin-bottom: 6px;
	color: #475569;
}

.contact-form__input,
.contact-form__select,
.form-auto-new__date-input {
	width: 100%;
	height: 44px;
	padding: 10px 12px;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	background: #fff7ed;
	font-size: 14px;
	line-height: 1.2;
	color: #0f172a;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	color-scheme: light;
}

.contact-form__input:focus,
.contact-form__select:focus,
.form-auto-new__date-input:focus {
	outline: none;
	border-color: #ed8a22;
	box-shadow: 0 0 0 3px rgba(237, 138, 34, 0.1);
}

.contact-form__input::placeholder {
	color: #94a3b8;
}

.contact-form__select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%23ed8a22' d='M1.4 1.2L7 6.8l5.6-5.6L14 2.6 7 9.6 0 2.6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	cursor: pointer;
}

.contact-form__select option {
	background: #ffffff;
	color: #0f172a;
	padding: 10px 14px;
	min-height: 38px;
	line-height: 1.45;
}

.form-auto-new__native-select {
	height: 48px;
	padding: 11px 42px 11px 14px;
	font-size: 15px;
}

.form-auto-new__native-select option {
	padding: 12px 14px;
	min-height: 40px;
	line-height: 1.5;
}

.contact-form__route-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 8px;
	align-items: center;
}

.form-auto-new__route-select {
	min-width: 0;
}

.form-auto-new__route-combo {
	position: relative;
	min-width: 0;
}

.form-auto-new__route-control {
	position: relative;
}

.form-auto-new__route-input {
	height: 48px;
	padding-right: 42px;
	font-size: 15px;
}

.form-auto-new__route-toggle {
	position: absolute;
	top: 50%;
	right: 8px;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	transform: translateY(-50%);
}

.form-auto-new__route-toggle::before {
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	margin: 0 auto;
	border-right: 2px solid #ed8a22;
	border-bottom: 2px solid #ed8a22;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.form-auto-new__route-combo.is-open .form-auto-new__route-toggle::before {
	transform: rotate(-135deg) translate(-1px, -1px);
}

.form-auto-new__route-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	max-height: 320px;
	padding: 8px;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
	overflow-y: auto;
	overscroll-behavior: contain;
	z-index: 70;
}

.form-auto-new__route-menu::-webkit-scrollbar {
	width: 8px;
}

.form-auto-new__route-menu::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 999px;
}

.form-auto-new__route-option {
	width: 100%;
	display: block;
	padding: 13px 12px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #0f172a;
	font-size: 15px;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
}

.form-auto-new__route-option:hover {
	background: #fff7ed;
}

.form-auto-new__route-option.is-selected {
	background: #fef3c7;
}

.form-auto-new__route-empty {
	padding: 12px;
	color: #64748b;
	font-size: 14px;
}

.form-auto-new__search-select {
	position: relative;
	min-width: 0;
}

.form-auto-new__search-control {
	position: relative;
}

.form-auto-new__search-input {
	height: 48px;
	padding-right: 42px;
	font-size: 15px;
}

.form-auto-new__search-toggle {
	position: absolute;
	top: 50%;
	right: 8px;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	transform: translateY(-50%);
}

.form-auto-new__search-toggle::before {
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	margin: 0 auto;
	border-right: 2px solid #ed8a22;
	border-bottom: 2px solid #ed8a22;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.form-auto-new__search-select.is-open .form-auto-new__search-toggle::before {
	transform: rotate(-135deg) translate(-1px, -1px);
}

.form-auto-new__search-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	max-height: 320px;
	padding: 8px;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
	overflow-y: auto;
	overscroll-behavior: contain;
	z-index: 70;
}

.form-auto-new__search-menu::-webkit-scrollbar {
	width: 8px;
}

.form-auto-new__search-menu::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 999px;
}

.form-auto-new__search-option {
	width: 100%;
	display: block;
	padding: 13px 12px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #0f172a;
	font-size: 15px;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
}

.form-auto-new__search-option:hover {
	background: #fff7ed;
}

.form-auto-new__search-option.is-selected {
	background: #fef3c7;
}

.form-auto-new__search-empty {
	padding: 12px;
	color: #64748b;
	font-size: 14px;
}

.form-auto-new__search-select.is-disabled .form-auto-new__search-input,
.form-auto-new__search-select.is-disabled .form-auto-new__search-toggle {
	cursor: not-allowed;
}

.form-auto-new__search-select.is-disabled .form-auto-new__search-input {
	color: #94a3b8;
}

.contact-form__route-arrow {
	width: 40px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #ffedd5;
	color: #ed8a22;
	font-size: 18px;
	font-weight: 600;
	flex-shrink: 0;
}

.ge-phone-form {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 10px;
	align-items: stretch;
}

.ge-phone-prefix {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	background: #fff7ed;
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	box-sizing: border-box;
}

.ge-phone-form--ru .ge-phone-input {
	border-top-left-radius: 14px;
	border-bottom-left-radius: 14px;
}

.form-auto-new__next-btn {
	width: 100%;
	height: 46px;
	border: none;
	border-radius: 12px;
	background: #ed8a22;
	color: #1f2937;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: filter 0.2s ease;
	margin-top: 10px;
}

.form-auto-new__next-btn:hover {
	filter: brightness(0.97);
}

.form-auto-new__next-btn:disabled {
	cursor: not-allowed;
	filter: grayscale(0.3) brightness(1.08);
	opacity: 0.8;
}

.form-auto-new__stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.form-auto-new__date-input {
	font-family: inherit;
}

.form-auto-new__hint {
	font-size: 12px;
	color: #757575;
	margin-top: -6px;
	padding-left: 4px;
}

.form-auto-new__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 2px 0 8px;
}

.ge-checkbox {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex-shrink: 0;
}

.form-auto-new__consent-content {
	flex: 1;
	min-width: 0;
}

.form-auto-new__consent-line {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
}

.form-auto-new__consent-text {
	font-size: 13px;
	line-height: 1.3;
	color: #2f3e4d;
}

.form-auto-new__consent-toggle {
	border: 0;
	padding: 0;
	background: transparent;
	color: #1f2937;
	font-size: 13px;
	line-height: 1.3;
	text-decoration: underline;
	cursor: pointer;
}

.form-auto-new__consent-full {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.4;
	color: #64748b;
}

.form-auto-new__consent-full a {
	color: #0f172a;
}

.App__checkbox-group {
	margin-bottom: 10px;
	padding: 0;
	border-radius: 10px;
}

.App__checkbox-group.is-warn {
	padding: 12px;
	border: 1px solid #ff4d4f;
	background: rgba(255, 77, 79, 0.06);
}

.form-auto-new__warn {
	color: #ff4d4f;
	font-size: 12px;
	margin-top: 6px;
}

.form-auto-new__client-type {
	display: flex;
	border-radius: 14px;
	overflow: hidden;
	background: #c9c9c9;
}

.form-auto-new__client-type-btn {
	flex: 1;
	height: 42px;
	border: none;
	background: transparent;
	cursor: pointer;
	font-weight: 600;
	font-size: 12px;
	line-height: 1.2;
	color: #111;
	padding: 10px 14px;
}

.form-auto-new__client-type-btn:not(:last-child) {
	border-right: 2px solid #ed8a22;
}

.form-auto-new__client-type-btn.is-active {
	background: #ed8a22;
	color: #fff;
}

.form-auto-new__social {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 14px;
}

.form-auto-new__social-btn {
	height: 44px;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 700;
	font-size: 14px;
	color: #ffffff;
}

.form-auto-new__social-btn--whatsapp {
	background: #25d366;
}

.form-auto-new__social-btn--telegram {
	background: #2a9fd6;
}

.form-auto-new__social-btn--vk {
	background: #4c6f97;
}

.form-auto-new__social-btn--max {
	background: #6b5bd2;
}

.form-auto-new__social-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.form-auto-new__br-form {
	text-align: center;
	font-size: 14px;
	color: #8d8d8d;
	margin: 2px 0;
}

.form-auto-new__social-mini {
	flex: 1 1 140px;
	max-width: 180px;
	width: auto;
	height: 44px;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	font-weight: 700;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.form-auto-new__social-mini--telegram {
	background: #2a9fd6;
	color: #fff;
}

.form-auto-new__social-mini--whatsapp {
	background: #25d366;
	color: #fff;
}

.form-auto-new__social-mini--vk {
	background: #4c6f97;
	color: #fff;
}

.form-auto-new__social-mini--max {
	background: #6b5bd2;
	color: #fff;
}

.form-auto-new__social-mini:disabled,
.form-auto-new__social-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.form-auto-new__social-row--count-1 .form-auto-new__social-mini {
	flex: 0 1 220px;
}

.form-auto-new__social-row--count-2 .form-auto-new__social-mini {
	flex: 1 1 180px;
}

.form-auto-new__agent {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #eee;
}

.form-auto-new__agent-title {
	text-align: center;
	font-weight: 800;
	font-size: 18px;
	line-height: 1.25;
	color: #ed8a22;
	margin: 6px 0 10px;
}

.form-auto-new__agent-subtitle {
	text-align: center;
	font-size: 13px;
	color: #ed8a22;
	opacity: 0.85;
	margin: 0 0 14px;
}

.form-auto-new__agent-fields {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.form-auto-new__agent-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #1f2937;
	margin-top: 6px;
}

.form-auto-new__stage1-disabled {
	opacity: 0.45;
	pointer-events: none;
	user-select: none;
}

.ge-result {
	display: block;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 12px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.2rem;
	border: 1px solid transparent;
}

.ge-result--bad {
	background: #fff1f2;
	border-color: #fecdd3;
}

.ge-result__title {
	color: #334155;
	font-size: 16px;
	line-height: 20px;
	font-weight: 700;
	padding-bottom: 10px;
}

.ge-result__text {
	color: #334155;
}

.ge-form-error {
	color: #dc2626;
	font-size: 14px;
	margin: 8px 0;
}

.ge-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	border-radius: 14px;
	background: #fff7ed;
	color: #64748b;
	font-size: 14px;
}

.ge-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 999999;
	box-sizing: border-box;
}

.ge-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 40px);
	overflow: auto;
	background: #fff;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
	box-sizing: border-box;
}

.ge-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	border: 0;
	background: transparent;
	font-size: 22px;
	cursor: pointer;
	line-height: 1;
}

.ge-modal__title {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
}

.ge-modal__text {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.45;
	color: #334155;
}

.ge-modal__textarea {
	width: 100%;
	min-height: 180px;
	resize: vertical;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 10px;
	font-size: 13px;
	line-height: 1.35;
	box-sizing: border-box;
}

.ge-modal__actions {
	margin-top: 12px;
	display: flex;
	justify-content: flex-end;
}

.ge-modal__button {
	height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: #ed8a22;
	color: #111827;
	font-weight: 700;
	cursor: pointer;
}

.ge-modal__hint {
	margin-top: 10px;
	font-size: 12px;
	color: #757575;
}

.form-auto-new__deal-code {
	font-weight: 800;
	font-size: 16px;
	margin: 10px 0 8px;
}

.form-auto-new__modal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.form-auto-new__copy-btn {
	flex: 1;
	min-width: 160px;
	height: 44px;
	border: none;
	border-radius: 12px;
	background: #22c55e;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.form-auto-new__copy-btn.is-copied {
	background: #ed8a22;
}

.form-auto-new__write-btn {
	flex: 1;
	min-width: 160px;
	height: 44px;
	border: none;
	border-radius: 12px;
	background: #111;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.form-auto-new__write-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

@media (max-width: 1200px) {
	.contact-form__title {
		font-size: 24px;
	}
}

@media (max-width: 991px) {
	.contact-form {
		padding: 8px 0;
	}

	.contact-form__wrapper {
		max-width: 100%;
		border-radius: 18px;
		padding: 22px 16px 22px;
		box-shadow: 0 8px 26px rgba(15, 23, 42, 0.12);
	}

	.contact-form__title {
		font-size: 22px;
		margin-bottom: 16px;
	}

	.form-auto-new__client-type-btn {
		height: 44px;
	}
}

@media (max-width: 767px) {
	.contact-form__wrapper {
		padding: 18px 14px 18px;
		border-radius: 14px;
	}

	.contact-form__title {
		font-size: 21px;
		line-height: 1.2;
	}

	.contact-form__route-row {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.contact-form__route-arrow {
		display: none;
	}

	.ge-phone-form {
		grid-template-columns: 54px minmax(0, 1fr);
		gap: 8px;
	}

	.form-auto-new__social-row {
		justify-content: center;
	}

	.form-auto-new__client-type {
		flex-direction: column;
	}

	.form-auto-new__client-type-btn:not(:last-child) {
		border-right: none;
		border-bottom: 2px solid #ed8a22;
	}

	.ge-modal {
		padding: 12px;
	}

	.ge-modal__dialog {
		max-height: calc(100vh - 24px);
		padding: 16px;
	}
}

@media (max-width: 575px) {
	.contact-form__wrapper {
		padding: 16px 12px 16px;
	}

	.contact-form__title {
		font-size: 20px;
	}

	.contact-form__input,
	.contact-form__select,
	.form-auto-new__route-input,
	.form-auto-new__search-input,
	.form-auto-new__date-input,
	.form-auto-new__social-btn,
	.form-auto-new__social-mini,
	.form-auto-new__next-btn {
		height: 46px;
		font-size: 14px;
	}

	.form-auto-new__route-menu {
		max-height: 260px;
	}

	.form-auto-new__search-menu {
		max-height: 260px;
	}

	.form-auto-new__route-option {
		padding: 12px 11px;
		font-size: 14px;
	}

	.form-auto-new__search-option {
		padding: 12px 11px;
		font-size: 14px;
	}

	.ge-phone-prefix {
		height: 46px;
	}

	.form-auto-new__social-row {
		gap: 8px;
	}

	.form-auto-new__br-form {
		margin: 0;
	}

	.form-auto-new__agent-title {
		font-size: 16px;
	}
}

@media (max-width: 420px) {
	.contact-form {
		padding: 6px 0;
	}

	.contact-form__wrapper {
		padding: 14px 10px 14px;
		border-radius: 12px;
	}

	.contact-form__title {
		font-size: 19px;
		margin-bottom: 14px;
	}

	.contact-form__label {
		font-size: 12px;
	}

	.form-auto-new__client-type-btn {
		font-size: 11px;
		padding: 8px 10px;
	}

	.ge-modal__title {
		font-size: 18px;
	}

	.ge-modal__text,
	.ge-modal__textarea {
		font-size: 13px;
	}
}
