:root {
	--bg-gradient-start: var(--qs-color-orange-1);
	--bg-gradient-end: var(--qs-color-orange-2);
}

html,
body {
	margin: 0;
	padding: 0;
}

a {
	color: white;
	text-decoration: none;
}

body {
	min-height: 100vh;
	display: flex;
	box-sizing: border-box;
	background: linear-gradient(to bottom right, var(--bg-gradient-start), var(--bg-gradient-end));
	color: white;
	background-attachment: fixed;
	font-size: 18px;
	font-weight: 300;
}

#waveLine {
	width: 90%;
	position: absolute;
	top: 20%;
}

.plus-group {
	display: flex;
	width: 60%;
	justify-content: space-around;
	align-items: center;
	position: absolute;
	height: 100%;
}

.plus-group .plus {
	width: 100px;
	filter: drop-shadow(0 .3em .3em white);
	position: relative;
	animation: float 2s ease-in-out infinite;
}

.plus-group .plus svg {
	width: 100%;
	height: auto;
}

.plus-group .plus:nth-child(even) svg {
	width: 60%;
}

.plus-group .plus svg path {
	fill: none;
	stroke: white;
}

.plus-group .plus:nth-child(1) {
	top: -40%;
	animation-delay: 0s;
}

.plus-group .plus:nth-child(2) {
	top: -30%;
	animation-delay: .2s;
}

.plus-group .plus:nth-child(3) {
	top: 5%;
	animation-delay: .4s;
}

.plus-group .plus:nth-child(4) {
	top: 30%;
	animation-delay: .6s;
}

.plus-group .plus:nth-child(5) {
	top: 40%;
	animation-delay: .8s;
}

.plus-group .plus:nth-child(6) {
	top: 40%;
	animation-delay: 1s;
}

.plus-group .plus:nth-child(7) {
	top: 40%;
	animation-delay: 1.2s;
}

.form-floating>.form-control-plaintext~label,
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
	transform: scale(.75) translateY(-1rem);
}

#boxIntro {
	margin-bottom: 20px;
}

#mainLogin .form-floating input+label,
#mainLogin .form-floating input:focus,
#mainLogin .form-floating input {
	background: none;
	color: rgba(255, 255, 255, .85);
	outline: none;
	box-shadow: none;
	border-radius: 0;
	padding-left: 0;
}

#mainLogin .form-floating input {
	border-width: 0 0 2px 0;
	border-color: white;
	border-style: solid;
}

.form-floating input+label:after {
	display: none;
}

.form-floating:not(.invalid) .just-validate-error-label {
	display: none;
}

.form-floating.invalid .just-validate-error-label {
	background: var(--qs-color-danger) !important;
	color: white !important;
	font-size: 14px;
	font-weight: 600;
	width: max-content;
	padding: 10px 20px;
	border-radius: 100px;
	margin-left: auto;
	max-width: 90%;
	text-align: right;
	line-height: 1.3em;
	box-shadow: -2px 2px 4px rgba(0, 0, 0, .3);
	display: block;
	position: absolute;
	right: 100%;
	top: 50%;
	transform: translate(-13px, -50%);
}

.form-floating.invalid .just-validate-error-label::after {
	content: "";
	display: block;
	position: absolute;
	background: inherit;
	width: 10px;
	height: 10px;
	transform: rotate(45deg) translateY(-50%);
	right: 0;
	top: 50%;
}

#mainLogin {
	display: flex;
	position: relative;
	z-index: 2;
	align-items: end;
}

#imageLeft {
	animation: slideRight .7s ease-out forwards;
	position: absolute;
	left: 0;
	bottom: 0;
}

#imageLeft img {
	max-width: 100%;
}

#contentRight {
	justify-content: right;
}

#loginBox {
	border-radius: 32px;
	padding: 50px 32px;
	border: 1px solid rgba(255, 255, 255, .3);
	background: rgba(255, 255, 255, .15);
	backdrop-filter: blur(12px);
	width: 540px;
	max-width: 100%;
	margin: 20px 0;
	animation: slideLeft .7s ease-out forwards;
}

#loginBox #logo {
	filter: brightness(0) invert(1);
	width: 150px;
	margin: 20px auto 40px auto;
	display: block;
}

#loginBox .btn.btn-primary {
	--height: 60px;

	background: linear-gradient(to right, var(--qs-color-gradient-2-start), var(--qs-color-gradient-2-end));
	width: auto;
	display: flex;
	margin: auto;
	min-width: 150px;
	font-size: 1em;
	border-radius: 32px;
	border-color: var(--qs-color-gradient-1-end);
	clear: both;
}

#btnLoginSso {
	--size: 60px;
	--white-glass: rgba(255, 255, 255, .3);

	background: linear-gradient(to right, var(--white-glass), transparent, var(--white-glass));
	background-size: 200% 100%;
	background-position: right center;
	border: 2px solid white;
	color: white;
	width: 100%;
	font-size: 20px;
	font-weight: 400;
	padding: 0 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	border-radius: calc(var(--size) / 2);
	height: var(--size);
	margin-bottom: 30px;
	transition: all .3s ease;
}

#btnLoginSso:hover {
	background-position: left center;
}

.sep-text {
	display: flex;
	gap: 15px;
	align-items: center;
	justify-content: center;
	margin: 20px auto;
	text-align: center;
	width: max-content;
}

.sep-text::before,
.sep-text::after {
	content: "";
	display: block;
	height: 1px;
	background: white;
	opacity: .5;
	width: 50px;
}

#formOptions #changePassword {
	display: none;
}

#formOptions.change-password #defaultLogin {
	display: none;
}

#formOptions.change-password #changePassword {
	display: block;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-20%);
	}
}

@keyframes slideLeft {
	0% {
		transform: translateX(100%);
		opacity: 0;
	}

	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideRight {
	0% {
		transform: translateX(-100%);
		opacity: 0;
	}

	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

@media(max-width: 992px) {
	#mainLogin {
		align-items: center;
	}

	#imageLeft {
		display: none;
	}

	#contentRight {
		justify-content: center;
	}

	.form-floating.invalid .just-validate-error-label {
		position: relative;
		inset: auto;
		margin: 10px 0 0 auto;
		transform: none;
	}

	.form-floating.invalid .just-validate-error-label::after {
		inset: 0 50% 0 auto;
	}
}