/* WeChat MP Connect 前端样式 */
.wmc-login-box {
	max-width: 300px;
	margin: 0 auto;
	padding: 16px;
	text-align: center;
}

.wmc-qr-wrap {
	position: relative;
	display: inline-block;
	width: 100%;
}

.wmc-qr {
	width: 220px;
	height: 220px;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	background: #fafafa;
	padding: 8px;
	box-sizing: border-box;
	object-fit: contain;
}

.wmc-status {
	margin-top: 10px;
	font-size: 14px;
	color: #555;
	min-height: 20px;
}

.wmc-refresh {
	display: inline-block;
	margin-top: 6px;
	color: #07c160;
	font-size: 13px;
	cursor: pointer;
}

.wmc-tip {
	margin-top: 10px;
	font-size: 12px;
	color: #999;
	line-height: 1.7;
}

/* 头部/任意位置触发按钮 */
.wmc-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #07c160;
	border: 1px solid #07c160;
	color: #fff !important;
	border-radius: 6px;
	padding: 4px 12px;
	font-size: 13px;
	line-height: 1.6;
	cursor: pointer;
	margin-left: 8px;
}
.wmc-btn:hover { opacity: .9; }
.wmc-btn svg { font-size: 15px; }

/* 弹窗 */
.wmc-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wmc-modal-mask {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
}

.wmc-modal-box {
	position: relative;
	background: #fff;
	border-radius: 12px;
	padding: 8px 12px 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
	max-width: 340px;
	width: calc(100% - 40px);
}

.wmc-modal-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 17px;
	font-weight: 600;
	color: #222;
	padding: 10px 0 4px;
}
.wmc-modal-title svg { color: #07c160; font-size: 20px; }

.wmc-close {
	position: absolute;
	top: 8px;
	right: 12px;
	font-size: 22px;
	line-height: 1;
	color: #999;
	text-decoration: none;
	cursor: pointer;
}
.wmc-close:hover { color: #333; }
