.auth-wrap {
	display: flex;
	justify-content: center;
	padding: 40px 16px 80px;
	background: #f5f8f4;
	font-family: Roboto, Arial, sans-serif;
}

.auth-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);
	color: #1c261b;
}

.auth-alert {
	padding: 10px 12px;
	border: 1px solid rgba(226, 113, 97, .45);
	border-radius: 5px;
	background: #fff8f7;
	color: #8a3328;
	font-size: 13px;
	line-height: 1.4;
}

.auth-alert.is-success {
	border-color: rgba(4, 77, 2, .24);
	background: #eef8ed;
	color: #044d02;
}

.auth-alert[hidden],
[data-phone-auth-code-wrap][hidden] {
	display: none;
}

.seg {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	padding: 4px;
	border-radius: 7px;
	background: #f1f5ef;
}

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

.seg button.on {
	background: #044d02;
	color: #fff;
	box-shadow: 0 6px 14px rgba(4, 77, 2, .18);
}

.auth-card form,
.auth-card [data-auth-panel] {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

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

.field-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.lbl {
	color: #044d02;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.3;
	text-transform: uppercase;
}

.field-link,
.auth-foot a {
	color: #044d02;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.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;
}

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

.field-input-wrap,
.tel-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.field-input-wrap {
	position: relative;
}

.field-input-wrap input {
	padding-right: 46px;
}

.eye-btn {
	position: absolute;
	top: 0;
	right: 4px;
	width: 40px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: #667263;
	cursor: pointer;
}

.tel-row input {
	min-width: 0;
	flex: 1;
}

.btn-get-code {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid #044d02;
	border-radius: 5px;
	background: #fff;
	color: #044d02;
	font: 700 12px/1 Roboto, Arial, sans-serif;
	cursor: pointer;
}

.btn-get-code:disabled,
.btn-cta:disabled {
	opacity: .65;
	cursor: wait;
}

.helper {
	display: block;
	margin-bottom: 10px;
	color: #667263;
	font-size: 12px;
	line-height: 1.35;
}

.auth-check {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #667263;
	font-size: 13px;
	cursor: pointer;
}

.auth-check input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #044d02;
}

.btn-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	border: 1px solid #044d02;
	border-radius: 5px;
	background: #044d02;
	color: #fff;
	font: 700 14px/1 Roboto, Arial, sans-serif;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 0 15px 30px -10px rgba(0, 11, 48, .2);
	cursor: pointer;
}

.btn-cta.outline {
	background: #fff;
	color: #044d02;
	box-shadow: none;
}

.divider {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #667263;
	font-size: 12px;
	text-transform: lowercase;
}

.divider::before,
.divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #dfe8dd;
}

.auth-foot {
	margin-top: 6px;
	color: #667263;
	text-align: center;
	font-size: 13px;
}

.auth-captcha {
	width: 180px;
	height: 40px;
	object-fit: contain;
}

@media (max-width: 768px) {
	.auth-wrap {
		padding: 24px 14px 64px;
	}

	.auth-card {
		max-width: 420px;
		padding: 24px 18px;
	}

	.tel-row {
		align-items: stretch;
		flex-direction: column;
	}
}
