/* =========================================================
   Custom WordPress Login
   ========================================================= */

:root {
	--fad-primary: #2563eb;
	--fad-primary-hover: #1d4ed8;
	--fad-bg: #0f172a;
	--fad-card: #ffffff;
	--fad-text: #0f172a;
	--fad-muted: #64748b;
	--fad-border: #e2e8f0;
}

/* Page */

body.login {
	background:
		radial-gradient(
			circle at 20% 20%,
			rgba(37, 99, 235, 0.25),
			transparent 35%
		),
		radial-gradient(
			circle at 80% 80%,
			rgba(59, 130, 246, 0.18),
			transparent 35%
		),
		var(--fad-bg);

	min-height: 100vh;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	padding: 30px;
	box-sizing: border-box;

	font-family:
		Inter,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
}

/* Login wrapper */

#login {
	width: 100%;
	max-width: 420px;
	padding: 0;
	margin: 0;
}

/* WordPress logo */

/*.login h1 {
	margin-bottom: 25px;
}

.login h1 a {
	background-image: none !important;
	width: auto;
	height: auto;
	text-indent: 0;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	color: #ffffff;
	text-decoration: none;
}

.login h1 a::after {
	content: "Admin";
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: #94a3b8;
	margin-top: 5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}*/

/*.login h1 {
	margin-bottom: 25px;
}*/

.login h1 a {
	text-indent: -9999px;
	overflow: hidden;
	margin: 0 auto 10px;
}

.login h1::after {
	/*content: "Admin";*/
	display: block;
	text-align: center;
	font-size: 13px;
	font-weight: 500;
	color: #94a3b8;
	margin-top: 5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Welcome message */

.fad-welcome {
	text-align: center;
	margin-bottom: 24px;
}

.fad-welcome h1 {
	color: #ffffff;
	font-size: 30px;
	line-height: 1.2;
	margin: 0 0 8px;
	font-weight: 750;
}

.fad-welcome p {
	color: #94a3b8;
	font-size: 14px;
	margin: 0;
}

/* Login form */

#loginform,
#lostpasswordform,
#registerform,
#resetpassform {
	background: var(--fad-card);
	border: 0;
	border-radius: 18px;
	padding: 32px;
	box-shadow:
		0 25px 60px rgba(0, 0, 0, 0.35),
		0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Labels */

.login label {
	color: var(--fad-text);
	font-size: 13px;
	font-weight: 600;
}

/* Inputs */

.login form .input,
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	margin-top: 8px;
	/*margin-bottom: 20px;*/

	height: 50px;
	padding: 0 15px;

	border: 1px solid var(--fad-border);
	border-radius: 10px;

	background: #f8fafc;
	color: var(--fad-text);

	font-size: 15px;

	box-shadow: none;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.login form .input:focus {
	background: #ffffff;
	border-color: var(--fad-primary);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
	outline: none;
}

/* Password toggle */

.wp-pwd {
	position: relative;
}

.wp-pwd .button.wp-hide-pw {
	height: 50px;
	width: 45px;
}

/* Remember me */

.login .forgetmenot {
	float: none;
	margin-bottom: 20px;
}

.login .forgetmenot label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--fad-muted);
	font-weight: 500;
}

.login .forgetmenot input[type="checkbox"] {
	width: 17px;
	height: 17px;
	accent-color: var(--fad-primary);
}

/* Submit */

.login .submit {
	margin-top: 4px;
}

.login .button-primary {
	width: 100%;
	height: 50px;

	border: 0;
	border-radius: 10px;

	background: var(--fad-primary);
	color: #ffffff;

	font-size: 15px;
	font-weight: 700;

	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);

	transition:
		background 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.login .button-primary:hover,
.login .button-primary:focus {
	background: var(--fad-primary-hover);
	box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
	transform: translateY(-1px);
}

/* Links */

.login #nav,
.login #backtoblog {
	text-align: center;
	padding: 0;
	margin: 10px 0 0;
}

.login #nav a,
.login #backtoblog a {
	color: #cbd5e1;
	text-decoration: none;
	font-size: 13px;
}

.login #nav a:hover,
.login #backtoblog a:hover {
	color: #ffffff;
}

/* Notices */

.login .message,
.login .success,
.login #login_error {
	border: 0;
	border-radius: 10px;
	box-shadow: none;
	margin: 0 0 18px;
	padding: 13px 15px;
	font-size: 13px;
}

/* Privacy */

.login .privacy-policy-page-link {
	margin-top: 20px;
}

.login .privacy-policy-page-link a {
	color: #94a3b8;
	font-size: 12px;
}

/* Footer */

.fad-footer {
	text-align: center;
	margin-top: 24px;
	color: #64748b;
	font-size: 12px;
}

.login form .forgetmenot{
	float: none;
	margin: 0 0 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Mobile */

@media (max-width: 480px) {

	body.login {
		padding: 20px;
	}

	#login {
		max-width: 100%;
	}

	#loginform,
	#lostpasswordform,
	#registerform,
	#resetpassform {
		padding: 25px 20px;
		border-radius: 15px;
	}

	.fad-welcome h1 {
		font-size: 26px;
	}

}