/* "Continue with Google" button. Self-contained: this file is loaded on app
   pages and on wp-login.php, so it does not use --clh-* or --l-* variables. */

.clh-google-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	box-sizing: border-box;
	padding: 0 20px;
	border: 1px solid #747775;
	border-radius: 14px;
	background: #ffffff;
	color: #1f1f1f;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
}

.clh-google-btn:hover {
	background: #f2f2f2;
	color: #1f1f1f;
}

.clh-google-btn:focus-visible {
	outline: 3px solid #1f6fe0;
	outline-offset: 2px;
}

.clh-google-g {
	flex: none;
}

.clh-google-or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0;
	font-size: 0.9rem;
}

.clh-google-or::before,
.clh-google-or::after {
	content: '';
	flex: 1;
	height: 1px;
	background: currentColor;
	opacity: 0.25;
}

.clh-google-login {
	margin: 0 0 4px;
}

/* wp-login.php sets a small base size; keep the button's text readable. */
.clh-google-login .clh-google-btn {
	font-size: 1rem;
}

/* The guest action columns on the dashboard, the lesson summary, and the
   guest result screen of the placement test. */
.clh-guest-actions .clh-google-btn,
.clh-complete-actions .clh-google-btn,
.clh-result-actions .clh-google-btn {
	max-width: 360px;
	margin: 12px 0;
}

.clh-complete-card .clh-google-btn {
	max-width: 340px;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .clh-google-btn {
		background: #131314;
		color: #e3e3e3;
		border-color: #8e918f;
	}

	:root:not([data-theme="light"]) .clh-google-btn:hover {
		background: #2a2a2c;
		color: #e3e3e3;
	}

	:root:not([data-theme="light"]) .clh-google-btn:focus-visible {
		outline-color: #6fa8ff;
	}
}

:root[data-theme="dark"] .clh-google-btn {
	background: #131314;
	color: #e3e3e3;
	border-color: #8e918f;
}

:root[data-theme="dark"] .clh-google-btn:hover {
	background: #2a2a2c;
	color: #e3e3e3;
}

:root[data-theme="dark"] .clh-google-btn:focus-visible {
	outline-color: #6fa8ff;
}
