/*--------------------------------------------------------------
# CUSTOM ADMIN LOGIN
--------------------------------------------------------------*/

html {
	min-height: 100%;
	height: unset !important;
}

a {
	box-shadow: none !important;
}

body.login {
	display: flex;
	min-height: 100vh;
	position: relative;
	color:#000 !important;
}

#login h1, .login h1 {
	display: none !important;
}

.custom-logo-link {
	display: block;
	margin: 0 auto 40px;
}

.custom-logo-link img {
	display: block;
	max-width: 220px;
	height: auto;
	width: 80vw;
	margin: 0 auto;
	filter: grayscale(1) brightness(100) invert(1);
}

.login form {
	border: 0 !important;
	border-radius: 10px !important;
	background: unset !important;
	padding: 10px !important;
	box-shadow: unset !important;
}

.wp-core-ui .button-primary {
	background: #000 !important;
	border-color: #000 !important;
	box-shadow: unset !important;
}

#loginform label {
	padding-left: 18px;
}

#loginform .forgetmenot {
	padding-left: 18px;
}

#loginform .forgetmenot label {
	padding-left: 0px;
}

.login form .input, .login input[type="text"] {
	border-radius: 100px !important;
	background: #fff !important;
	border: 0 !important;
	color: #000 !important;
	box-shadow: unset !important;
	padding: 8px 18px !important;
}

.login form .password-input {
	padding: 9px 18px 7px !important;
}

button.wp-hide-pw {
	right: 10px !important;
	top: 3px !important;
	box-shadow: unset !important;
	border: 0 !important;
}

.dashicons {
	color: #000 !important;
	box-shadow: unset !important;
	border: 0 !important;
}

.login #login_error, .login .message, .login .success {
	border-left: 4px solid #000 !important;
}

.login #nav {
	text-align: center;
}

a {
	color: #000 !important;
}

#backtoblog {
	display: none !important;
}

.forgetmenot {
	float: unset !important;
}

#rememberme {
	color: #000 !important;
	box-shadow: unset !important;
	border: 0 !important;
	border-radius: 100%;
	height: 20px;
	width: 20px;
}

.forgetmenot input[type="checkbox"]:checked::before {
	margin: 0rem 0 0 -0.04rem;
	height: 1.2rem;
	width: 1.2rem;
	filter: brightness(0);
}

#login {
	max-width: 380px;
	width: 90% !important;
	padding: 30px 0 80px !important;
}

.submit {
	width: 70%;
	margin: 15px auto 25px !important;
}

#loginform .submit {
	width: 70%;
	margin: 30px auto 0px !important;
}

#wp-submit {
	font-size: 16px !important;
	border-radius: 30px;
	float: unset;
	width: 100%;
	padding: 2px 12px !important;
	opacity: 1;
	transition: opacity 0.3s ease;
}

#wp-submit:hover {
	opacity: 0.8;
}

.info-text {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	margin: auto;
	width: 300px;
	text-align: center;
}

.login-password-protected #password {
	outline: none !important;
	border-radius: 100px !important;
	background: #fff !important;
	border: 0 !important;
	color: #000 !important;
	box-shadow: unset !important;
	padding: 7px 24px 9px !important;
}

.login-password-protected .error {
	text-align: center;
}

/*--------------------------------------------------------------
# PASSWORD LOCK
--------------------------------------------------------------*/

body.login-password-protected {
	align-items: stretch;
	justify-content: center;
	background: var(--color-bg, #f3e7d8) !important;
	color: var(--color-text, #2c2c2c) !important;
	font-family: var(--text-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	line-height: 1.5;
}

body.login-password-protected:before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 42%),
		linear-gradient(315deg, rgba(48, 81, 58, 0.14), rgba(48, 81, 58, 0) 48%);
}

body.login-password-protected .password-lock {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 100vh;
	padding: clamp(24px, 5vw, 64px);
}

body.login-password-protected #login.password-lock-panel {
	width: min(100%, 440px) !important;
	max-width: 440px;
	padding: clamp(28px, 5vw, 44px) !important;
	border: 1px solid rgba(44, 44, 44, 0.12);
	border-radius: min(var(--br, 30px), 26px);
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 24px 70px rgba(44, 44, 44, 0.14);
	backdrop-filter: blur(16px);
}

