@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.bx-custom-auth .auth-modal__button--submit {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 32px 40px;
	gap: 10px;
	width: 713px;
	height: 97px;
	background: #2B418B;
	border: none;
	cursor: pointer;
	font-family: 'Noto Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
	line-height: 33px;
	color: #FFFFFF;
	flex: none;
	order: 1;
	flex-grow: 1;
	transition: background-color 0.3s ease;
}

.bx-custom-auth .auth-modal__button--submit:hover {
	background: #1A2F6B;
}

.bx-custom-auth .auth-modal__button--submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.bx-custom-auth .auth-container__title {
	width: 100%;
	height: 72px;
	font-family: 'Noto Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 56px;
	line-height: 72px;
	color: #000000;
	margin-bottom: 32px;
}

.bx-custom-auth .auth-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

.bx-custom-auth .auth-modal {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 64px;
	gap: 10px;
	isolation: isolate;
	position: relative;
	width: 1024px;
	background: #FFFFFF;
	animation: slideIn 0.3s ease;
}

.bx-custom-auth .auth-modal__content {
	display: flex;
	flex-direction: column;
	align-items: normal;
	padding: 0px;
	gap: 32px;
	width: 896px;
	flex: none;
	order: 0;
	align-self: stretch;
	flex-grow: 0;
	z-index: 0;
}

.bx-custom-auth .auth-modal__title {
	width: 100%;
	height: 72px;
	font-family: 'Noto Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 56px;
	line-height: 72px;
	color: #000000;
	margin: 0;
	flex: none;
	order: 0;
	align-self: stretch;
	flex-grow: 0;
}

.bx-custom-auth .auth-modal__message {
	width: 100%;
	height: 88px;
	font-family: 'Stag Sans', sans-serif;
	font-style: normal;
	font-weight: 300;
	font-size: 32px;
	line-height: 44px;
	color: #000000;
	flex: none;
	order: 1;
	align-self: stretch;
	flex-grow: 0;
}

.bx-custom-auth .auth-modal__email {
	font-weight: 400;
	color: #0827C4;
}

.bx-custom-auth .field--auth-modal {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 0px;
	gap: 4px;
	width: 100%;
	height: 80px;
	flex: none;
	order: 1;
	align-self: stretch;
	flex-grow: 0;
}

.bx-custom-auth .field__input-wrapper {
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	align-items: center;

	width: 100%;
	height: 80px;
	background: #F8F7F7;
	border-bottom: 1px solid #000000;
	border-radius: 0px;
	flex: none;
	order: 0;
	align-self: stretch;
	flex-grow: 0;
}
.field-error {
	color: #e74c3c;
	font-size: 12px;
	margin-top: 4px;
	min-height: 16px;
}
.auth-result {
	margin: 0px 0 !important;
	min-height: 0px!important;
}
.auth-result--error {
	color: #e74c3c;
	font-size: 14px;
}
.auth-result--loading {
	color: #666;
	font-style: italic;
}
.field__input.error,
#authEmailInput.error,
#authPasswordInput.error {
	border-color: #e74c3c;
}
.field__input:focus.error {
	border-color: #e74c3c;
}
.bx-custom-auth .field__input {
	width: 100%;
	height: 32px;
	font-family: 'Stag Sans', sans-serif;
	font-style: normal;
	font-weight: 300;
	font-size: 24px;
	line-height: 32px;
	color: #000000;
	background: transparent;
	border: none;
	outline: none;
	flex: none;
	order: 0;
	flex-grow: 1;
}

.bx-custom-auth .field__input::placeholder {
	color: #000000;
	opacity: 0.5;
}

.bx-custom-auth .auth-modal__buttons {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	padding: 32px 0px 0px;
	gap: 32px;
	width: 100%;
	height: 129px;
	flex: none;
	order: 2;
	align-self: stretch;
	flex-grow: 0;
}

.bx-custom-auth .auth-modal__buttons--single {
	flex-direction: column;
	gap: 10px;
	height: auto;
}

.bx-custom-auth .auth-modal__button {
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 32px 40px;
	gap: 10px;
	height: 97px;
	background: #2B418B;
	border: none;
	cursor: pointer;
	font-family: 'Noto Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
	line-height: 33px;
	color: #FFFFFF;
	flex: none;
	transition: background-color 0.3s ease;
}

.bx-custom-auth .auth-modal__button:hover {
	background: #1A2F6B;
}

.bx-custom-auth .auth-modal__button--outline {
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 32px 40px;
	gap: 10px;
	width: 151px;
	height: 97px;
	background: #FFFFFF;
	border: 1px solid #0827C4;
	font-family: 'Noto Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
	line-height: 33px;
	color: #0827C4;
	flex: none;
	order: 0;
	flex-grow: 0;
	transition: all 0.3s ease;
}

.bx-custom-auth .auth-modal__button--outline:hover {
	background: #F8F7F7;
}

