/**
 * Shared "Sign in with Google" surface styling (YesterVault).
 *
 * One stylesheet for every entry point — the signup card, the WooCommerce
 * /my-account/ login form, and wp-login.php. It uses currentColor so the
 * divider and error inherit the surrounding text colour: cream on the navy
 * signup card, dark on the light login pages. The Google button itself is
 * styled by Google (GIS). Loaded only on pages where a button renders.
 */

.ym-gauth {
	margin: 0 0 0.5rem 0;
}

.ym-gauth__btn {
	display: flex;
}

.ym-gauth__divider {
	display: flex;
	align-items: center;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.75;
	margin: 1rem 0 1.25rem;
}

.ym-gauth__divider::before,
.ym-gauth__divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: currentColor;
	opacity: 0.4;
}

.ym-gauth__divider span {
	padding: 0 0.9rem;
}

.ym-gauth__error {
	color: currentColor;
	font-size: 0.9rem;
	line-height: 1.45;
	margin: 0 0 0.9rem;
	padding: 0.6rem 0.85rem;
	border-left: 3px solid #C0392B;
	background: rgba(192, 57, 43, 0.09);
	border-radius: 4px;
}
