/**
 * 情缘模板 - 源码下载弹窗（用户中心 + 公共前台共用）
 */
.xx-auth-download-qingyuan.layui-layer {
	border-radius: 14px !important;
	overflow: hidden !important;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12) !important;
	border: 1px solid #e5e7eb !important;
}

.xx-auth-download-qingyuan .layui-layer-content {
	padding: 0 !important;
	overflow: hidden !important;
	border-radius: 14px;
	background: #fff;
}

.xx-auth-download-qingyuan .layui-layer-title {
	display: none !important;
}

.xx-auth-download-qingyuan .layui-layer-setwin {
	right: 14px !important;
	top: 14px !important;
	z-index: 10;
}

.xx-auth-download-qingyuan .layui-layer-setwin a,
.xx-auth-download-qingyuan .layui-layer-setwin .layui-layer-close1 {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 32px !important;
	height: 32px !important;
	margin-left: 0 !important;
	background: #f3f4f6 !important;
	background-image: none !important;
	border-radius: 8px !important;
	position: relative !important;
	font-size: 0 !important;
	line-height: 1 !important;
	text-align: center !important;
	text-indent: 0 !important;
	opacity: 1 !important;
	transition: background 0.2s ease, color 0.2s ease;
}

.xx-auth-download-qingyuan .layui-layer-setwin a:hover,
.xx-auth-download-qingyuan .layui-layer-setwin .layui-layer-close1:hover {
	background: #eff6ff !important;
}

.xx-auth-download-qingyuan .layui-layer-setwin a:before,
.xx-auth-download-qingyuan .layui-layer-setwin .layui-layer-close1:before {
	content: "×" !important;
	display: block !important;
	font-size: 20px !important;
	line-height: 1 !important;
	color: #64748b !important;
	font-weight: 400 !important;
	font-family: Arial, "Microsoft YaHei", sans-serif !important;
	text-indent: 0 !important;
}

.xx-auth-download-qingyuan .layui-layer-setwin a:hover:before,
.xx-auth-download-qingyuan .layui-layer-setwin .layui-layer-close1:hover:before {
	color: #3b82f6 !important;
}

.xx-auth-download-qingyuan .xx-auth-download {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
	color: #1f2937;
	background: #fff;
}

.xx-auth-download-qingyuan .xx-auth-download-hd {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 52px 16px 24px;
	background: #fff;
	color: #1f2937;
	border-bottom: 1px solid #f3f4f6;
}

.xx-auth-download-qingyuan .xx-auth-download-hd-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #eff6ff;
	color: #3b82f6;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 22px;
	line-height: 1;
}

.xx-auth-download-qingyuan .xx-auth-download-hd-icon .mdi {
	font-size: 22px;
	line-height: 1;
}

.xx-auth-download-qingyuan .xx-auth-download-hd h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: #1f2937;
}

.xx-auth-download-qingyuan .xx-auth-download-hd p {
	margin: 4px 0 0;
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
}

.xx-auth-download-qingyuan .xx-auth-download-bd {
	padding: 20px 24px 24px;
}

.xx-auth-download-qingyuan .xx-auth-download-grid {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 10px 14px;
	margin-bottom: 16px;
	font-size: 13px;
	line-height: 1.55;
}

.xx-auth-download-qingyuan .xx-auth-download-grid .label {
	color: #9ca3af;
	text-align: right;
	font-weight: 500;
}

.xx-auth-download-qingyuan .xx-auth-download-grid .value {
	color: #1f2937;
	word-break: break-all;
	font-weight: 600;
}

.xx-auth-download-qingyuan .xx-auth-download-tip {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-left: 3px solid #3b82f6;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 18px;
}

.xx-auth-download-qingyuan .xx-auth-download-tip .label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 6px;
}

.xx-auth-download-qingyuan .xx-auth-download-tip p {
	margin: 0;
	font-size: 13px;
	line-height: 1.65;
	color: #64748b;
}

.xx-auth-download-qingyuan .xx-auth-download-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.xx-auth-download-qingyuan .xx-dl-btn {
	flex: 1;
	min-width: 140px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 18px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
	box-sizing: border-box;
}

.xx-auth-download-qingyuan .xx-dl-btn .mdi,
.xx-auth-download-qingyuan .xx-dl-btn .layui-icon {
	font-size: 18px;
	line-height: 1;
}

.xx-auth-download-qingyuan .xx-dl-install {
	background: #3b82f6;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.22);
}

.xx-auth-download-qingyuan .xx-dl-install:hover {
	background: #2563eb;
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(59, 130, 246, 0.28);
}

.xx-auth-download-qingyuan .xx-dl-update {
	background: #fff;
	color: #3b82f6 !important;
	border-color: #bfdbfe;
	box-shadow: none;
}

.xx-auth-download-qingyuan .xx-dl-update:hover {
	background: #eff6ff;
	color: #2563eb !important;
	border-color: #93c5fd;
}

@media (max-width: 480px) {
	.xx-auth-download-qingyuan.layui-layer {
		width: 92% !important;
		max-width: 92% !important;
	}

	.xx-auth-download-qingyuan .xx-auth-download-grid {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.xx-auth-download-qingyuan .xx-auth-download-grid .label {
		text-align: left;
	}

	.xx-auth-download-qingyuan .xx-auth-download-actions {
		flex-direction: column;
	}
}
