/* Bitrix-капча: картинка + поле в одну строку */

.captcha-block,
.captcha-block1 {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding-bottom: 24px;
	box-sizing: border-box;
}

.captcha-block img,
.captcha-block1 img {
	flex: 0 0 auto;
	width: auto;
	height: 40px;
	object-fit: contain;
	display: block;
}

form .captcha-block .form-field,
form .captcha-block1 .form-field {
	flex: 1 1 0;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	display: flex;
	align-items: stretch;
}

form .captcha-block .form-field label.input,
form .captcha-block1 .form-field label.input {
	display: flex;
	width: 100%;
	align-items: stretch;
}

form .captcha-block .form-field label.input input,
form .captcha-block1 .form-field label.input input,
.captcha-block > input[type="text"],
.captcha-block1 > input[type="text"] {
	display: block;
	width: 100%;
	flex: 1 1 0;
	min-width: 0;
	height: 40px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid currentColor;
	background: transparent;
	font-family: "TT Firs Neue", sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 38px;
	color: currentColor;
	position: relative;
	transition: all 300ms;
	outline: none;
	box-sizing: border-box;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

form .captcha-block .form-field label.input input::placeholder,
form .captcha-block1 .form-field label.input input::placeholder,
.captcha-block > input[type="text"]::placeholder,
.captcha-block1 > input[type="text"]::placeholder {
	font-family: "TT Firs Neue", sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 150%;
	color: inherit;
	opacity: 1;
}

form .captcha-block .form-field label.input input:focus,
form .captcha-block1 .form-field label.input input:focus,
.captcha-block > input[type="text"]:focus,
.captcha-block1 > input[type="text"]:focus {
	outline: none;
	border-color: #e31931;
}

@media (max-width: 575px) {
	.captcha-block,
	.captcha-block1 {
		gap: 12px;
	}
}