body.login-password-protected .custom-logo-link {
	display: block;
	margin: 0 auto 34px;
	color: var(--color-text, #2c2c2c) !important;
	font-weight: 700;
	text-align: center;
	text-decoration: none !important;
}

body.login-password-protected .custom-logo-link img {
	width: auto;
	max-width: min(220px, 70vw);
	max-height: 96px;
	margin: 0 auto;
	filter: none;
	object-fit: contain;
}

body.login-password-protected .password-lock-copy {
	margin-bottom: 28px;
	text-align: center;
}

body.login-password-protected .password-lock-kicker {
	margin: 0 0 8px;
	color: var(--color-main, #a86a3d);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: uppercase;
}

body.login-password-protected #login h1 {
	display: block !important;
	margin: 0 0 12px;
	color: var(--color-text, #2c2c2c);
	font-family: var(--headline-font-family, inherit);
	font-size: 34px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
}

body.login-password-protected .password-lock-copy p:last-child {
	max-width: 320px;
	margin: 0 auto;
	color: rgba(44, 44, 44, 0.74);
	font-size: 15px;
	line-height: 1.5;
}

body.login-password-protected #loginform.password-lock-form {
	margin: 0;
	padding: 0 !important;
	background: transparent !important;
}

body.login-password-protected #loginform label {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	color: rgba(44, 44, 44, 0.82);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.3;
}

body.login-password-protected #loginform .input,
body.login-password-protected #password {
	width: 100%;
	min-height: 52px;
	border: 1px solid rgba(44, 44, 44, 0.14) !important;
	border-radius: 100px !important;
	background: rgba(255, 255, 255, 0.92) !important;
	color: var(--color-text, #2c2c2c) !important;
	font-family: inherit;
	font-size: 17px;
	line-height: 1.2;
	padding: 13px 22px !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.login-password-protected #password:focus {
	border-color: var(--color-main, #a86a3d) !important;
	background: #fff !important;
	box-shadow: 0 0 0 4px rgba(168, 106, 61, 0.16) !important;
}

body.login-password-protected #loginform .submit,
body.login-password-protected .submit {
	width: 100%;
	margin: 20px 0 0 !important;
	padding: 0;
}

body.login-password-protected #wp-submit {
	min-height: 52px;
	border: 1px solid var(--color-main, #a86a3d) !important;
	border-radius: 100px !important;
	background: var(--color-main, #a86a3d) !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 16px !important;
	font-weight: 700;
	line-height: 1;
	padding: 14px 24px !important;
	transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

body.login-password-protected #wp-submit:hover,
body.login-password-protected #wp-submit:focus {
	opacity: 1;
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(168, 106, 61, 0.24) !important;
}

body.login-password-protected #login_error.error {
	margin: 0 0 20px;
	border: 1px solid rgba(168, 106, 61, 0.28) !important;
	border-left: 1px solid rgba(168, 106, 61, 0.28) !important;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
	color: var(--color-text, #2c2c2c);
	font-size: 14px;
	line-height: 1.4;
	padding: 12px 14px;
	text-align: center;
}

@media (max-width: 480px) {
	body.login-password-protected .password-lock {
		padding: 18px;
	}

	body.login-password-protected #login.password-lock-panel {
		padding: 26px 20px !important;
		border-radius: 22px;
	}

	body.login-password-protected .custom-logo-link {
		margin-bottom: 26px;
	}

	body.login-password-protected #login h1 {
		font-size: 28px;
	}
}
