/* Athena Auth — wp-login + shortcode */

.athena-auth-login-wrap {
	margin: 0 0 18px;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
}

.athena-auth-google-block {
	margin: 0 auto 16px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

#athena-auth-google-button {
	display: flex;
	justify-content: center;
	width: 100%;
	min-height: 44px;
}

#athena-auth-google-button.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

.athena-auth-google-status {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
	color: #50575e;
}

.athena-auth-google-status.is-error {
	color: #b32d2e;
}

.athena-auth-divider {
	display: flex;
	align-items: center;
	margin: 0 0 18px;
	gap: 12px;
	color: #646970;
	font-size: 12px;
	line-height: 1.4;
}

.athena-auth-divider::before,
.athena-auth-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #c3c4c7;
}

.athena-auth-divider span {
	white-space: nowrap;
}

/* Redirect fallback (no JS / GIS failed) */
.athena-auth-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid #747775;
	border-radius: 8px;
	background: #fff;
	color: #1f1f1f;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.athena-auth-btn:hover,
.athena-auth-btn:focus {
	border-color: #5f6368;
	background: #f8f9fa;
	color: #1f1f1f;
	text-decoration: none;
	box-shadow: none;
	outline: 2px solid transparent;
}

.athena-auth-btn-google::before {
	content: "";
	display: inline-block;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-right: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M20.64 12.2045c0-.6381-.0573-1.2518-.1636-1.8409H12v3.4814h4.8436c-.2086 1.125-.8427 2.0782-1.7959 2.7164v2.2581h2.9087c1.7018-1.5668 2.6836-3.874 2.6836-6.615z'/%3E%3Cpath fill='%2334A853' d='M12 21c2.43 0 4.4673-.806 5.9564-2.1805l-2.9087-2.2581c-.8059.54-1.8368.859-3.0477.859-2.344 0-4.3282-1.5831-5.036-3.7104H3.9574v2.3318C5.4382 18.9832 8.4818 21 12 21z'/%3E%3Cpath fill='%23FBBC05' d='M6.964 13.71c-.18-.54-.2822-1.1168-.2822-1.71s.1023-1.17.2823-1.71V7.9582H3.9573A8.9965 8.9965 0 0 0 3 12c0 1.4523.3477 2.8268.9573 4.0418L6.964 13.71z'/%3E%3Cpath fill='%23EA4335' d='M12 6.5795c1.3214 0 2.5077.4541 3.4405 1.346l2.5813-2.5814C16.4632 3.8918 14.426 3 12 3 8.4818 3 5.4382 5.0168 3.9573 7.9582L6.964 10.29C7.6718 8.1627 9.6559 6.5795 12 6.5795z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.athena-auth-provider {
	margin: 0;
}

/* Inside #loginform: render after password in DOM, show first via flex order */
.login #loginform {
	display: flex;
	flex-direction: column;
	overflow: visible;
}

.login #loginform .athena-auth-google-block {
	order: -1;
	margin: 0 0 16px;
}

.login #loginform > p,
.login #loginform > .user-pass-wrap,
.login #loginform > .forgetmenot,
.login #loginform > .submit {
	order: 0;
}

.login .athena-auth-google-block {
	text-align: center;
}
