.agreement {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: left;
 
}

.agreement__item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 11px;
	cursor: pointer;
}

.agreement input[type='checkbox'] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	flex-shrink: 0;
}

.agreement input[type='checkbox'] + span {
	flex-shrink: 0;
	display: block;
	position: relative;
	width: 20px;
	height: 20px;
	min-width: 20px;
	border-radius: 4px;
	background-color: #e8e8e8;
	border: none;
}

.agreement input[type='checkbox'] + span::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	width: 12px;
	height: 12px;
	background-image: url(../../img/checkbox.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	opacity: 0;
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
}

.agreement input[type='checkbox']:checked + span::before {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.agreement__text,
.agreement p {
	margin: 0;
	font-size: 9px;
	line-height: 105%;
	color: rgba(255, 255, 255, 0.6);
	font-weight: 400;
	letter-spacing: -0.03em;
}

.agreement a {
	color: inherit;
	text-decoration: underline;
}

.agreement--dark .agreement__text,
.agreement--dark .agreement p {
	color: rgba(255, 255, 255, 0.6);
}

.agreement--dark input[type='checkbox'] + span {
	background-color: #D9DEE7;
}

@media screen and (max-width: 1200px) {
	.agreement__text,
	.agreement p {
		font-size: 10px;
	}
}

@media screen and (max-width: 768px) {
	.agreement p br {
		display: none;
	}
	.agreement__text,
	.agreement p {
		font-size: 8px;
	}
}
