/* Login popup — buttons in the site's CTA yellow (same as "Вход / Регистрация", "Виж всички"). */
.lrm-user-modal .lrm-form .fieldset--submit button[type="submit"] {
	background: #ffd786;
	color: #000;
	border: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	transition: background-color 0.15s ease;
}

.lrm-user-modal .lrm-form .fieldset--submit button[type="submit"]:hover,
.lrm-user-modal .lrm-form .fieldset--submit button[type="submit"]:focus-visible {
	background: #ffcb5c;
	color: #000;
}

/* Social login buttons below "Влез". */
.lrm-user-modal .ba-popup-social {
	margin-top: 18px;
	padding-bottom: 22px;
	text-align: center;
}

.lrm-user-modal .ba-popup-social .wc-social-login p {
	margin: 0 0 10px;
	font-size: 14px;
	color: #555;
}

.lrm-user-modal .ba-popup-social .button-social-login {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 8px 0 0;
	text-align: center;
}

/* Social login buttons everywhere (popup + My account): icon pinned left, text centred,
   same height/radius as the popup's "Влез". The plugin draws the icon as an inline 40×40
   white square, which floated in the middle of the wide desktop buttons. */
.wc-social-login a.button-social-login {
	position: relative;
	box-sizing: border-box;
	height: 46px;
	line-height: 44px;
	padding: 0 16px 0 56px;
	border-radius: 5px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	overflow: hidden;
}

.wc-social-login a.button-social-login .si {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 40px;
	height: 40px;
	margin: 0;
	border-radius: 4px;
}

.wc-social-login a.button-social-login-facebook {
	background-color: #1877f2;
	border-color: #1877f2;
}

.wc-social-login a.button-social-login:hover,
.wc-social-login a.button-social-login:focus-visible {
	filter: brightness(0.94);
	color: #fff;
}

/* My account login: the theme gives this page the `woocommerce-checkout` body class too, which matches
   Social Login's own `.woocommerce-checkout form.login .wc-social-login { display: none }` and has always
   hidden the buttons here. Show them on the account page only. */
body.woocommerce-account form.woocommerce-form-login .wc-social-login {
	display: block;
	margin-top: 20px;
}

body.woocommerce-account form.woocommerce-form-login .wc-social-login a.button-social-login {
	display: block;
	max-width: 360px;
	margin: 8px 0 0;
}
