/* Legalidea 文档微信分享（Orbit Fox 分享条扩展） */
.obfx-sharing a.wechat,
.obfx-sharing a.legalidea-wechat-share {
	background-color: #07c160;
}
.obfx-sharing a.legalidea-wechat-share svg {
	fill: currentColor;
	width: 18px;
	height: 18px;
}

.legalidea-wxs-fallback-list {
	position: fixed;
	top: 50%;
	left: 0;
	z-index: 10000;
	margin: 0;
	padding: 0;
	list-style: none;
	transform: translateY(-50%);
}

.legalidea-wxs-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.legalidea-wxs-modal:not([hidden]) {
	display: flex;
}
.legalidea-wxs-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
}
.legalidea-wxs-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 360px;
	padding: 28px 30px 24px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
	text-align: center;
}
.legalidea-wxs-modal__dialog h3 {
	margin: 0 0 16px;
	font-size: 20px;
	line-height: 1.3;
	color: #3c4858;
}
.legalidea-wxs-modal__close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0 !important;
	border-radius: 50%;
	background: transparent !important;
	box-shadow: none !important;
	color: #999;
	font-size: 24px;
	line-height: 34px;
	cursor: pointer;
}
.legalidea-wxs-modal__close:hover,
.legalidea-wxs-modal__close:focus {
	color: #3c4858;
	background: #f2f2f2 !important;
}
.legalidea-wxs-qr {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
}
.legalidea-wxs-qr svg {
	display: block;
	width: 200px;
	height: 200px;
	max-width: 100%;
}
.legalidea-wxs-tip {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.7;
	color: #777;
}
.legalidea-wxs-copy {
	display: inline-block;
	padding: 9px 22px;
	border: 1px solid #07c160;
	border-radius: 22px;
	background: #fff;
	color: #07c160;
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}
.legalidea-wxs-copy:hover {
	background: #07c160;
	color: #fff;
}
body.legalidea-wxs-open {
	overflow: hidden;
}

@media (max-width: 768px) {
	.legalidea-wxs-modal__dialog {
		padding: 22px 18px 18px;
	}
	.legalidea-wxs-qr svg {
		width: 170px;
		height: 170px;
	}
}
