/* 微信下载提示弹窗样式 */
.wechat-download-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.wechat-download-modal.show {
  display: flex;
}

.wechat-download-content {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  animation: slideUp 0.3s ease;
  position: relative;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.wechat-download-icon {
  font-size: 64px;
  color: #07c160;
  margin-bottom: 20px;
}

.wechat-download-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
}

.wechat-download-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

.wechat-download-url-box {
  background: #f8f9fa;
  border: 2px dashed #667eea;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 20px;
  position: relative;
  min-height: 60px;
}

.wechat-download-url {
  font-size: 0.85rem;
  color: #667eea;
  word-break: break-all;
  line-height: 1.4;
  max-height: 80px;
  overflow-y: auto;
}

.wechat-download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wechat-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.wechat-download-btn.primary {
  background: #07c160;
  color: white;
}

.wechat-download-btn.primary:hover {
  background: #06ad56;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(7, 193, 96, 0.4);
}

.wechat-download-btn.secondary {
  background: #f0f0f0;
  color: #666;
}

.wechat-download-btn.secondary:hover {
  background: #e0e0e0;
}

.wechat-download-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}

.wechat-download-close:hover {
  color: #666;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .wechat-download-content {
    padding: 24px;
  }

  .wechat-download-icon {
    font-size: 48px;
  }

  .wechat-download-title {
    font-size: 1.1rem;
  }

  .wechat-download-desc {
    font-size: 0.9rem;
  }
}
