﻿.login-parent {
	display: flex;
	flex-direction: column;
	flex: 1;
	overflow: hidden;
	align-items: center;
	padding: 2rem;
}

#login-form-area > svg {
	width: 22rem;
	align-self: center;
	margin-bottom: 2em;
}
#login-form-area > h1 {
	text-align: center;
	font-weight: 500;
    margin: 3rem 0 0 0;
}

.login-footer {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 2rem 5rem;
}
.cookie-notice {
	width: 52rem;
	color: var(--light-text);
	font-size: var(--font-size-small);
}
.cookie-notice p {
	text-align: center;
}
.cookie-notice .link {
	opacity: 0.6;
}

.eonz-logo-wrapper {
	display: flex;
	width: fit-content;
	font-size: 0.8rem;
    color: var(--light-text);
}
	/* #region: Login background image */
#image-background {
	grid-area: 1 / 1 / 2 / 2;
	background-size: cover;
	background-repeat: no-repeat;
	background-image: url(../../assets/LoginBackgroundPic.png);
	padding: 3rem;
}

#image-background svg {
	display: block;
	width: 33%;
	height: auto;
	margin-bottom: 33%;
}

#image-background h1,
#image-background h3 {
	width: 100%;
	text-align: center;
	color: var(--plain-white);
}

#image-background h1 {
	font-size: 3rem;
	font-weight: 800;
}

#image-background h3 {
	font-size: 1.5rem;
	font-weight: 400;
}
/* #endregion */

/* #region: Login form area */
#login-form-area {
	background-color: var(--deep-background-color);
	border: 1px solid var(--border-color);
	box-shadow: var(--deep-shaow);
	border-radius: 2rem;
	width: 35%;
	margin-top: 3rem;
	padding: 5rem;
	margin-bottom: 3rem;
}

.login-form {
	margin-top: 2rem;
	gap: 0.5rem;
}

.login-form label {
	color: var(--gray);
	font-weight: 500;
}

#login-form-area h3 {
	font-size: var(--font-size-xlarge);
	font-weight: 700;
	margin: 0 0 0.2em 0;
}

#login-form-area h6 {
	font-size: var(--font-size-medium);
	margin-top: 0;
	font-weight: 500;
	margin: 0;
}

#forgot-password {
	font-size: var(--font-size-normal);
	margin-top: 0;
	font-weight: 500;
	color: var(--danger-red);
	text-decoration: none;
	cursor: pointer;
}

#forgot-password:hover {
	text-decoration: underline;
}

#forgot-password:active {
	color: var(--darker-danger-red);
}
#forgot-password:visited {
	color: var(--danger-red);
}

.login-form-footer {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	justify-content: space-between;
	margin-top: 3rem;
}
	.login-form-footer div {
		display: flex;
		flex-direction: row;
		align-items: flex-end;
		gap: 0.5rem;
	}
	.login-form-footer sl-spinner {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}

#password-field-wrapper,
#username-field-wrapper {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

	/* #endregion */
	/* #region: Forgot Password Specifics */
	#Input_Email-error {
		color: var(--danger-red);
		font-size: var(--font-size-small);
		font-weight: 500;
	}
	
@media screen and (max-width: 1500px) {
	#login-form-area {
		width: 50%;
	}
	.eonz-logo-wrapper{
		font-size: 0.8em;
		margin-left: 1rem;
	}
    #login-form-area > h1 {
        margin: 1rem 0 0 0;
    }
}

@media screen and (max-width: 1000px) {
	#login-form-area {
		width: 80%;
	}
	.eonz-logo-wrapper{
		font-size: 0.8em;
		margin-left: 1rem;
	}
}