.user-auth {
	max-width: 420px;
	margin: 0 auto;
	padding: 24px;
	background: #ffffff;
	border: 1px solid #e6e8ec;
	border-radius: 12px;
	font-family: inherit;
	color: #1c1e21;
}

.user-auth * {
	box-sizing: border-box;
}

.user-auth__notice {
	padding: 10px 14px;
	margin-bottom: 16px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.4;
}

.user-auth__notice--success {
	background: #eafaf0;
	color: #157347;
	border: 1px solid #b7e4c7;
}

.user-auth__notice--error {
	background: #fdecec;
	color: #b02a37;
	border: 1px solid #f1aeb5;
}

.user-auth__notice--info {
	background: #eef3fb;
	color: #1d4ed8;
	border: 1px solid #c7d8f5;
}

.user-auth__divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 4px 0 16px;
	color: #9ca3af;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.user-auth__divider::before,
.user-auth__divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e6e8ec;
}

.user-auth__yandex {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 16px;
	margin-bottom: 16px;
	border: 1px solid #1c1e21;
	border-radius: 8px;
	background: #ffffff;
	color: #1c1e21;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease;
}

.user-auth__yandex:hover {
	background: #f6f7f9;
	text-decoration: none;
}

.user-auth__yandex-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fc3f1d;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.user-auth__tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
}

.user-auth__tab {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid #e6e8ec;
	border-radius: 8px;
	background: #f6f7f9;
	color: #4b5563;
	font-size: 15px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.user-auth__tab:hover {
	background: #eef0f3;
}

.user-auth__tab.is-active {
	background: #1c1e21;
	border-color: #1c1e21;
	color: #ffffff;
}

.user-auth__form {
	display: none;
}

.user-auth__form.is-active {
	display: block;
}

.user-auth__label {
	display: block;
	margin-bottom: 14px;
}

.user-auth__label-text {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	color: #4b5563;
}

.user-auth__input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 15px;
	color: #1c1e21;
	background: #ffffff;
}

.user-auth__input:focus {
	outline: none;
	border-color: #1d4ed8;
	box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.user-auth__input.is-invalid {
	border-color: #b02a37;
}

.user-auth__checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	font-size: 14px;
	color: #4b5563;
	cursor: pointer;
}

.user-auth__submit {
	width: 100%;
	padding: 12px 16px;
	border: none;
	border-radius: 8px;
	background: #1d4ed8;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

.user-auth__submit:hover {
	background: #1e40af;
}

.user-auth__link {
	display: inline-block;
	color: #1d4ed8;
	text-decoration: none;
	font-size: 14px;
}

.user-auth__link:hover {
	text-decoration: underline;
}

.user-auth__links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
}

.user-auth__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.user-auth__title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 16px;
}

.user-auth__row {
	margin-bottom: 8px;
	font-size: 15px;
}

.user-auth__row-label {
	color: #6b7280;
	margin-right: 4px;
}