.bx-custom-auth .auth-modal__button--full {
	width: 100%;
	flex: none;
	order: 0;
	flex-grow: 0;
}

.bx-custom-auth .auth-modal__result {
	display: none;
	width: 612px;
	height: 22px;
	font-family: 'Noto Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 22px;
	text-transform: capitalize;
	color: #000000;
	margin-top: 16px;
	flex: none;
	order: 1;
	align-self: stretch;
	flex-grow: 0;
}

.bx-custom-auth .auth-modal__result--success {
	color: #28a745;
}

.bx-custom-auth .auth-modal__result--error {
	color: #dc3545;
}

.bx-custom-auth .auth-modal__close {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 24px;
	gap: 10px;
	position: absolute;
	width: 96px;
	height: 96px;
	right: 0px;
	top: 0px;
	background: #FFFFFF;
	border: none;
	cursor: pointer;
	flex: none;
	order: 1;
	flex-grow: 0;
	z-index: 1;
}

.bx-custom-auth .auth-modal__close::before,
.bx-custom-auth .auth-modal__close::after {
	content: '';
	position: absolute;
	width: 48px;
	height: 2px;
	background: #000000;
	left: 50%;
	top: 50%;
	transform-origin: center;
}

.bx-custom-auth .auth-modal__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.bx-custom-auth .auth-modal__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.bx-custom-auth .tabs {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0;
	gap: 8px;
	width: 209px;
	height: 40px;
	margin-bottom: 32px;
}

.bx-custom-auth .tabs__item {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border: none;
	cursor: pointer;
	font-family: 'Noto Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	transition: all 0.3s ease;
	background: #F0F0F0;
	color: #000000;
	text-decoration: none;
}

.bx-custom-auth .tabs__item:hover {
	opacity: 0.9;
}

.bx-custom-auth .tabs__item--active {
	background: #000000;
	color: #FFFFFF;
}

.bx-custom-auth .tabs__item--inactive {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Форма авторизации */
.bx-custom-auth .auth-form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0;
	gap: 24px;
	width: 100%;
}

.bx-custom-auth .field {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 0;
	gap: 4px;
	width: 100%;
	height: 80px;
}

.bx-custom-auth .field--password {
	position: relative;
}

.bx-custom-auth .field input {
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 24px;
	width: 100%;
	height: 80px;
	background: #F8F7F7;
	border: none;
	border-bottom: 1px solid #000000;
	border-radius: 0;
	font-family: 'Stag Sans', sans-serif;
	font-style: normal;
	font-weight: 300;
	font-size: 24px;
	line-height: 32px;
	color: #000000;
	outline: none;
	transition: border-color 0.3s ease, background 0.3s ease;
}



.bx-custom-auth .field input::placeholder {
	color: #999;
	font-family: 'Stag Sans', sans-serif;
	font-weight: 300;
}

.bx-custom-auth .field__icon {
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	font-size: 20px;
	user-select: none;
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.bx-custom-auth .field__icon:hover {
	opacity: 1;
}

.bx-custom-auth .auth-form__link {
	width: 100%;
	height: 24px;
	font-family: 'Inter', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	text-decoration-line: underline;
	color: #000000;
	cursor: pointer;
	transition: color 0.3s ease;
}

.bx-custom-auth .auth-form__link:hover {
	color: #2B418B;
}

.bx-custom-auth .checkbox {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	padding: 0;
	width: 280px;
	height: 24px;
	cursor: pointer;
	user-select: none;
}

.bx-custom-auth .checkbox .jq-checkbox{
	border: 1px solid #000000;
}

.bx-custom-auth .checkbox input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
}

.bx-custom-auth .checkbox__box {
	position: relative;
	width: 24px;
	height: 24px;
	background: #FFFFFF;
	border: 1px solid #000000;
	box-sizing: border-box;
	flex: none;
	order: 0;
	flex-grow: 0;
	transition: all 0.3s ease;
}


.bx-custom-auth .checkbox input[type="checkbox"]:checked + .checkbox__box {
	background: #1A2F6B;
}

.bx-custom-auth .checkbox input[type="checkbox"]:checked + .checkbox__box::after {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #FFFFFF;
	font-size: 16px;
	line-height: 1;
}


.bx-custom-auth .checkbox__label {
	font-family: 'Stag Sans', sans-serif;
	font-style: normal;
	font-weight: 300;
	font-size: 16px;
	line-height: 24px;
	color: #000000;
	flex: none;
	order: 1;
	flex-grow: 1;
	align-self: stretch;
}
.bx-custom-auth .auth-form__submit {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 32px 40px;
	gap: 10px;
	width: 100%;
	height: 97px;
	background: #2B418B;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s ease;
	margin-top: 10px;
	font-family: 'Noto Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
	line-height: 33px;
	color: #FFFFFF;
	text-decoration: none;
}

.bx-custom-auth .auth-form__submit:hover {
	background: #1A2F6B;
	color: #FFFFFF;
}

