/* WhatsApp / Telegram 支付按钮 */
.wtp-block {
	margin: 24px 0;
}

.wtp-agent-line {
	font-weight: 600;
	font-size: 16px;
	margin: 0 0 10px;
}

.wtp-contact-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.wtp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 0;
	border-radius: 6px;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.wtp-btn:hover {
	filter: brightness(0.9);
	color: #fff !important;
	transform: translateY(-1px);
}

.wtp-btn-whatsapp {
	background: #25d366;
}

.wtp-btn-telegram {
	background: #0088cc;
}

.wtp-btn-claim {
	background: #111;
	margin-top: 14px;
}

.wtp-btn-claimed {
	background: #888;
	cursor: default;
}

.wtp-btn-claimed:hover {
	filter: none;
	transform: none;
}

.wtp-icon {
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
}

/* 按钮背景是品牌色，官方 logo 也是同色，直接放会隐形；
   这里把按钮内的图标反白，才能看清。 */
.wtp-btn .wtp-icon {
	filter: brightness(0) invert(1);
}

.wtp-no-agent {
	margin: 0;
	color: #b32d2e;
	font-weight: 600;
}

/* 订单列表里注入的小按钮 */
.wtp-list-buttons .wtp-btn {
	padding: 6px 12px;
	font-size: 13px;
	gap: 6px;
	margin: 2px 0;
}

.wtp-list-buttons .wtp-icon {
	width: 16px;
	height: 16px;
}

.wtp-claim-msg {
	margin: 10px 0 0;
	color: #1a7f37;
	font-weight: 600;
}

.wtp-claim-tip {
	margin: 14px 0 10px;
	color: #555;
	font-size: 14px;
}

.wtp-note {
	margin: 0 0 12px;
	padding: 10px 14px;
	border-left: 4px solid #d63638;
	background: #fdecea;
	color: #b32d2e;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.5;
}

.wtp-order-copy {
	margin-top: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.wtp-order-no {
	font-size: 15px;
}

.wtp-order-no strong {
	font-size: 16px;
}

.wtp-copy-btn {
	padding: 4px 12px;
	background: #d63638;
	color: #fff;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	transition: filter 0.15s ease;
}

.wtp-copy-btn:hover {
	filter: brightness(0.9);
}

.wtp-copy-btn.copied {
	background: #1a7f37;
}

/* 自定义确认弹框 */
.wtp-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 20px;
}

.wtp-modal {
	background: #fff;
	border-radius: 10px;
	max-width: 420px;
	width: 100%;
	padding: 24px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.wtp-modal-title {
	margin: 0 0 12px;
	font-size: 18px;
	color: #111;
}

.wtp-modal-text {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}

.wtp-modal-tip {
	margin: 0 0 20px;
	padding: 10px 12px;
	background: #fff8e5;
	border-radius: 6px;
	font-size: 13px;
	color: #856404;
	line-height: 1.5;
}

.wtp-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.wtp-modal-cancel {
	padding: 9px 16px;
	background: #f0f0f0;
	color: #333;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
}

.wtp-modal-cancel:hover {
	background: #e2e2e2;
}

.wtp-modal-confirm {
	padding: 9px 16px;
	background: #d63638;
	color: #fff;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
}

.wtp-modal-confirm:hover {
	filter: brightness(0.9);
}

/* 移动端：按钮自动换行、宽度自适应 */
@media (max-width: 480px) {
	.wtp-contact-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.wtp-btn {
		width: 100%;
	}
}
