/* Hide scrollbars on the entire page */
html, body {
	overflow: hidden;
}
html,
body,
canvas {
	width: 100%;
	height: 100%;
	background: #fff;
}

canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1; /* Canvas should be beneath everything */
}

#app {
	position: relative;
	z-index: 2; /* Ensure #app is above the canvas, but below modal elements */
	width: 100%;
}

.modal-backdrop {
	z-index: 1050 !important; /* Ensure backdrop is above canvas and app */
	position: fixed !important;
}

.modal {
	z-index: 1060 !important; /* Modal should be above the backdrop */
	position: fixed !important;
}

.modal-dialog {
	z-index: 1060 !important; /* Ensure modal content stays above the backdrop */
	position: relative !important;
}

.page-header {
	margin: 8px 0px;
	font-size: 1rem;
}


#logonfooter {
	border: 1px solid #eaeaea;
	background-color: #fff;
	width: 250px;
	font-size: 0.85rem;
	letter-spacing: -0.01rem;
}

html,
body {
	display: flex;
}

.min-vh-75 {
	min-height: 75vh !important;
}

.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
	padding-right: calc(var(--bs-gutter-x) * 1);
	padding-left: calc(var(--bs-gutter-x) * 1);
}

.mt-8 {
	margin-top: 8rem;
}

.card, .card-header {
	border: 2px solid #eaeaea
}
.card-header {
	border: none;
}

label {
	font-size: 1rem;
}

.btn-primary {
	background-color: var(--bs-primary);
	border-color: var(--bs-primary);
	color: #fff;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
	background-color: var(--bs-primary);
	border-color: var(--bs-primary);
	color: #fff;
	box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.logon-actions-column {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

@media (max-width: 991.98px) {
	.logon-actions-column {
		margin-top: 0.5rem;
	}
}

#logon-text-main {
	color: #fff;
	font-size: 3rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	position: absolute;
	top: 140px;
	left: 20px;
	max-width: calc(100% - 40px);
	line-height: 1.05;
	letter-spacing: -0.025rem;
}

#logon-text-main::after {
	content: "";
	display: inline-block;
	flex: 0 0 auto;
	width: 1.875rem;
	height: 1.875rem;
	background-image: url(/assets/img/arrow-right-white.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1.875rem;
	animation: flyInFromLeft 600ms ease-out forwards;
}


#logon-text-secondary {
	color: #fff;
	font-size: 1.5rem;
	font-weight: 600;
	position: absolute;
	top: 205px;
	left: 20px;
	max-width: calc(100% - 40px);
	line-height: 1.2;
	letter-spacing: -0.025rem;
}

.arrow-right-white {
	display: none;
}

.logoimage {
	width: 328px;
}

/* Container to hold the logo */
.logo-container {
	height: 180px;
	position: relative;
	text-align: center;
}

@keyframes fadeInFromTop {
	0% {
		opacity: 0;
		transform: translateY(-50px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.logo-container img {
	animation: fadeInFromTop 200ms ease-out forwards;
}

@keyframes flyInFromLeft {
	0% {
		opacity: 0.0;
		transform: translateX(-100px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@media (min-width: 768px) and (max-width: 1199.98px) {
	.logon-hero-panel {
		display: flex !important;
		flex-direction: column;
		justify-content: center;
		gap: 1rem;
		min-height: 26rem;
		padding: 2.5rem 1.5rem;
	}

	#logon-text-main,
	#logon-text-secondary,
	.arrow-right-white {
		position: static;
		left: auto;
		top: auto;
	}

	#logon-text-main {
		font-size: 2.25rem;
		max-width: 100%;
	}

	#logon-text-main::after {
		width: 1.5rem;
		height: 1.5rem;
		background-size: 1.5rem;
	}

	#logon-text-secondary {
		font-size: 1.25rem;
		max-width: 100%;
	}
}
