

/* Start:/bitrix/templates/trusardy/css/auth.css?17884566756810*/
.bx-authform {
	max-width: 100%;
	margin: 0 auto;
}

.profiles__block {
	width: 360px;
	max-width: 100%;
	margin: 80px auto;
	display: flex;
	flex-direction: column;
}

.profiles__block-title {
	font-weight: 500;
	font-size: 24px;
	text-align: center;
	color: var(--light-brown);
	margin: 0;
}

.profiles__block-menu {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding-left: 0;
	margin: 30px 0;
}

.profiles__block-menu li {
	list-style: none;
	width: 50%;
	display: block;
}

.profiles__block-link {
	border: 1px solid var(--dark-blue);
	background: var(--white);
	font-weight: 700;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0.1em;
	text-align: center;
	color: var(--dark-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	text-decoration: none;
}

.profiles__block-link.active,
.profiles__block-link:hover {
	background: var(--dark-blue);
	color: var(--white);
	text-decoration: none;
}

.form__auth {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.form__control {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--grey);
	outline: none;
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	color: var(--black);
}

.form__control::placeholder {
	color: var(--grey);
}

.form__control:focus {
	border-color: var(--light-brown);
}

.btn__auth,
input.btn__auth {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 56px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 0;
	background: var(--brown);
	box-shadow: 10px 10px 20px 0 rgba(0, 0, 0, 0.25);
	font-weight: 700;
	font-size: 14px;
	line-height: 56px;
	letter-spacing: 0.1em;
	text-align: center;
	color: var(--white);
	cursor: pointer;
}

.btn__auth:hover {
	background: var(--light-brown);
}

.form__link {
	font-weight: 400;
	font-size: 14px;
	line-height: 143%;
	text-decoration: underline;
	color: var(--light-brown);
	display: block;
	margin: -20px 0 0;
	text-align: right;
}

.form__link a {
	color: inherit;
}

.form__soc {
	font-weight: 400;
	font-size: 14px;
	line-height: 143%;
	text-align: center;
	color: #000;
	margin: 20px auto 0;
}

.form__hint {
	font-weight: 400;
	font-size: 14px;
	line-height: 143%;
	color: var(--grey);
	margin: 0 0 20px;
}

.form__divider {
	font-size: 14px;
	color: var(--grey);
	text-align: center;
	margin: -20px 0;
}

.bx-authform .alert {
	width: 360px;
	max-width: 100%;
	margin: 0 auto;
	padding: 12px 16px;
	font-size: 14px;
	line-height: 143%;
}

.bx-authform .alert-danger {
	background: #fdeceb;
	border: 1px solid #e6b7b3;
	color: #8c1d13;
}

.bx-authform .alert-success {
	background: #eef7ea;
	border: 1px solid #b7d9a8;
	color: #2f6b1c;
}

@media (max-width: 767px) {
	.profiles__block {
		width: 100%;
		margin: 40px auto;
		padding: 0 20px;
	}
}

/* ---------- группа поля ---------- */
.form__group {
	display: flex;
	flex-direction: column;
	position: relative;
}

/* ---------- текст ошибки под инпутом ---------- */
.form__error {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin-top: 8px;
	font-size: 12px;
	line-height: 140%;
	color: #c0392b;
	animation: form-error-in 220ms ease-out;
}

.form__error-icon {
	flex: 0 0 14px;
	margin-top: 2px;
}

@keyframes form-error-in {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ---------- невалидный инпут ---------- */
.form__control.is-invalid {
	border-color: #c0392b;
	background-color: #fdf6f5;
}

.form__control.is-invalid::placeholder {
	color: #c98d86;
}

.form__control.is-invalid:focus {
	border-color: #c0392b;
	box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

/* лёгкое подрагивание группы с ошибкой */
.form__group.has-error .form__control {
	animation: form-shake 300ms ease-out;
}

@keyframes form-shake {
	0%, 100% { transform: translateX(0); }
	25%      { transform: translateX(-4px); }
	75%      { transform: translateX(4px); }
}

/* ---------- подсказка (не ошибка) ---------- */
.form__note {
	margin-top: 8px;
	font-size: 12px;
	line-height: 140%;
	color: var(--grey);
}

/* ---------- общий алерт над формой ---------- */
.form__alert {
	padding: 12px 16px;
	margin-bottom: 24px;
	font-size: 13px;
	line-height: 150%;
}

.form__alert--danger {
	background: #fdf1f0;
	border-left: 3px solid #c0392b;
	color: #8c1d13;
}

.form__alert > div + div {
	margin-top: 6px;
}

/* ---------- капча ---------- */
.form__captcha-img {
	display: block;
	margin-bottom: 12px;
	border: 1px solid var(--form-grey);
}

/* ---------- успешный алерт ---------- */
.form__alert--success {
	background: #f0f7ec;
	border-left: 3px solid #4a8c3a;
	color: #2f6b1c;
}

/* ---------- разделитель «или» ---------- */
.form__divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: -12px 0;
	font-size: 13px;
	color: var(--grey);
}

.form__divider::before,
.form__divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--form-grey);
}

/* ---------- строка «запомнить / забыли пароль» ---------- */
.form__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: -12px 0;
}

.form__row .form__link {
	margin: 0;
	text-align: right;
	white-space: nowrap;
}

.form__check {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	color: var(--grey);
	cursor: pointer;
}

.form__check input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--brown);
	cursor: pointer;
}

.form__captcha-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.form__captcha-row .form__captcha-img {
	margin-bottom: 0;
}

.form__captcha-reload {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--grey, #ddd);
	background: transparent;
	color: var(--light-brown, #8a6a4f);
	cursor: pointer;
	transition: border-color .2s, color .2s;
}

.form__captcha-reload:hover {
	border-color: var(--light-brown, #8a6a4f);
}

.form__captcha-reload.is-loading {
	pointer-events: none;
	opacity: .5;
}

.form__captcha-reload.is-loading svg {
	animation: captcha-spin .8s linear infinite;
}

@keyframes captcha-spin {
	to { transform: rotate(360deg); }
}
/* End */
/* /bitrix/templates/trusardy/css/auth.css?17884566756810 */
