/* Небольшие дополнения к стилям темы для страниц регистрации, восстановления и смены пароля.
   Всё остальное - обычные классы Bootstrap и темы портала. */
.auth-message:empty { display: none; }
.auth-message { margin-bottom: 1rem; }

/* Поля - короткие и прижаты к левому краю, сама карточка на всю ширину */
#auth_body { max-width: 560px; }

/* Требования к паролю */
.auth-rules {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px 12px;
	font-size: 13px;
	color: #8a94a6;
}
.auth-rules li { display: flex; align-items: center; gap: 4px; }
.auth-rules li.ok { color: #17a00e; }

/* Картинка капчи */
.portal-captcha-picture {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	min-width: 150px;
	height: 38px;
	overflow: hidden;
}
.portal-captcha-picture img { width: 150px; height: 38px; }
.portal-captcha-picture span { font-weight: 600; }

@media (max-width: 520px) {
	.auth-rules { grid-template-columns: 1fr; }
	.portal-captcha-picture { width: 120px; min-width: 120px; }
	.portal-captcha-picture img { width: 120px; height: 30px; }
}
