/* Workspace User Sync – "Sign in with Google" button */

.wsync-login {
	margin: 0 0 16px;
}

.wsync-google-button {
	align-items: center;
	background: #fff;
	border: 1px solid #747775;
	border-radius: 4px;
	box-sizing: border-box;
	color: #1f1f1f;
	display: flex;
	font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	gap: 12px;
	justify-content: center;
	line-height: 20px;
	min-height: 40px;
	padding: 9px 12px;
	text-decoration: none;
	width: 100%;
}

.wsync-google-button:hover {
	background: #f8f9fa;
	color: #1f1f1f;
}

.wsync-google-button:focus {
	box-shadow: 0 0 0 2px #2271b1;
	color: #1f1f1f;
	outline: 2px solid transparent;
}

.wsync-g {
	flex: 0 0 18px;
}

/* Custom image: fixed height, natural width (logos aren't always square). */
.wsync-g-custom {
	flex: 0 0 auto;
	height: 20px!important;
	max-width: 120px!important;
	object-fit: contain;
	width: auto!important;
}

/* Button moved to the top of wp-login.php's form: divider sits below it. */
.wsync-login-top {
	margin: 0 0 16px;
}

.wsync-login-top .wsync-login-or {
	margin: 16px 0 0;
}

.wsync-login-shortcode .wsync-google-button {
	display: inline-flex;
	width: auto;
}

.wsync-login-shortcode.wsync-align-left {
	text-align: left;
}

.wsync-login-shortcode.wsync-align-center {
	text-align: center;
}

.wsync-login-shortcode.wsync-align-right {
	text-align: right;
}

/* "or" divider between the Google button and the password fields. */
.wsync-login-or {
	color: #646970;
	margin: 16px 0 0;
	overflow: hidden;
	text-align: center;
}

.wsync-login-or span {
	display: inline-block;
	padding: 0 8px;
	position: relative;
}

.wsync-login-or span::before,
.wsync-login-or span::after {
	border-top: 1px solid #dcdcde;
	content: "";
	position: absolute;
	top: 50%;
	width: 200px;
}

.wsync-login-or span::before {
	right: 100%;
}

.wsync-login-or span::after {
	left: 100%;
}
