/* COLORIT registration page */
.colorit-register {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	display: flex;
	justify-content: center;
	padding: 40px 16px 80px;
	color: #1c261b;
	font-family: Roboto, Arial, sans-serif;
}

.colorit-register *,
.colorit-register *::before,
.colorit-register *::after {
	box-sizing: border-box;
}

.colorit-register__card {
	width: 480px;
	max-width: 100%;
	margin: 0 auto;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	border: 1px solid #dfe8dd;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(4, 77, 2, .10);
}

.colorit-register__alert {
	width: 480px;
	max-width: 100%;
	margin: 0 auto 16px;
	padding: 12px 14px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.4;
}

.colorit-register__alert--success {
	background: #eef8ed;
	color: #044d02;
}

.colorit-register__alert--warning {
	background: #fff8df;
	color: #7a5800;
}

.colorit-register__alert--danger {
	background: #fff0f0;
	color: #b00020;
}

.colorit-register__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	padding: 4px;
	border: 1px solid #dfe8dd;
	border-radius: 8px;
	background: #f5f8f4;
}

.colorit-register__tabs button {
	height: 38px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #667263;
	font: 700 13px/1 Roboto, Arial, sans-serif;
	cursor: pointer;
}

.colorit-register__tabs button.is-active {
	background: #044d02;
	color: #fff;
	box-shadow: 0 8px 16px rgba(4, 77, 2, .16);
}

.colorit-register__panel {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.colorit-register__panel[hidden] {
	display: none;
}

.colorit-register__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.colorit-register__field label {
	color: #044d02;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.colorit-register__field > span {
	color: #667263;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
}

.colorit-register__field input {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid rgba(4, 77, 2, .45);
	border-radius: 5px;
	background: #fff;
	color: #1c261b;
	font: 400 14px/1.2 Roboto, Arial, sans-serif;
	box-shadow: none;
}

.colorit-register__field input::placeholder {
	color: rgba(28, 38, 27, .45);
}

.colorit-register__field input:focus {
	border-color: #044d02;
	box-shadow: 0 0 0 3px rgba(65, 157, 63, .12);
}

.colorit-register__password,
.colorit-register__phone-row {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.colorit-register__password {
	position: relative;
}

.colorit-register__password input {
	padding-right: 48px;
}

.colorit-register__eye {
	position: absolute;
	top: 50%;
	right: 6px;
	width: 34px;
	height: 34px;
	transform: translateY(-50%);
	border: 0;
	border-radius: 5px;
	background: #eef8ed;
	color: #044d02;
	font: 700 16px/1 Roboto, Arial, sans-serif;
	cursor: pointer;
}

.colorit-register__eye::before {
	content: "";
	position: absolute;
	top: 11px;
	left: 8px;
	width: 18px;
	height: 12px;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.colorit-register__eye::after {
	content: "";
	position: absolute;
	top: 15px;
	left: 15px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
}

.colorit-register__phone-row input {
	min-width: 0;
}

.colorit-register__phone-row button {
	width: 132px;
	min-width: 132px;
	height: 44px;
	border: 1px solid #044d02;
	border-radius: 5px;
	background: #fff;
	color: #044d02;
	font: 700 12px/1.15 Roboto, Arial, sans-serif;
	cursor: pointer;
}

.colorit-register__checks {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 2px;
}

.colorit-register__check {
	position: relative;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: #667263;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	cursor: pointer;
}

.colorit-register__check input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.colorit-register__check span {
	width: 18px;
	height: 18px;
	min-width: 18px;
	margin-top: 1px;
	border: 1px solid rgba(4, 77, 2, .55);
	border-radius: 4px;
	background: #fff;
}

.colorit-register__check input:checked + span {
	background: #044d02;
	border-color: #044d02;
	box-shadow: none;
}

.colorit-register__check input:checked + span::after {
	content: "";
	display: block;
	width: 9px;
	height: 5px;
	margin: 4px 0 0 3px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg);
}

.colorit-register__check b {
	font-weight: 400;
}

.colorit-register__check a {
	color: #044d02;
	font-weight: 700;
	text-decoration: none;
}

.colorit-register__check a:hover {
	text-decoration: underline;
}

.colorit-register__submit {
	width: 100%;
	height: 46px;
	margin-top: 2px;
	border: 1px solid #044d02;
	border-radius: 5px;
	background: #044d02;
	color: #fff;
	font: 700 14px/1 Roboto, Arial, sans-serif;
	text-transform: uppercase;
	box-shadow: 0 15px 30px -10px rgba(0, 11, 48, .2);
	cursor: pointer;
}

.colorit-register__submit:hover {
	background: #033401;
	border-color: #033401;
}

.colorit-register__foot {
	margin-top: 6px;
	color: #667263;
	font-size: 13px;
	line-height: 1.35;
	text-align: center;
}

.colorit-register__foot a {
	color: #044d02;
	font-weight: 700;
	text-decoration: none;
}

.colorit-register__foot a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 576px) {
	.colorit-register {
		padding: 24px 14px 64px;
	}

	.colorit-register__card {
		width: 100%;
		max-width: 100%;
		padding: 24px 18px;
	}

	.colorit-register__phone-row {
		flex-direction: column;
	}

	.colorit-register__phone-row button {
		width: 100%;
		min-width: 0;
	}
}
