body.login {
	background: rgb(40, 40, 40);
	color: #f3f4f6;
	font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.login::before {
	content: "";
	position: fixed;
	inset: 0;
	background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 45%);
	pointer-events: none;
}

body.login #login {
	position: relative;
	z-index: 1;
	padding: 5% 0 0;
}

body.login div#login h1 a {
	background-position: center;
	background-size: contain;
	width: min(320px, 78vw);
	height: 86px;
	margin: 0 auto 1.5rem;
}

body.login #loginform,
body.login #registerform,
body.login #lostpasswordform,
body.login #resetpassform {
	background: rgba(25, 25, 25, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

body.login #loginform {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

body.login #loginform .pxdi-login-wrap {
	order: 25;
	margin: 6px 0 0;
	padding-top: 14px;
	position: relative;
}

body.login #loginform .pxdi-login-wrap::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.18);
}

body.login #loginform .pxdi-login-wrap::after {
	content: "Discord";
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX(-50%);
	padding: 0 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: rgba(209, 213, 219, 0.9);
	/* background: rgba(25, 25, 25, 0.75); */
}

body.login #loginform .pxdi-register-wrap {
	order: 26;
	margin: 0;
}

body.login #loginform .submit {
	order: 20;
	margin: 0;
	float: none;
}

body.login #loginform .forgetmenot {
	order: 30;
	margin: 0;
	padding-top: 2px;
	float: none;
}

body.login label,
body.login .description,
body.login .forgetmenot,
body.login #nav,
body.login #backtoblog {
	color: #d1d5db;
}

body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"] {
	background: rgba(255, 255, 255, 0.05);
	color: #f3f4f6;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.07);
}

body.login input[type="text"]::placeholder,
body.login input[type="password"]::placeholder,
body.login input[type="email"]::placeholder {
	color: rgba(243, 244, 246, 0.6);
}

body.login input[type="text"]:focus,
body.login input[type="password"]:focus,
body.login input[type="email"]:focus,
body.login input[type="text"]:active,
body.login input[type="password"]:active,
body.login input[type="email"]:active {
	background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: none;
	outline: none;
}

body.login #resetpassform input[type="text"],
body.login #resetpassform input[type="password"],
body.login #resetpassform input[type="email"] {
	background: rgba(255, 255, 255, 0.05) !important;
	color: #f3f4f6 !important;
	border: 1px solid rgba(255, 255, 255, 0.07) !important;
	border-radius: 8px;
	box-shadow: none !important;
}

body.login #resetpassform input[type="text"]:focus,
body.login #resetpassform input[type="password"]:focus,
body.login #resetpassform input[type="email"]:focus {
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	box-shadow: none !important;
	outline: none !important;
}

body.login #resetpassform label,
body.login #resetpassform .description,
body.login #resetpassform .indicator-hint,
body.login #resetpassform p {
	color: #d1d5db;
}

body.login #pass-strength-result {
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

body.login .wp-core-ui .button.button-primary,
body.login .wp-core-ui .button.button-secondary,
body.login .wp-core-ui input.button.button-primary,
body.login .pxdi-login-wrap .button,
body.login .pxdi-register-wrap .button {
	font-size: 12px;
	color: #fff;
	background: linear-gradient(135deg, rgba(149, 21, 149, 0.3) 0%, rgba(149, 21, 149, 0.1) 100%);
	transition: all 200ms ease;
	padding: 12px 20px;
	border-radius: 8px;
	border: 1px solid rgba(229, 31, 229, 0.3);
	text-transform: uppercase;
	white-space: nowrap;
	min-width: 80px;
	font-weight: 600;
	letter-spacing: 0.5px;
	position: relative;
	overflow: hidden;
	box-shadow: none;
	text-shadow: none;
	height: auto;
	line-height: 1.2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.login .pxdi-login-wrap .button {
	gap: 0.5rem;
}

body.login .pxdi-login-wrap .button::after {
	content: "\f392";
	font-family: "Font Awesome 6 Brands";
	font-weight: 400;
	font-size: 1rem;
	line-height: 1;
	order: -1;
}

body.login .wp-core-ui input.button.button-primary,
body.login .pxdi-login-wrap .button,
body.login .pxdi-register-wrap .button,
body.login #loginform .submit input#wp-submit {
	width: 100%;
}

body.login #loginform .submit input#wp-submit {
	font-size: 12px;
	color: #fff;
	background: linear-gradient(135deg, rgba(149, 21, 149, 0.3) 0%, rgba(149, 21, 149, 0.1) 100%);
	transition: all 200ms ease;
	padding: 12px 20px;
	border-radius: 8px;
	border: 1px solid rgba(229, 31, 229, 0.3);
	text-transform: uppercase;
	white-space: nowrap;
	min-width: 80px;
	font-weight: 600;
	letter-spacing: 0.5px;
	position: relative;
	overflow: hidden;
	box-shadow: none;
	text-shadow: none;
	height: auto;
	line-height: 1.2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.login .wp-core-ui .button.button-primary::before,
body.login .wp-core-ui .button.button-secondary::before,
body.login .pxdi-login-wrap .button::before,
body.login .pxdi-register-wrap .button::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(229, 31, 229, 0.3), transparent);
	transition: left 200ms;
	pointer-events: none;
}

body.login .wp-core-ui .button.button-primary:hover,
body.login .wp-core-ui .button.button-primary:focus,
body.login .wp-core-ui .button.button-secondary:hover,
body.login .wp-core-ui .button.button-secondary:focus,
body.login .wp-core-ui input.button.button-primary:hover,
body.login .wp-core-ui input.button.button-primary:focus,
body.login .pxdi-login-wrap .button:hover,
body.login .pxdi-login-wrap .button:focus,
body.login .pxdi-register-wrap .button:hover,
body.login .pxdi-register-wrap .button:focus {
	background: linear-gradient(135deg, rgba(229, 31, 229, 0.4) 0%, rgba(229, 31, 229, 0.2) 100%);
	border-color: rgba(229, 31, 229, 0.6);
	box-shadow: 0 0 15px rgba(229, 31, 229, 0.2);
	transform: translateY(-2px);
	color: #fff;
}

