.not-found-section {
	display: flex;
	flex-flow: column;
	margin-top: 20px;

	@include mobile {
		padding: 0 16px;
	}

	@include desktop {
		align-self: center;
		margin-top: 30px;
		width: calc(100% - 32px);
		max-width: $width-desktop;
	}
}

.not-found-section__icon {
	align-self: center;
	width: 100%;
	max-width: 200px;
	pointer-events: none;

	@include desktop {
		max-width: 404px;
	}
}

.not-found-section__title {
	margin-top: 20px;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.03em;
	text-align: center;

	@include desktop {
		margin-top: 32px;
		font-size: 56px;
	}
}

.not-found-section__desc {
	margin-top: 10px;
	font-size: 14px;
	line-height: 150%;
	text-align: center;

	@include desktop {
		margin-top: 16px;
		font-size: 16px;
		line-height: 18px;
	}
}

.not-found-section__footer {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 8px;
	margin-top: 20px;

	@include desktop {
		gap: 10px;
		justify-content: center;
		margin-top: 32px;
	}
}

.not-found-section__btn {
	$self: &;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0px 18px;
	border-radius: 14px;
	background-color: $color-green;
	font-size: 14px;
	font-weight: 500;
	line-height: 16px;
	color: $color-white;
	box-sizing: border-box;

	@include mobile {
		&:nth-child(1) {
			flex: 0 0 100%;
		}
	}

	@include desktop {
		min-height: 64px;
		padding: 0px 24px;
		border-radius: 16px;
		font-size: 16px;
		line-height: 18px;

		&:not(#{ $self }--primary):hover {
			background-color: $color-green-hover;
		}
	}

	&--primary {
		flex-flow: column;
		align-items: flex-start;
		gap: 4px;
		min-height: 64px;
		color: $color-black;
		background-color: $color-surface;

		@include mobile {
			flex: 1;
		}

		@include desktop {
			padding: 0 20px;

			&:hover {
				color: $color-green;
			}
		}

		span {
			color: $color-gray-md;
		}
	}
}
