/**
 * Buldog: modern “Sign in with Google” styling (WooCommerce Social Login).
 * Follows Google Identity branding: white fill, neutral border, colored G logo.
 */

.woocommerce-account .buldog-social-login-intro,
.woocommerce-checkout .buldog-social-login-intro {
	width: 100%;
	margin: 0 0 2rem;
	text-align: center;
}

.woocommerce-account .buldog-social-login-intro .social-title,
.woocommerce-checkout .buldog-social-login-intro .social-title {
	margin: 0 0 0.75rem;
}

.woocommerce-account .buldog-social-login-intro .wc-social-login.form-row-wide,
.woocommerce-checkout .buldog-social-login-intro .wc-social-login.form-row-wide {
	float: none;
	display: inline-block;
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	padding: 1.25rem 1.5rem;
	background: #f8f9fa;
	border: 1px solid #e8eaed;
	border-radius: 12px;
	text-align: center;
}

.woocommerce-account .wc-social-login.form-row-wide,
.woocommerce-checkout .wc-social-login.form-row-wide {
	float: none;
	margin: 0 0 1.75rem;
	padding: 1.25rem 1.5rem;
	background: #f8f9fa;
	border: 1px solid #e8eaed;
	border-radius: 12px;
}

.woocommerce-account .wc-social-login.form-row-wide > p,
.woocommerce-checkout .wc-social-login.form-row-wide > p {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: #5f6368;
}

.woocommerce-account .buldog-social-login-intro a.button-social-login.button-social-login-google,
.woocommerce-checkout .buldog-social-login-intro a.button-social-login.button-social-login-google,
.woocommerce-account a.button-social-login.button-social-login-google,
.woocommerce-checkout a.button-social-login.button-social-login-google,
.widget-area a.button-social-login.button-social-login-google {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	max-width: 320px;
	height: 44px !important;
	line-height: 1 !important;
	padding: 0 16px !important;
	margin: 0 !important;
	box-sizing: border-box;
	background: #fff !important;
	border: 1px solid #dadce0 !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	color: #3c4043 !important;
	font-family: "Roboto", "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: 0.01em;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	direction: rtl;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

html[dir="ltr"] .woocommerce-account a.button-social-login.button-social-login-google,
html[dir="ltr"] .woocommerce-checkout a.button-social-login.button-social-login-google,
html[dir="ltr"] .widget-area a.button-social-login.button-social-login-google {
	direction: ltr;
}

.woocommerce-account a.button-social-login.button-social-login-google:hover,
.woocommerce-account a.button-social-login.button-social-login-google:focus,
.woocommerce-checkout a.button-social-login.button-social-login-google:hover,
.woocommerce-checkout a.button-social-login.button-social-login-google:focus,
.widget-area a.button-social-login.button-social-login-google:hover,
.widget-area a.button-social-login.button-social-login-google:focus {
	background: #f8f9fa !important;
	border-color: #d2d4d7 !important;
	box-shadow: 0 1px 2px rgba(60, 64, 67, 0.15) !important;
	color: #3c4043 !important;
	outline: none;
}

.woocommerce-account a.button-social-login.button-social-login-google:active,
.woocommerce-checkout a.button-social-login.button-social-login-google:active,
.widget-area a.button-social-login.button-social-login-google:active {
	background: #ececec !important;
	top: 0 !important;
}

.woocommerce-account a.button-social-login.button-social-login-google:visited,
.woocommerce-checkout a.button-social-login.button-social-login-google:visited,
.widget-area a.button-social-login.button-social-login-google:visited {
	color: #3c4043 !important;
}

.woocommerce-account a.button-social-login.button-social-login-google .si.si-google,
.woocommerce-checkout a.button-social-login.button-social-login-google .si.si-google,
.widget-area a.button-social-login.button-social-login-google .si.si-google {
	display: inline-block !important;
	flex-shrink: 0;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	background-color: transparent !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	border-radius: 0 !important;
	vertical-align: middle !important;
}

.woocommerce-account a.button-social-login.button-social-login-google:hover .si.si-google,
.woocommerce-account a.button-social-login.button-social-login-google:focus .si.si-google,
.woocommerce-checkout a.button-social-login.button-social-login-google:hover .si.si-google,
.woocommerce-checkout a.button-social-login.button-social-login-google:focus .si.si-google {
	background-color: transparent !important;
}

@media (max-width: 480px) {
	.woocommerce-account a.button-social-login.button-social-login-google,
	.woocommerce-checkout a.button-social-login.button-social-login-google {
		max-width: none;
	}
}
