body.auth-shown
{
	overflow: hidden;
}
.auth-section {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: #3939396b !important;
	height: 100vh;
	z-index: 1000000;
	overflow: auto;
	transition: background-color 0.2s, opacity 0.2s;
}
body:not(.auth-shown) .auth-section
{
	opacity: 0;
	pointer-events: none;
}
.auth-section > .container {
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	/*overflow: hidden;*/
}
.section.auth-section .logo {
	background-repeat: no-repeat;
	background-position: center;
	max-height: 100px;
	display: block;
	margin: auto auto 30px;
	width: unset;
}
[data-auth-trigger]
{
	user-select: none;
	cursor: pointer;
}
.auth-form {
	background-color: #fff;
	padding: 32px;
	border: 1px solid var(--app-gray-light);
	border-top: 0;
	box-shadow: 0 4px 4px -4px;
	width: 100%;
	max-width: 500px;
	display: flex;
	cursor: default;
	flex-direction: column;
	height: fit-content;
	border-radius: 12px;
	position: relative;
}
.auth-closer {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	color: var(--app-muted);
}
.auth-closer:hover {
	color: var(--app-main);
}

.footer-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.auth-form.registration-mode .hide-on-registration {
	display: none;
}
.auth-form:not(.registration-mode) .show-on-registration {
	display: none;
}
.auth-form.reset-request-mode .hide-on-password-reset {
	display: none;
}
.auth-form:not(.reset-request-mode) .show-on-password-reset {
	display: none;
}
.auth-form.reset-request-mode .show-on-registration {
	display: none;
}
.auth-form.reset-request-mode .hide-on-registration {
	display: none;
}
.forgot-password {
	display: block;
	margin-top: 6px;
	font-size: 13px;
}

.auth-form:not(.success) .thank-you-container {
	display: none;
}

.auth-form.success > .auth-body {
	display: none;
}
.thank-you-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 10px;
}

.thank-you-header {
	color: var(--app-main);
	font-size: 18px;
}

.thank-you-icon {
	color: green;
}

.thank-you-message-text {
	text-align: center;
}

span.password-notice {
	color: var(--app-brown-medium);
	font-size: 10px;
	display: inline-block;
}
.auth-form:not(.registration-mode) span.password-notice {
	display: none;
}

@media (max-width: 429px) {
	.auth-section > .container {
		min-height: 100%;
		height: auto;
		align-items: flex-start;
		padding: 20px 0;
	}

	.auth-form {
		padding: 24px 20px;
	}

	.footer-wrapper {
		flex-direction: column-reverse;
		align-items: stretch;
		gap: 10px;
	}

	.footer-wrapper button {
		width: 100%;
	}
}