#company-access-form {
	display: flex;
	flex-direction: column;
	row-gap: 16px;

	&.loading {
		opacity: 0.5;
		pointer-events: none;
	}

	.sign-in, .sign-up {
		max-height: 999px;
		overflow: hidden;
		opacity: 1;
		transition: all .2s ease;
	}

	&.is-sign-in {
		.sign-up {
			max-height: 0;
			opacity: 0;
			padding: 0;
			pointer-events: none;
			margin-top: -16px;
			visibility: hidden;
		}
	}

	&.is-sign-up {
		.sign-in {
			max-height: 0;
			opacity: 0;
			padding: 0;
			pointer-events: none;
			margin-top: -16px;
			visibility: hidden;
		}
	}

	.access-form-switch {
		padding: 10px 0 8px 0;
		border-bottom: 1px solid var(--color-grey-30, #d5d5d5);
		margin-bottom: 10px;

		.switch {
			padding: 10px 16px;
			font-size: 16px;
			font-weight: 300;
			color: var(--color-grey-30, #d5d5d5);

			&:hover {
				color: var(--color-grey-40, #8e8e8e);
			}

			&.active {
				color: var(--color-black, #231F20);
				border-bottom: 1px solid var(--color-black, #231F20);
			}
		}
	}

	.form-group {
		input,
		select {
			width: 100%;
			height: 44px;
			border: 1px solid var(--color-grey-30, #d5d5d5);
			border-radius: 5px;
			background-color: #fff;
			font-size: 14px;
			font-weight: 300;
			color: var(--color-black, #231F20);
			padding: 0 12px;

			&:focus,
			&:focus-visible {
				border-color: var(--color-grey-40, #8e8e8e);
				border-radius: 5px;
				outline-offset: 0;
			}
		}
	}

	.pwd-reset-wrap {
		text-align: right;
		margin-top: -10px;

		a {
			color: var(--color-grey-60, #666666);
			font-weight: 300;
			font-size: 12px;
		}
	}

	.form-actions {
		display: flex;
		flex-direction: column;
	}

	.form-error-message {
		margin-bottom: 10px;
		color: #b60000;
		font-size: 16px;
	}

	.privacy-agreement,
	.marketing-consent {
		label {
			display: flex;
			align-items: flex-start;
			gap: 8px;
			cursor: pointer;
			font-size: 14px;
			font-weight: 300;
			color: var(--color-grey-60, #666666);
		}

		input[type="checkbox"] {
			width: 18px;
			height: 18px;
			flex-shrink: 0;
			margin-top: 2px;
		}

		a {
			color: var(--color-black, #231F20);
			text-decoration: underline;
		}
	}
}




/*#company-access-form.loading {*/
/*	!* TODO:  may be some fancy animation should be used instead *!*/
/*	opacity: 0.5;*/
/*	pointer-events: none;*/
/*}*/

/*#company-access-form .form-group {*/
/*	 margin-bottom: 15px;*/
/*}*/

/*#company-access-form .switch {*/
/*     margin: 0.2em 0.2em 0.5em;*/
/*     cursor: pointer;*/
/* }*/

/*#company-access-form .sign-in,*/
/*#company-access-form .sign-up {*/
/*    opacity: 1;*/
/*    pointer-events: auto;*/
/*    max-height: 200px; !* adjust as needed for your tallest field *!*/
/*    overflow: hidden;*/
/*    transition: opacity 0.5s ease, max-height 0.5s ease;*/
/*}*/

/*!* Hide fields depending on mode *!*/
/*#company-access-form.is-sign-in .sign-up {*/
/*    opacity: 0;*/
/*    pointer-events: none;*/
/*    max-height: 0;*/
/*}*/

/*#company-access-form.is-sign-up .sign-in {*/
/*    opacity: 0;*/
/*    pointer-events: none;*/
/*    max-height: 0;*/
/*}*/

/*!* Show fields depending on mode *!*/
/*#company-access-form.is-sign-up .sign-up {*/
/*    opacity: 1;*/
/*    pointer-events: auto;*/
/*    max-height: 150px;*/
/*}*/

/*#company-access-form.is-sign-in .sign-in {*/
/*    opacity: 1;*/
/*    pointer-events: auto;*/
/*    max-height: 150px;*/
/*}*/
