/**
 * Reskins wp-login.php to match the Store plugin's popup modal design
 * (assets/shop/css/shop.css .pe-shop-modal / .pe-shop-btn / .pe-shop-order-form
 * input) — solid light-gray backdrop, centered white rounded card, dark
 * button that inverts on hover, light-gray rounded inputs. wp-login.php
 * has no separate "customer" vs "staff" login screen (the role isn't
 * known until after the credentials are submitted), so this restyles
 * the one shared login page for everyone.
 */

body.login {
	background: #eef0f2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
}

#login {
	width: 100%;
	max-width: 380px;
	padding: 20px 16px;
	margin: 0;
}

#login h1 {
	text-align: center;
}

#login h1 a {
	margin: 0 auto 24px;
	width: auto;
	height: auto;
	min-height: 0;
	background-size: contain;
	background-position: center;
	font-size: 20px;
	font-weight: 700;
	color: #1d2327;
	text-decoration: none;
	text-indent: 0;
	display: inline-block;
	overflow: visible;
}

#loginform {
	background: #fff;
	border: none;
	border-radius: 8px;
	padding: 32px;
	box-shadow: none;
}

#loginform label {
	font-weight: 600;
	color: #1d2327;
}

#loginform .input,
#loginform input[type="text"],
#loginform input[type="password"],
#loginform input[type="email"] {
	background: #e1e4e8 !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 10px 12px !important;
	font-size: 15px;
	color: #3c434a;
	box-shadow: none !important;
}

#loginform .input:focus,
#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus,
#loginform input[type="email"]:focus {
	background: #e1e4e8 !important;
	box-shadow: 0 0 0 2px #1d2327 !important;
}

.login .wp-pwd {
	background: transparent;
	border: none;
}

.login .button.wp-hide-pw {
	padding: 0 8px;
	color: #646970;
}

.forgetmenot label {
	font-weight: 400;
	color: #646970;
}

.login .button-primary {
	width: 100%;
	background: #1d2327;
	border: 2px solid #1d2327;
	color: #fff;
	border-radius: 4px;
	padding: 10px 24px;
	height: auto;
	font-size: 15px;
	font-weight: 600;
	text-shadow: none;
	box-shadow: none;
}

.login .button-primary:hover,
.login .button-primary:focus {
	background: #fff;
	color: #1d2327;
	border-color: #1d2327;
}

#login_error {
	background: #fdf1f1;
	border: none;
	border-left: 4px solid #d63638;
	border-radius: 0 8px 8px 0;
	box-shadow: none;
	color: #3c434a;
}

.login .message {
	background: #fff;
	border: none;
	border-left: 4px solid #1d2327;
	border-radius: 0 8px 8px 0;
	box-shadow: none;
	color: #3c434a;
}

#nav,
#backtoblog {
	text-align: center;
	margin: 16px 0 0;
}

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

#nav a:hover,
#backtoblog a:hover {
	color: #1d2327;
}

.login .privacy-policy-page-link {
	text-align: center;
}

.login form {
	margin-top: 0;
}

.language-switcher {
	display: none;
}

/* Google/Facebook bejelentkezés gombok (2026-07-22) — a login_form hook
   ezeket a normál #loginform kártyán belülre, közvetlenül a "Belépés"
   gomb alá nyomtatja, l. Core\Auth\SocialLogin::render_buttons(). */
.pe-social-login {
	margin-top: 20px;
}

.pe-social-login-divider {
	display: flex;
	align-items: center;
	text-align: center;
	color: #646970;
	font-size: 12px;
	margin: 4px 0 16px;
}

.pe-social-login-divider::before,
.pe-social-login-divider::after {
	content: "";
	flex: 1;
	border-bottom: 1px solid #dcdcde;
}

.pe-social-login-divider span {
	padding: 0 10px;
}

.pe-social-login-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 16px;
	margin-bottom: 10px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.pe-social-login-btn-google {
	background: #fff;
	color: #3c4043;
	border: 1px solid #dcdcde;
}

.pe-social-login-btn-google:hover {
	background: #f8f8f8;
	color: #3c4043;
}

.pe-social-login-btn-facebook {
	background: #1877f2;
	color: #fff;
	border: 1px solid #1877f2;
}

.pe-social-login-btn-facebook:hover {
	background: #166fe0;
	color: #fff;
}
