.form {

}

.form {
	padding-top: 20px;
}
.form-head {
}
.form-title {
}
.head {
	padding-top: 30px;
	display: none;
}
.container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}
.head__img {

	width: 160px;
	aspect-ratio: 1;
	flex: 0 0 auto;
	border-radius: 50%;
	overflow: hidden;
	img{
		width: 100%;height: 100%;
		object-fit: cover;
	}
}
.head__label {
padding: 8px 12px;

background: #C2E3FF;
border-radius: 24px;
font-family: 'Roboto';
font-weight: 500;
font-size: 26px;
line-height: 130%;
text-align: center;
color: #00467F;

}
.form-text {
font-family: 'Roboto';
font-size: 15px;
line-height: 120%;
text-align: center;
color: #A7A7A7;
}
.form-block {
	display: flex;
	flex-direction: column;
	gap: 24px;
	position: relative;
	width: 100%;
	&::after{
		position: absolute;
		bottom: 0;
		left: 50%;
		translate: -50% -40%;
		background: url('../img/form-bg.png') center/contain no-repeat;
		aspect-ratio: 241/180;
		width: 100%;
		max-width: 241px;
		content: '';
	}
}
.field-group {
}
.form-hidens{	
        display: none;
	flex-direction: column;
	gap: 24px;}
.form-hidens__inner{
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;

background: rgba(255, 255, 255, 0.11);
border: 2px solid rgba(255, 255, 255, 0.4);
backdrop-filter: blur(20px);
border-radius: 12px;
position:relative;
	&::after{
		position: absolute;
		bottom: 0;
		left: 50%;
		translate: -50% 0;
		background: url('../img/form-bg.png') center/contain no-repeat;
		aspect-ratio: 241/180;
		width: 100%;
		max-width: 309px;
		content: '';
		z-index:-5;
	}
.form-head{
	margin-bottom: 0;
}
	.field-group{
		label{
			font-size: 16px;
		}
		input{

background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.4);
backdrop-filter: blur(60px);

		}
	}
}
.form-submit {
	width: 100%;
	&::after{
		width: 24px;
		height: 24px;
		content: '';
		display: flex;
		background: url('../img/icons/share.svg') center/contain no-repeat;
	}
}
.form-search {
		&::after{
		width: 24px;
		height: 24px;
		content: '';
		display: flex;
		background: url('../img/icons/search.svg') center/contain no-repeat;
	}
}
.form-head {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.form-title {
	font-weight: 700;
	font-size: 24px;
	line-height: 1.25;
	text-align: center;
}


.field-group {
	position: relative;
	z-index: 1;
	label {
		display: block;
		padding: 0 12px 8px;
		line-height: 1.25;

		span {
			font-size: 18px;
			line-height: 133%;
			color:#DB3131;
		}
	}

	select,
	input {
padding: 12px;
padding-right: 42px;
width: 100%;
height: 50px;
border: 2px solid #98D0FF;
border-radius: 6px;

		&:focus {
			border-color: var(--secondary-color);
		}

		&::placeholder {
			color: #AEAEAE;
		}
	}

	select:invalid {
		color: rgba(17, 17, 17, 0.5);

	}
}
.field-group__wrapper{
position: relative;
button[type='reset']{
	position: absolute; 
	right: 12px;
	top: 50%;
	translate: 0 -50%;
	width: 24px;height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}
}
/* .form-checkbox {
	margin-top: 12px;
	position: relative;
	font-size: 12px;
	line-height: 15px;
	color: #737373;

	&>span {
		position: relative;
		display: block;
		padding-left: 30px;

		&::before,
		&::after {
			position: absolute;
			content: '';
			top: 50%;
		}

		&::before {
			left: 0;
			translate: 0 -50%;
			width: 20px;
			height: 20px;
			border: 2px solid #1276b5;
		}

		&::after {
			border-bottom: 2px solid #1276b5;
			border-right: 2px solid #1276b5;
			width: 5px;
			height: 10px;
			left: 10px;
			translate: -50% calc(-50% - 1px);
			rotate: 45deg;
			opacity: 0;
		}
	}

	input:checked+span::after {
		opacity: 1;
	}
} */




.form-checkbox {
	--size: 20px;
	--border: 2px;
	--check-thickness: 2px;

	margin-top: 12px;
	position: relative;
	font-size: 12px;
	line-height: 15px;
	color: #737373;

	&>span {
		position: relative;
		display: block;
		padding-left: calc(var(--size) + 10px);

		&::before,
		&::after {
			position: absolute;
			content: '';
			top: 50%;
			left: 0;
			translate: 0 -50%;
		}

		/* Внешняя рамка */
		&::before {
			width: var(--size);
			height: var(--size);
			border: var(--border) solid #1276b5;
			border-radius: 3px;
		}

		/* Галочка */
		&::after {
			/* размеры галочки вычисляются от размера чекбокса */
			width: calc(var(--size) * 0.35);
			height: calc(var(--size) * 0.6);

			border-bottom: var(--check-thickness) solid #1276b5;
			border-right: var(--check-thickness) solid #1276b5;

			/* позиционирование — центр отступа + половина размера галки */
			left: calc(var(--size) * 0.5);
			translate: -50% calc(-50% - var(--check-thickness));
			rotate: 45deg;

			opacity: 0;
		}
	}

	input:checked+span::after {
		opacity: 1;
	}
}

.phone-eror-mess,
#emailError {
	color: red;
	font-size: 14px;
}