.wLogin {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1em 1.5em;
	min-height: 100dvh;
}

.wLogin header {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 100%;
}

.wLogin .mainLogo {
	width: 10em;
	
}

.wLogin .mainLogo #emblem path {
	fill: var(--color__green) !important;
}

 

.wLogin .mainLogo svg {
	width: 100%;
}

#btnLoginClose {
	position: relative;
	width: 3em;
	height: 3em;
	margin: 0;
	
	border: 1px solid var(--color__black);
	border-radius: 50%;
	background-color: transparent;
}


#btnLoginClose .iconBlock {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40%;
}


.wLogin__inner {
	flex: 1 1 auto;
	
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 500px;
	
	text-align: center;
}

.wLogin__inner h1 {
	margin-bottom: 1rem;
}

.wLogin__inner form {
	margin-top: 2em;
}

.wLogin form {
	width: 100%;
}

::backdrop {
	background: rgba(0, 0, 0, 0.5);
}

#registerPopup {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translate(-50%, -100%);
	min-height: 100dvh;
	min-width: 22em;
	padding: 1em;
	
	display: flex;
	flex-direction: column;
	align-items: center;
	
	background-color: var(--color__black);
	color: var(--color__green);
}

#registerPopup input:-webkit-autofill, 
#registerPopup input:-webkit-autofill:hover, 
#registerPopup input:-webkit-autofill:focus, 
#registerPopup input:-webkit-autofill:active {
  -webkit-text-fill-color: #fff;
  color: #fff;
  
	-webkit-background-clip: text;
	-webkit-text-fill-color: #ffffff !important;
	transition: background-color 5000s ease-in-out 0s;
	box-shadow: inset 0 0 0 0 var(--color__black);
}



#registerPopup[open] {
	display: flex;
	animation: slideDown 1s ease-in forwards;
}

#registerPopup #btnClose {
	
}

#registerPopup input {
	color: #fff;
}

#registerPopup .form.form--defaultStyle .form__group.form__group--input.hasValue label, 
#registerPopup .form.form--defaultStyle .form__group.form__group--input.focus label {
	background-color: var(--color__black);
}

.wLogin__inner {
	display: none;
}

.wLogin__inner--active {
	display: flex;
}


.b--loading {
	position: relative;
	overflow: clip;
    overflow-clip-margin: content-box;
}

.b--loading:before {
	position: absolute;
	inset: 0;
	z-index: 2;
		
	background-color: rgba(0, 0, 0, 0.8);	
	
	content: "";
}

.b--loading:after {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	
	font-size: 1.5em;
	content: "⌛";
	color: #fff;
	animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
	0%{
		transform: translate(-50%, -50%) rotate(0);
	}
	
	100%{
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

@keyframes slideDown {
	0%{
		transform: translate(-50%, -100%);
	}
	
	100%{
		transform: translate(-50%, 0);
	}
}


@media (min-width: 991px) {
	.wLogin { 
		padding: 3em 3em 2em 3em;
	}
	
	.wLogin .mainLogo {
		width: 13em;
	}
	
	#registerPopup {
		padding: 3em 6em;
	}
	
	
	.wLogin header {
		justify-content: space-between;
	}

}

@media (min-width: 1200px) {
    .userRegister h1, 
	.userRegister .h1 {
        font-size: 3.8em;
    }
}