/*
 * «Entrar con Google» on the Mi cuenta page.
 *
 * Every property that Astra sets on links and buttons is redeclared here on
 * purpose, including the ones that look like defaults — see
 * [astra-button-styles-leak.md]. The parent theme's `padding: 15px 30px` and
 * its blue focus fill win in any state we forget to name, and the way that
 * shows up is a button that looks right until somebody tabs to it.
 */

.laeq-google {
	margin: 1.25rem 0 0;
}

.laeq-google__or {
	position: relative;
	text-align: center;
	margin: 0 0 1rem;
	line-height: 1;
}

.laeq-google__or::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	border-top: 1px solid #e2e2e2;
}

.laeq-google__or span {
	position: relative;
	background: #fff;
	padding: 0 0.75rem;
	color: #767676;
	font-size: 0.85rem;
	text-transform: lowercase;
}

.laeq-google__btn,
.laeq-google__btn:link,
.laeq-google__btn:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 1rem;
	margin: 0;
	border: 1px solid #dadce0;
	border-radius: 4px;
	background: #fff;
	background-image: none;
	color: #3c4043;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.laeq-google__btn:hover {
	background: #f7f8f8;
	background-image: none;
	border-color: #d2d5d9;
	color: #3c4043;
	box-shadow: none;
	text-decoration: none;
}

/* Astra fills focused controls with its accent colour and white text. A white
   button with a white label is the exact bug this rule exists to prevent. */
.laeq-google__btn:focus,
.laeq-google__btn:focus-visible,
.laeq-google__btn:active {
	background: #f7f8f8;
	background-image: none;
	color: #3c4043;
	border-color: #b8bcc2;
	outline: 2px solid #1a73e8;
	outline-offset: 2px;
	box-shadow: none;
	text-decoration: none;
}

.laeq-google__g {
	flex: 0 0 auto;
	display: block;
}

.laeq-google__hint {
	margin: 0.6rem 0 0;
	color: #767676;
	font-size: 0.82rem;
	text-align: center;
}
