input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="url"],
textarea,
select{
	display:block;
	width:100%;
	box-sizing:border-box;
	padding:20px 12px 12px 12px;
	font-size:14px;
	font-family:inherit;
	color:#2B2B2B;
	background:#fff;
	border:1px solid #E5E5E5;
	border-radius:8px;
	transition:border-color .15s ease;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="number"]:hover,
input[type="search"]:hover,
input[type="password"]:hover,
input[type="url"]:hover,
textarea:hover,
select:hover{
	border-color:#C7CCD6;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus{
	outline:none;
	border-color:#2F6FE4;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="number"]::placeholder,
input[type="search"]::placeholder,
input[type="password"]::placeholder,
input[type="url"]::placeholder,
textarea::placeholder{
	color:#9A9A9A;
}

input:disabled,
textarea:disabled,
select:disabled{
	background:#F5F5F5;
	border-color:#E5E5E5;
	color:#8A8A8A;
	cursor:not-allowed;
}

textarea{
	min-height:120px;
	resize:vertical;
}

select{
	appearance:none;
	-webkit-appearance:none;
	-moz-appearance:none;
	padding-right:44px;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237A7A7A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat:no-repeat;
	background-position:right 16px center;
	cursor:pointer;
}

select:focus{
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232F6FE4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

select:disabled{
	cursor:not-allowed;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23C7CCD6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;

	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin: 0 !important;

	border: 1.5px solid #E5E5E5;
	border-radius: 5px;
	background: #fff;

	position: relative;
	cursor: pointer;

	transition:
			background-color .15s ease,
			border-color .15s ease;
}

input[type="checkbox"]:focus {
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(47,111,228,.25);
}

input[type="checkbox"]:hover:not(:disabled):not(:checked) {
	background: #C1D4F7;
	border-color: #2F6FE4;
}

input[type="checkbox"]:checked {
	border-color: #2F6FE4;
	background: #fff;
}

input[type="checkbox"]::after {
	content: "";
	position: absolute;
	width: 12px;
	height: 12px;
	left: 50%;
	top: 52%;
	transform: translate(-50%, -50%);
	background: url(../img/check.svg) center / contain no-repeat;
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s ease;
}

input[type="checkbox"]:checked::after {
	opacity: 1;
}

input[type="checkbox"]:disabled {
	background: #E5E5E5;
	border-color: #D3D3D3;
	cursor: not-allowed;
}

input[type="checkbox"]:disabled:checked::after {
	opacity: 1;
	filter: grayscale(1);
	opacity: .5;
}

input[type="radio"]{
	appearance:none;
	-webkit-appearance:none;
	-moz-appearance:none;
	width:16px;
	height:16px;
	flex-shrink:0;
	margin:0 !important;
	border:1.5px solid #E5E5E5;
	border-radius:50%;
	background:#fff;
	position:relative;
	cursor:pointer;
	transition:background-color .15s ease, border-color .15s ease;
}

input[type="radio"]:focus{
	outline:none !important;
	box-shadow:0 0 0 3px rgba(47,111,228,.25);
}

input[type="radio"]:hover:not(:disabled):not(:checked){
	background:#C1D4F7;
	border-color:#2F6FE4;
}

input[type="radio"]:checked{
	border-color:#2F6FE4;
	background:#fff;
}

input[type="radio"]:checked::after{
	content:"";
	position:absolute;
	left:50%;
	top:50%;
	width:10px;
	height:10px;
	border-radius:50%;
	background:#2F6FE4;
	transform:translate(-50%, -50%);
}

input[type="radio"]:disabled{
	background:#E5E5E5;
	border-color:#D3D3D3;
	cursor:not-allowed;
}

input[type="radio"]:disabled:checked::after{
	background:#ACACAC;
}

label{
	color:#2B2B2B;
}

p:has(> input:focus) > label,
p:has(> textarea:focus) > label,
p:has(> select:focus) > label{
	color:#2F6FE4;
}

.form-field{
	position:relative;
	margin-bottom:24px;
}

.form-field .wpcf7-form-control-wrap{
	position:relative;
	z-index:0;
	display:block;
}

.form-field__label{
	position:absolute;
	z-index:1;
	top:0;
	left:14px;
	transform:translateY(-50%);
	padding:0 6px;
	background:#fff;
	font-size:14px;
	line-height:1;
	color:#2B2B2B;
	transition:color .15s ease;
	pointer-events:none;
	font-weight: 400;
}

.form-field:focus-within .form-field__label{
	color:#2F6FE4;
}

.form-field:has(input:disabled) .form-field__label,
.form-field:has(select:disabled) .form-field__label,
.form-field:has(textarea:disabled) .form-field__label{
	color:#8A8A8A;
}

.form-check{
	display:inline-flex;
	align-items:flex-start;
	gap:10px;
	cursor:pointer;
}
.wpcf7-acceptance span.wpcf7-list-item-label {
	font-weight: 400;
}
.wpcf7-list-item {
	margin-left: 0 !important;
}
.form-check label{
	display:flex;
	align-items:center;
	gap:10px;
	cursor:pointer;
}
textarea.wpcf7-form-control.wpcf7-textarea::placeholder {
	font-size: 14px;
}
textarea.wpcf7-form-control.wpcf7-textarea{
	min-height:0;
	height:76px;
	font-size: 14px;
}
p.form-intro {
	margin-bottom: 40px;
}
.form-submit-p{
	margin-top: 24px;
}
.form-submit-p input[type="submit"], input.wpcf7-form-control.wpcf7-submit {
	min-width:188px;
}
.form-note-text {
	margin-bottom: 28px;
	margin-top: 12px;
}
@media screen and (min-width: 991px) {
	.form-steps__nav-buttons > button {
		min-width: 200px;
	}
	p.form-intro {
		margin-bottom: 28px;
	}
}
@media screen and (max-width: 767px) {
	.form-submit-p input[type="submit"], input.wpcf7-form-control.wpcf7-submit {
		width: 100%;
	}
	.form-note-text {
		margin-bottom: 16px;
		margin-top: 0;
	}
}