@media (max-width: 1200px) {
	.bx-custom-auth .auth-container__title,
	.bx-custom-auth .auth-modal__title {
		font-size: 40px;
		line-height: 48px;
		height: auto;
	}
	.bx-custom-auth .field {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		padding: 0;
		gap: 4px;
		width: 100%;
		height: 50px;
	}
	.bx-custom-auth .field__icon {
		position: absolute;
		right: 24px;
		top: 30%;
		transform: translateY(-50%);
		cursor: pointer;
		font-size: 20px;
		user-select: none;
		opacity: 0.7;
		transition: opacity 0.3s ease;
	}

	.bx-custom-auth .auth-modal__message {
		font-size: 24px;
		line-height: 32px;
		height: auto;
	}
	.bx-custom-auth .auth-form__submit {
		padding: 27px 24px;
		height: 54px;
		font-size: 18px;
	}
	.bx-custom-auth .auth-form {

		gap: 17px;

	}
}

@media (max-width: 768px) {

	.bx-custom-auth .auth-container__title,
	.bx-custom-auth .auth-modal__title {
		font-size: 32px;
		line-height: 40px;
		margin-bottom: 24px;
	}

	.bx-custom-auth .auth-modal__buttons {
		flex-direction: column;
		height: auto;
		gap: 16px;
	}

	.bx-custom-auth .auth-modal__buttons--single {
		gap: 10px;
	}

	.bx-custom-auth .auth-modal__button,
	.bx-custom-auth .auth-modal__button--outline,
	.bx-custom-auth .auth-modal__button--full {

		height: 80px;
		padding: 24px 32px;
		font-size: 20px;
	}

	.bx-custom-auth .tabs {
		width: 100%;
	}

	.bx-custom-auth .tabs__item:first-child,
	.bx-custom-auth .tabs__item:last-child {
		flex: 1;
		width: auto;
	}

	.bx-custom-auth .field input,
	.bx-custom-auth .field__input {
		font-size: 18px;
		padding: 16px;
		height: 60px;
	}



	.bx-custom-auth .auth-modal__close {
		width: 64px;
		height: 64px;
		padding: 16px;
	}

	.bx-custom-auth .auth-modal__close::before,
	.bx-custom-auth .auth-modal__close::after {
		width: 32px;
	}

	.bx-custom-auth .auth-modal__message {
		font-size: 20px;
		line-height: 28px;
	}
}

@media (max-width: 480px) {
	.bx-custom-auth .auth-container__title,
	.bx-custom-auth .auth-modal__title {
		font-size: 28px;
		line-height: 36px;
	}

	.bx-custom-auth .field input,
	.bx-custom-auth .field__input {
		font-size: 16px;
	}



	.bx-custom-auth .auth-modal__message {
		font-size: 18px;
		line-height: 24px;
	}
}
@media (max-width: 768px) {
	.bx-custom-auth .auth-modal {
		width: 328px;
		padding: 24px;
		max-height: 254px;
	}
	.bx-custom-auth .auth-modal--success {
		width: 328px;
		padding: 24px;
		max-height: 294px;
	}
	.bx-custom-auth .auth-modal__content {
		width: 280px;
		gap: 16px;
		height: 254px;
	}
	.bx-custom-auth .auth-modal__content--success {
		width: 280px;
		gap: 16px;
		height: 294px;
	}
	.bx-custom-auth .auth-modal__title {
		font-size: 20px;
		line-height: 32px;
		height: auto;
		margin-bottom: 0;
	}

	.bx-custom-auth .field--auth-modal,
	.bx-custom-auth .field__input-wrapper {
		width: 280px;
		height: 56px;
	}



	.bx-custom-auth .field__input {
		font-size: 16px;
		line-height: 32px;
		height: 32px;
	}

	.bx-custom-auth .auth-modal__buttons {
		flex-direction: row;
		gap: 10px;
		height: auto;
		padding-top: 45px;
		width: 280px;
	}

	.bx-custom-auth .auth-modal__button,
	.bx-custom-auth .auth-modal__button--outline {
		height: 54px;
		padding: 0 16px;
		font-size: 16px;
		line-height: 24px;
	}

	.bx-custom-auth .auth-modal__button--outline {
		width: 88px;
		flex: 0 0 auto;
	}

	.bx-custom-auth .auth-modal__button--submit {
		flex: 1 1 auto;
		min-width: 182px;
		padding: 0 20px;
	}

	/* Кнопка закрытия тоже уменьшаем */
	.bx-custom-auth .auth-modal__close {
		width: 32px;
		height: 32px;
		padding: 4px;
	}

	.bx-custom-auth .auth-modal__close::before,
	.bx-custom-auth .auth-modal__close::after {
		width: 18px;
	}

	/* Результат/сообщение */
	.bx-custom-auth .auth-modal__result {
		font-size: 14px;
		line-height: 20px;
	}
}