body.login #loginform .submit input#wp-submit:hover,
body.login #loginform .submit input#wp-submit:focus {
	background: linear-gradient(135deg, rgba(229, 31, 229, 0.4) 0%, rgba(229, 31, 229, 0.2) 100%) !important;
	border-color: rgba(229, 31, 229, 0.6) !important;
	box-shadow: 0 0 15px rgba(229, 31, 229, 0.2) !important;
	transform: translateY(-2px) !important;
	color: #fff !important;
}

body.login #loginform .submit input#wp-submit:active {
	transform: translateY(0) !important;
}

body.login .wp-core-ui .button.button-primary:hover::before,
body.login .wp-core-ui .button.button-primary:focus::before,
body.login .wp-core-ui .button.button-secondary:hover::before,
body.login .wp-core-ui .button.button-secondary:focus::before,
body.login .pxdi-login-wrap .button:hover::before,
body.login .pxdi-login-wrap .button:focus::before,
body.login .pxdi-register-wrap .button:hover::before,
body.login .pxdi-register-wrap .button:focus::before {
	left: 100%;
}

body.login .wp-core-ui .button.button-primary:active,
body.login .wp-core-ui .button.button-secondary:active,
body.login .wp-core-ui input.button.button-primary:active,
body.login .pxdi-login-wrap .button:active,
body.login .pxdi-register-wrap .button:active {
	transform: translateY(0);
}

body.login #registerform .pxdi-register-wrap {
	margin-top: 14px;
}

body.login #registerform .pxdi-register-wrap .button,
body.login #registerform .pxdi-register-wrap .button:visited {
	color: #fff !important;
	background: linear-gradient(135deg, rgba(88, 101, 242, 0.3) 0%, rgba(88, 101, 242, 0.1) 100%) !important;
	border-color: rgba(88, 101, 242, 0.45) !important;
	text-decoration: none !important;
}

body.login #registerform .pxdi-register-wrap .button:hover,
body.login #registerform .pxdi-register-wrap .button:focus {
	color: #fff !important;
	background: linear-gradient(135deg, rgba(88, 101, 242, 0.4) 0%, rgba(88, 101, 242, 0.2) 100%) !important;
	border-color: rgba(88, 101, 242, 0.75) !important;
	box-shadow: 0 0 15px rgba(88, 101, 242, 0.24) !important;
	text-decoration: none !important;
}

body.login #loginform .pxdi-login-wrap .button,
body.login #loginform .pxdi-login-wrap .button:visited {
	color: #fff !important;
	background: linear-gradient(135deg, rgba(88, 101, 242, 0.3) 0%, rgba(88, 101, 242, 0.1) 100%) !important;
	border-color: rgba(88, 101, 242, 0.45) !important;
}

body.login #loginform .pxdi-login-wrap .button::before,
body.login #registerform .pxdi-register-wrap .button::before {
	background: linear-gradient(90deg, transparent, rgba(88, 101, 242, 0.42), transparent);
}

body.login #loginform .pxdi-login-wrap .button:hover,
body.login #loginform .pxdi-login-wrap .button:focus {
	color: #fff !important;
	background: linear-gradient(135deg, rgba(88, 101, 242, 0.4) 0%, rgba(88, 101, 242, 0.2) 100%) !important;
	border-color: rgba(88, 101, 242, 0.75) !important;
	box-shadow: 0 0 15px rgba(88, 101, 242, 0.24) !important;
	transform: translateY(-2px);
}

body.login .message,
body.login #login_error,
body.login .notice {
    background: rgba(25, 25, 25, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-left: 4px solid #60a5fa;
	color: #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
	padding: 12px 14px;
	line-height: 1.45;
	box-sizing: border-box;
	overflow-wrap: anywhere;
	word-break: break-word;
}

body.login .message p,
body.login #login_error p,
body.login .notice p {
	margin: 0;
}

body.login #login_error {
	border-left-color: #f87171;
}

body.login .message a,
body.login #login_error a,
body.login .notice a {
	color: #93c5fd;
}

body.login .message a:hover,
body.login #login_error a:hover,
body.login .notice a:hover {
	color: #bfdbfe;
}

body.login #nav a,
body.login #backtoblog a {
	color: #f3f4f6;
}

body.login #nav a:hover,
body.login #backtoblog a:hover,
body.login #nav a:focus,
body.login #backtoblog a:focus {
	color: #ffffff;
}

body.login .language-switcher,
body.login #language-switcher,
body.login p.language-switcher {
	display: none !important;
}

/* Password show/hide toggle styling (WP core uses .pwd-toggle / .wp-hide-pw) */
.wp-pwd button.pwd-toggle,
.wp-pwd .wp-hide-pw,
.pwd-toggle,
.wp-hide-pw,
.show-password-input {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	height: auto !important;
}

.wp-pwd button.pwd-toggle:focus,
.wp-pwd .wp-hide-pw:focus,
.pwd-toggle:focus,
.wp-hide-pw:focus,
.show-password-input:focus {
	outline: none !important;
	box-shadow: none !important;
	border: none !important;
}

/* Dashicons (eye) color */
.wp-pwd .dashicons,
.pwd-toggle .dashicons,
.wp-hide-pw .dashicons,
.show-password-input .dashicons {
	color: rgb(149,21,149) !important;
	opacity: 1 !important;
}
