@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

body.login {
	--black: #181818;
	--white: #ffffff;
	--gray: #c5c5c5;
	--light: #ff607c;
	--accent: #ff3b5d;
	background: var(--black);
	font-family: "Noto Sans", sans-serif !important;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

#nav,
.language-switcher,
.privacy-policy-page-link {
	display: none !important;
}

body.login {
	padding: 0;
	min-width: 100vw;
	min-height: 100vh;
	display: flex;
  flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

div#login {
	margin-top: 0;
	padding-top: 0;
	width: 450px !important;
	max-width: 90vw !important;
	margin: 0 auto;
}

.login form .input {
	border-radius: 4px;
	border: 1px solid var(--gray);
	background-color: var(--white);
  padding: 10px 15px;
	height: 50px;
	font-size: 14px;
	color: var(--black);
}

.login form .input#user_pass {
	font-size: 12px;
	letter-spacing: 2px;
}

a:active,
a:focus {
	border-color: var(--accent) !important;
	outline: none !important;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
}

.login form .input:active,
.login form .input:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.wp-core-ui .button-group.button-large .button, .wp-core-ui .button.button-large {
	background-color: var(--accent);
	border-color: var(--accent);
	border-radius: 4px;
	height: 50px;
	padding: 0;
	font-size: 14px;
	border: 0;
	font-weight: 700;
	transition: opacity 0.25s ease;
}

.wp-core-ui .button-group.button-large .button, .wp-core-ui .button.button-large:hover {
	opacity: 0.9;
}

a:hover {
	color: var(--accent) !important;
	transition: color 0.25s ease;
}

a.wp-login-log-in,
a.wp-login-lost-password {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	font-size: 12px;
	color: var(--gray) !important;
}

#lostpasswordform p:first-of-type {
	margin-bottom: 14px;
}

a.wp-login-log-in:hover,
a.wp-login-lost-password:hover {
	color: var(--accent) !important;
}

.wp-core-ui .button-group.button-large .button, .wp-core-ui .button.button-large:focus,
.wp-core-ui .button-group.button-large .button, .wp-core-ui .button.button-large:active {
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 1px solid var(--pink);
	outline: none;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

label {
  opacity: 1;
	color: var(--gray);
}

label.filled {
	opacity: 0;
}

form#loginform {
	padding: 32px 32px 32px 32px;
	background: #ffffff;
	border-radius: 4px;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	border: 0;
}

.login #nav {
	padding: 0 32px 32px 32px;
	margin: -5px 0 0 0;
	text-align: center;
	background: #ffffff;
	border-radius: 4px;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	border: 0;
}

.login form .input {
	margin: 0;
}

.login form {
	border-radius: 4px;
	margin-top: 0;
	border: 0;
	padding: 32px 32px 20px 32px;
}

.login .message, .login .notice, .login .success {
	border: 0;
	background-color: rgba(255, 255, 255, 0.075);
	color: rgba(255, 255, 255, 0.65);
	padding: 14px 32px;
	border-radius: 4px;
}

h1,
p.forgetmenot {
	display: none;
}

.user-pass-wrap,
#lostpasswordform p:first-child,
#loginform p:first-child {
	position: relative;
	margin: 0 0 14px;
}

.user-pass-wrap label,
#lostpasswordform p:first-child label,
#loginform p:first-child label {
	position: absolute;
	z-index: 1;
	bottom: 0;
	left: 16px;
	transform: translateY(-14.5px);
	margin: 0;
	padding: 0;
}

p.submit,
p.submit .button,
.forgetmenot {
	width: 100%;
}

#login form p:first-child::before {
	content: "";
	display: block;
	width: 100%; /* Adjust to your desired size */
	height: 30px;
	margin: 0 auto 32px;
	background-image: url('../img/login-logo.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

#login form p.forgetmenot {
	margin-bottom: 14px;
}

body.login .wp-hide-pw,
p#backtoblog {
	display: none !important;
}