/* ===== 转化漏斗增强样式 ===== */

/* 报价单：底部操作区 */
.receipt-actions-extra {
  display: flex; gap: 8px; margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed #9ca3af;
}
.receipt-actions-extra button {
  flex: 1; padding: 8px 6px;
  background: rgba(0,0,0,0.05); color: #1a1a1a;
  border: none; border-radius: 4px;
  font-family: inherit; font-size: 11px; cursor: pointer;
}
.receipt-actions-extra button:hover { background: rgba(0,0,0,0.12); }

/* 报价单：微信二维码区 */
.receipt-wechat {
  text-align: center; margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed #9ca3af;
  font-size: 11px; color: #6b7280;
}
.receipt-wechat img {
  width: 100px; height: 100px; margin: 4px 0;
  border: 1px solid #e5e7eb;
}

/* 页脚：悬浮微信按钮 */
.wechat-float {
  position: fixed; right: 20px; bottom: 20px;
  z-index: 900;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.wechat-float-btn {
  width: 56px; height: 56px;
  background: #07c160;
  color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(7, 193, 96, 0.4);
  cursor: pointer; transition: all 0.2s;
  text-decoration: none;
  border: none;
}
.wechat-float-btn:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(7, 193, 96, 0.5); color: white; }
.wechat-float-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  width: 200px;
  display: none;
}
.wechat-float-panel.show { display: block; }
.wechat-float-panel img { width: 160px; height: 160px; margin: 0 auto 8px; display: block; }
.wechat-float-panel .wechat-id { font-weight: 700; color: var(--text); }
.wechat-float-panel .wechat-hint { font-size: 0.82rem; color: var(--text-light); margin-top: 4px; }
@media (max-width: 480px) {
  .wechat-float { right: 12px; bottom: 12px; }
  .wechat-float-btn { width: 50px; height: 50px; font-size: 24px; }
}

/* 退出挽留弹窗 */
.retention-modal {
  position: fixed; inset: 0; z-index: 1100;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s;
}
.retention-modal.show { display: flex; }
.retention-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.retention-card {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 420px; width: 100%;
  box-shadow: var(--shadow-xl);
  text-align: center;
}
.retention-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.retention-card .retention-sub { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 20px; }
.retention-card .coupon {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  color: white;
  padding: 12px 24px; border-radius: var(--radius);
  font-size: 1.1rem; font-weight: 800;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}
.retention-card .actions { display: flex; gap: 8px; }
.retention-card .actions a, .retention-card .actions button {
  flex: 1; padding: 10px 16px;
  border: none; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  text-decoration: none; display: flex; align-items: center; justify-content: center;
}
.retention-card .btn-go { background: var(--gradient-primary); color: white; }
.retention-card .btn-dismiss { background: var(--bg-muted); color: var(--text-mid); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
