/**
 * Bmotik SSO OpenID - Botón de inicio de sesión.
 */

.bmotik-sso-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	box-sizing: border-box;
	padding: 0.75em 1.4em;
	border: 0;
	border-radius: 6px;
	font-size: 1em;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
	transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.bmotik-sso-button:hover,
.bmotik-sso-button:focus {
	filter: brightness(1.08);
	text-decoration: none;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
}

.bmotik-sso-button:active {
	transform: translateY(1px);
}

.bmotik-sso-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.bmotik-sso-button__icon {
	flex: none;
	width: 1.15em;
	height: 1.15em;
}

/* wp-login.php */
.login .bmotik-sso-login {
	margin: 0 0 16px;
	padding: 24px;
	background: #fff;
	border: 1px solid #c3c4c7;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.login .bmotik-sso-login .bmotik-sso-button {
	width: 100%;
}

.login .bmotik-sso-separator {
	display: flex;
	align-items: center;
	gap: 0.75em;
	margin: 18px 0 0;
	color: #646970;
	font-size: 12px;
	text-align: center;
}

.login .bmotik-sso-separator::before,
.login .bmotik-sso-separator::after {
	content: "";
	flex: 1;
	border-top: 1px solid #dcdcde;
}

/* Modo seguro: el sitio aún no está registrado en el SSO (el acceso con contraseña sigue disponible). */
.bmotik-sso-unregistered {
	margin: 8px 0 0;
	padding: 6px 10px;
	border-left: 4px solid #dba617;
	background: #fcf9e8;
	color: #50575e;
	font-size: 12px;
	line-height: 1.4;
}
